]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ibm_newemac: Skip EMACs that are marked unused by the firmware
authorHugh Blemings <hugh@blemings.org>
Wed, 5 Dec 2007 00:14:30 +0000 (11:14 +1100)
committerJeff Garzik <jeff@garzik.org>
Fri, 7 Dec 2007 20:09:06 +0000 (15:09 -0500)
commit3d722562d734834282bccd97e0badd213ec311e9
treec3c5c34a002198239160d701e594c3df96cbcd02
parentbff713b562d495658093f1716a80c6ad76920e8b
ibm_newemac: Skip EMACs that are marked unused by the firmware

Depending on how the 44x processors are wired, some EMAC cells
might not be useable (and not connected to a PHY). However, some
device-trees may choose to still expose them (since their registers
are present in the MMIO space) but with an "unused" property in them.

Signed-off-by: Hugh Blemings <hugh@blemings.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ibm_newemac/core.c