[PATCH] Fix byte-swapped ethernet addr for Asante Fast 10/100 PCI Adapter
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue Dec 23 11:05:58 EST 2003
On Tue, 2003-12-23 at 01:27, Michael Schmitz wrote:
> > Original: 00:00:B5:94:71:86 [INCORRECT]
> > Patched: 00:00:94:B5:86:71 [CORRECT]
> >
> > Is it sufficient to simply check the first two bytes of the mac address
> > to determine this? (This is what the attached patch does. I added a
> > check for the first byte being 0x00 for the Asante card.)
> >
> > Should the first three bytes of the mac address be used intead? (Note
> > that I can only identify 00:A0:CC as one of the Lite-On mac addresses
> > that would be matched by the code segment above. I don't see a 00:C0:**
> > entry for Lite-On in the IEEE database.)
>
> I'd check the first three bytes (after byte swapping :-) - there's plenty
> of other OUIs with the leading two bytes zero.
This is a card with an Open Firmware driver or not ? If it has, then
I'd rather use the OF properties (like name property) to detect this
specific card and flip the MAC
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list