On Sun, 02 Mar 2008 14:43:31 -0500
Sean MacLennan <[EMAIL PROTECTED]> wrote:

> Josh Boyer wrote:
> > 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.
> >   
> What is the advantage of documenting unwired devices? I ask because the 
> taco does not have emac1 connected. I handle it by not defining emac1 in 
> the dts file.

If it never has the possibility of becoming usable without some kind
of hardware rework, then that's probably best.

> Is it better to document it and disable it? Or is this mainly for 
> reference boards to show that while the PPC supports to emacs, only one 
> is enabled on the reference board?
> 
> i.e. We want reference design boards to show what *could* be done, but 
> production boards to show what *is* done?

Sort of.  A lot of these eval boards have DIP switches that change pins
to various devices.  So for those, we enumerate most things and we can
adjust the status property based on those settings in the
firmware/wrapper.

josh
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to