mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ath9k: make endian check optional
Turns out it triggers on some AR71xx devices where no swapping should be done. Enable endian check for the lantiq target. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31084 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -29,6 +29,7 @@ struct ath9k_platform_data {
|
||||
u32 gpio_mask;
|
||||
u32 gpio_val;
|
||||
|
||||
bool endian_check;
|
||||
bool is_clk_25mhz;
|
||||
int (*get_mac_revision)(void);
|
||||
int (*external_reset)(void);
|
||||
|
||||
@@ -19,6 +19,7 @@ extern int (*ltqpci_plat_dev_init)(struct pci_dev *dev);
|
||||
struct ath5k_platform_data ath5k_pdata;
|
||||
struct ath9k_platform_data ath9k_pdata = {
|
||||
.led_pin = -1,
|
||||
.endian_check = true,
|
||||
};
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user