EMAC OF binding....
Benjamin Herrenschmidt
benh at au1.ibm.com
Wed Jan 10 08:45:57 EST 2007
> You give the phandle of your emac node as argument, that
> works just fine with what I proposed too (the SoC PM node
> knows the phandles of the emac's). I think your way isn't
> all that clean architecturally and can easily lead to
> problems later on; the emac shouldn't have to know *anything*
> about the structure of the SoC.
>
> But feel free to do what you want, it's certainly not
> a *huge* problem ;-)
Well, we use that method for most things,for example, the emac has
phandles to the zmii/rgmii/etc... for that specific case however, I
still prefer a cell index.
Ben.
More information about the Linuxppc-dev
mailing list