Thread (8 messages) 8 messages, 3 authors, 2008-11-19

Re: [PATCH] mpc832x_rdb: fix swapped ethernet ids

flat view

From: David Gibson <hidden>
Date: 2008-11-18 00:17:40

On Mon, Nov 17, 2008 at 11:28:52AM -0500, Michael Barkowski wrote:
David Gibson wrote:
quoted
On Fri, Nov 14, 2008 at 10:16:19AM -0500, Michael Barkowski wrote:
quoted
David Gibson wrote:
quoted
On Thu, Nov 13, 2008 at 10:18:28AM -0500, Michael Barkowski wrote:
quoted
ethernet0 (called FSL UEC0 in U-Boot) should be enet1 (UCC3/eth1), and
ethernet1 should be enet0 (UCC2/eth0), to be consistent with U-Boot so
that the interfaces do not swap addresses when control passes from
U-Boot to the kernel.
Um.. why is just swapping the aliases, rather than the enet labels the
right approach here?
Kim suggested it was better to localize the port ordering as a
property of the board rather than that of the QE, and I agreed.
And the enet0/enet1 names that appear in the labels come from the QE
documentation?
No.. but don't you think the UCC2, UCC3 names, which *do* come from
the QE documentation, should match their labels in numeric ordering?
Aren't the aliases just machine-specific shortcuts for the
bootloader?
Ok, that's reasonable (although personally I would have thought it
would make more sense for the labels to be based on the documentation
terms, so UCC2, UCC3 etc., as we do on 4xx).

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help