diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-04-21 20:46:44 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-25 02:08:07 -0400 |
commit | be63c09afe9153be6ba4373d1b69848cf2b32268 (patch) | |
tree | 003e21e1bcfb17838009407bb3ac01405bb7c001 /drivers/net/sungem_phy.h | |
parent | 51d4a1cc2e20e2848c6141989f733f0e6548598b (diff) |
ibm_newemac Use status property for unused/unwired EMACs
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.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sungem_phy.h')
0 files changed, 0 insertions, 0 deletions