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

Jeff Garzik jgarzik at pobox.com
Sun Jan 25 12:48:32 EST 2004


Geert Uytterhoeven wrote:
> On Tue, 23 Dec 2003, Michael Schmitz wrote:
>>I'm not sure - the card having an OF driver might mean it's a Mac card,
>>needing byte swapping, whereas a card with no OF driver would be a PC
>>card, needing no byte swap. Or vice versa. Asante probably never built PC
>>specific ethernet cards so the PCI vendor/device property could be used
>>instead of OF data. OF data is just easier to get at :-)
>
>
> Really? I'd say it's easier to look at the struct pci_dev the Tulip driver
> already looks at. Besides, someone may want to try that card in a non-PowerMac,
> while still having the correct MAC address.


Agreed.

	Jeff


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





More information about the Linuxppc-dev mailing list