2018-02-22 17:28:45

by Bas Vermeulen

[permalink] [raw]
Subject: ath9k: AR9287 device with little endian eeprom doesn't work on powerpc

Hi all,

I have slotted a 300 Mbps Wireless N PCI Express Adapter into my
PowerMac G5, and it failed
to initialize the driver with an error complaining about the EEPROM.

I disabled the line reading ah->ah_flags |= AH_NO_EEP_SWAP; in
ath9k_of_init(), and this made my card show up and start working correctly.

Is there a better way of doing this? If not, what would be the best way
to allow byte-swapping the eeprom on big endian machines?

Bas Vermeulen


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.