commit | ffdc4cbe5b17c83af779f45de8536c6ece297e42 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Tue May 11 17:23:03 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed May 12 16:39:07 2010 -0400 |
tree | 07de5a7693a1b76fbd1f213e2a472ac346b82182 | |
parent | 9bff0bc4012c7f079b297eb45b47780e3713f367 [diff] |
ath9k_hw: clean up EEPROM endian handling on AR9003 Remove the double swapping of the descriptor data structure, instead keep it little-endian (native format of the eeprom data), and byteswap on access. This allows sparse to verify endian access to the eeprom struct. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>