[PATCH v3 3/4] powerpc/85xx: Move gianfar mdio nodes under the ethernet nodes
Anton Vorontsov
avorontsov at ru.mvista.com
Thu Mar 19 07:23:44 EST 2009
On Wed, Mar 18, 2009 at 03:05:51PM -0500, Scott Wood wrote:
> Anton Vorontsov wrote:
>> Currently it doesn't matter where the mdio nodes are placed, but with
>> power management support (i.e. when sleep = <> properties will take
>> effect), mdio nodes placement will become important: mdio controller
>> is a part of the ethernet block, so the mdio nodes should be placed
>> correctly. Otherwise we may wrongly assume that MDIO controllers are
>> available during sleep.
>>
>> NOTE: mpc8572ds_camp_core1.dts now fully specifies ethernet at 24000
>> layout. ethernet at 24000 node is disabled via status = "disabled on
>> core1" property.
>
> Hmm, would that imply that the mdio underneath it is disabled as well?
Technically, yes. In practice, MDIO and MAC drivers are probed
separately.
I don't see any better solution, should I just leave the core1's
mdio node intact?
> And are we just ignoring the possibility of races between multiple
> partitions accessing the shared mdio block?
Dunno. From simply looking into the device tree, I'd assume
the same.
Thanks,
--
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2
More information about the Linuxppc-dev
mailing list