From: Josh Boyer Date: Tue, 22 Apr 2008 00:46:44 +0000 (+1000) Subject: ibm_newemac Use status property for unused/unwired EMACs X-Git-Tag: v2.6.26-rc1~1067^2~1^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be63c09afe9153be6ba4373d1b69848cf2b32268;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed