[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] Sparc32/PPC: convert escc to qdev
From: |
Juan Quintela |
Subject: |
[Qemu-devel] Re: [PATCH] Sparc32/PPC: convert escc to qdev |
Date: |
Wed, 15 Jul 2009 00:03:42 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Blue Swirl <address@hidden> wrote:
> On 7/14/09, Juan Quintela <address@hidden> wrote:
>> Blue Swirl <address@hidden> wrote:
I didn't explain myself enough, I guess.
>> > + qdev_set_prop_int(dev, "frequency", clock);
^^^^^^^^^
....
>> > + clock = qdev_get_prop_int(&dev->qdev, "clock", 0);
^^^^^
You are setting a property named "frequency" and read a property named
"clock" :) I just asked to use the same property in both places.
Later, Juan.