[PATCH] Fix byte-swapped ethernet addr for Asante Fast 10/100 PCI Adapter

Michael Schmitz schmitz at opal.biophys.uni-duesseldorf.de
Tue Dec 23 01:27:28 EST 2003


>   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.

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list