mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
249c396583
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37918
31 lines
1010 B
Diff
31 lines
1010 B
Diff
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
|
@@ -728,6 +728,7 @@ int ath9k_hw_init(struct ath_hw *ah)
|
|
case AR9300_DEVID_AR9462:
|
|
case AR9485_DEVID_AR1111:
|
|
case AR9300_DEVID_AR9565:
|
|
+ case AR9300_DEVID_AR9381:
|
|
break;
|
|
default:
|
|
if (common->bus_ops->ath_bus_type == ATH_USB)
|
|
--- a/drivers/net/wireless/ath/ath9k/hw.h
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.h
|
|
@@ -52,6 +52,7 @@
|
|
#define AR9300_DEVID_QCA955X 0x0038
|
|
#define AR9485_DEVID_AR1111 0x0037
|
|
#define AR9300_DEVID_AR9565 0x0036
|
|
+#define AR9300_DEVID_AR9381 0xabcd
|
|
|
|
#define AR5416_AR9100_DEVID 0x000b
|
|
|
|
--- a/drivers/net/wireless/ath/ath9k/pci.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/pci.c
|
|
@@ -270,6 +270,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_i
|
|
{ PCI_VDEVICE(ATHEROS, 0x0034) }, /* PCI-E AR9462 */
|
|
{ PCI_VDEVICE(ATHEROS, 0x0037) }, /* PCI-E AR1111/AR9485 */
|
|
{ PCI_VDEVICE(ATHEROS, 0x0036) }, /* PCI-E AR9565 */
|
|
+ { PCI_VDEVICE(ATHEROS, 0xabcd) }, /* PCI-E AR9381 */
|
|
{ 0 }
|
|
};
|
|
|