2
0

513-ath9k_add_pci_ids.patch 932 B

123456789101112131415161718192021222324252627282930
  1. --- a/drivers/net/wireless/ath/ath9k/hw.c
  2. +++ b/drivers/net/wireless/ath/ath9k/hw.c
  3. @@ -647,6 +647,7 @@ int ath9k_hw_init(struct ath_hw *ah)
  4. /* These are all the AR5008/AR9001/AR9002/AR9003 hardware family of chipsets */
  5. switch (ah->hw_version.devid) {
  6. + case AR9300_DEVID_INVALID:
  7. case AR5416_DEVID_PCI:
  8. case AR5416_DEVID_PCIE:
  9. case AR5416_AR9100_DEVID:
  10. --- a/drivers/net/wireless/ath/ath9k/hw.h
  11. +++ b/drivers/net/wireless/ath/ath9k/hw.h
  12. @@ -36,6 +36,7 @@
  13. #define ATHEROS_VENDOR_ID 0x168c
  14. +#define AR9300_DEVID_INVALID 0xabcd
  15. #define AR5416_DEVID_PCI 0x0023
  16. #define AR5416_DEVID_PCIE 0x0024
  17. #define AR9160_DEVID_PCI 0x0027
  18. --- a/drivers/net/wireless/ath/ath9k/pci.c
  19. +++ b/drivers/net/wireless/ath/ath9k/pci.c
  20. @@ -763,6 +763,7 @@ static const struct pci_device_id ath_pc
  21. .driver_data = ATH9K_PCI_BT_ANT_DIV },
  22. #endif
  23. + { PCI_VDEVICE(ATHEROS, 0xabcd) }, /* PCI-E internal chip default ID */
  24. { 0 }
  25. };