ath9k: add support for endian swap of eeprom from platform data
On some devices (especially little-endian ones), the flash EEPROM data has a different endian, which needs to be detected. Add a flag to the platform data to allow overriding that behavior Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
7b89fccf15
commit
a59dadbeea
4 changed files with 14 additions and 21 deletions
|
|
@ -31,6 +31,7 @@ struct ath9k_platform_data {
|
|||
u32 gpio_mask;
|
||||
u32 gpio_val;
|
||||
|
||||
bool endian_check;
|
||||
bool is_clk_25mhz;
|
||||
bool tx_gain_buffalo;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue