2013-07-30 03:44:05 +08:00
|
|
|
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
2013-12-20 01:18:07 +08:00
|
|
|
@@ -682,6 +682,7 @@ int ath9k_hw_init(struct ath_hw *ah)
|
2013-07-26 04:28:45 +08:00
|
|
|
case AR9300_DEVID_AR9462:
|
|
|
|
case AR9485_DEVID_AR1111:
|
|
|
|
case AR9300_DEVID_AR9565:
|
2013-11-13 06:11:33 +08:00
|
|
|
+ case AR9300_DEVID_INVALID:
|
2013-07-26 04:28:45 +08:00
|
|
|
break;
|
|
|
|
default:
|
|
|
|
if (common->bus_ops->ath_bus_type == ATH_USB)
|
2013-07-30 03:44:05 +08:00
|
|
|
--- a/drivers/net/wireless/ath/ath9k/hw.h
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.h
|
2013-07-26 04:28:45 +08:00
|
|
|
@@ -52,6 +52,7 @@
|
|
|
|
#define AR9300_DEVID_QCA955X 0x0038
|
|
|
|
#define AR9485_DEVID_AR1111 0x0037
|
|
|
|
#define AR9300_DEVID_AR9565 0x0036
|
2013-11-13 06:11:33 +08:00
|
|
|
+#define AR9300_DEVID_INVALID 0xabcd
|
2013-07-26 04:28:45 +08:00
|
|
|
|
|
|
|
#define AR5416_AR9100_DEVID 0x000b
|
|
|
|
|
2013-07-30 03:44:05 +08:00
|
|
|
--- a/drivers/net/wireless/ath/ath9k/pci.c
|
|
|
|
+++ b/drivers/net/wireless/ath/ath9k/pci.c
|
2013-11-27 18:56:05 +08:00
|
|
|
@@ -550,6 +550,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath_pci_i
|
2013-11-13 06:11:33 +08:00
|
|
|
{ PCI_VDEVICE(ATHEROS, 0x0036),
|
|
|
|
.driver_data = ATH9K_PCI_BT_ANT_DIV },
|
|
|
|
|
|
|
|
+ { PCI_VDEVICE(ATHEROS, 0xabcd) }, /* PCI-E internal chip default ID */
|
2013-07-26 04:28:45 +08:00
|
|
|
{ 0 }
|
|
|
|
};
|
|
|
|
|