diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-06-23 14:20:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-23 15:14:07 -0400 |
commit | d0ee0ebe17cbeeccdf1e76e9f048c21f56f41e45 (patch) | |
tree | a45b6b2336a5ac045d93f0135b65173a0833e2d1 /drivers | |
parent | 25ac8b0d06c4b3e26c7c4c18dc5c3fcc40be58a2 (diff) |
ath9k: declare MODULE_FIRMWARE for ath9k_htc
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hif_usb.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c index 74bc80f50292..ad9134bddd1e 100644 --- a/drivers/net/wireless/ath/ath9k/hif_usb.c +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c | |||
@@ -16,6 +16,15 @@ | |||
16 | 16 | ||
17 | #include "htc.h" | 17 | #include "htc.h" |
18 | 18 | ||
19 | /* identify firmware images */ | ||
20 | #define FIRMWARE_AR7010 "ar7010.fw" | ||
21 | #define FIRMWARE_AR7010_1_1 "ar7010_1_1.fw" | ||
22 | #define FIRMWARE_AR9271 "ar9271.fw" | ||
23 | |||
24 | MODULE_FIRMWARE(FIRMWARE_AR7010); | ||
25 | MODULE_FIRMWARE(FIRMWARE_AR7010_1_1); | ||
26 | MODULE_FIRMWARE(FIRMWARE_AR9271); | ||
27 | |||
19 | static struct usb_device_id ath9k_hif_usb_ids[] = { | 28 | static struct usb_device_id ath9k_hif_usb_ids[] = { |
20 | { USB_DEVICE(0x0cf3, 0x9271) }, /* Atheros */ | 29 | { USB_DEVICE(0x0cf3, 0x9271) }, /* Atheros */ |
21 | { USB_DEVICE(0x0cf3, 0x1006) }, /* Atheros */ | 30 | { USB_DEVICE(0x0cf3, 0x1006) }, /* Atheros */ |
@@ -890,12 +899,12 @@ static int ath9k_hif_usb_probe(struct usb_interface *interface, | |||
890 | case 0x7010: | 899 | case 0x7010: |
891 | case 0x9018: | 900 | case 0x9018: |
892 | if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x0202) | 901 | if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x0202) |
893 | hif_dev->fw_name = "ar7010_1_1.fw"; | 902 | hif_dev->fw_name = FIRMWARE_AR7010_1_1; |
894 | else | 903 | else |
895 | hif_dev->fw_name = "ar7010.fw"; | 904 | hif_dev->fw_name = FIRMWARE_AR7010; |
896 | break; | 905 | break; |
897 | default: | 906 | default: |
898 | hif_dev->fw_name = "ar9271.fw"; | 907 | hif_dev->fw_name = FIRMWARE_AR9271; |
899 | break; | 908 | break; |
900 | } | 909 | } |
901 | 910 | ||