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

From
Josh Boyer <hidden>
Date
2008-03-01 23:52:27
Reply to
Benjamin Herrenschmidt, 2008-03-01
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
Thread (21 messages) 21 messages, 10 authors, last reply 2008-03-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help