On Sun, 02 Mar 2008 08:33:15 +1100
Benjamin Herrenschmidt [off-list ref] wrote:
On Sat, 2008-03-01 at 08:41 -0600, Josh Boyer wrote:
quoted
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 <redacted>
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.
josh