Re: [ath9k-devel] [RFC] ath9k: Simplify and fix eeprom endianness swapping

2015-10-25 Thread Martin Blumenstingl
On Thu, Oct 15, 2015 at 12:33 AM, Martin Blumenstingl wrote: > I have tested my patch on a single AR9227 device and there it's > working fine. It would be great if more people would give this a go > before merging this patch. I have just tested it on a second

[ath9k-devel] [RFC] ath9k: Simplify and fix eeprom endianness swapping

2015-10-14 Thread Martin Blumenstingl
ath9k has some code which is supposed to adjust the endianness of the eeprom's contents in case it does not match the CPU endianness. However, it seems that this code was only working properly for chips that used eeprom_def. I personally have a device with an AR9227 chipset which uses an eeprom