[PATCH 3/2][NEWEMAC] Use status property for unused/unwired EMACs

Josh Boyer jwboyer at linux.vnet.ibm.com
Sun Mar 2 10:50:14 EST 2008

On Sun, 02 Mar 2008 08:33:15 +1100
Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:

> On Sat, 2008-03-01 at 08:41 -0600, Josh Boyer wrote:
> > Convert ibm_newemac to use the of_device_is_available function when checking
> > for unused/unwired EMACs.  We leave the current check for an "unused" property
> > to maintain backwards compatibility for older device trees.  Newer device
> > trees should simply use the standard "status" property in the EMAC node.
> > 
> > The taishan DTS file is updated to reflect this.
> > 
> > Signed-off-by: Josh Boyer <jwboyer at linux.vnet.ibm.com>
> I don't think any other DTS than Taishan uses "unused" so we may be able
> to get rid of that backward compat check. I think the Cell DT just
> ommits EMACs when they are unused.

I wasn't sure on that aspect and I can't check until next week.  If you
can verify before I do, let me know.  I'll remove the "unused" check
assuming the of_device_is_available patch goes in and the Axon DT
doesn't use it.


More information about the Linuxppc-dev mailing list