Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203279
b: refs/heads/master
c: d0ee0eb
h: refs/heads/master
i:
  203277: 14e8284
  203275: 81e63b7
  203271: cb81b60
  203263: 3bdc877
v: v3
  • Loading branch information
John W. Linville committed Jun 23, 2010
1 parent 5255964 commit b3f216f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 25ac8b0d06c4b3e26c7c4c18dc5c3fcc40be58a2
refs/heads/master: d0ee0ebe17cbeeccdf1e76e9f048c21f56f41e45
15 changes: 12 additions & 3 deletions trunk/drivers/net/wireless/ath/ath9k/hif_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@

#include "htc.h"

/* identify firmware images */
#define FIRMWARE_AR7010 "ar7010.fw"
#define FIRMWARE_AR7010_1_1 "ar7010_1_1.fw"
#define FIRMWARE_AR9271 "ar9271.fw"

MODULE_FIRMWARE(FIRMWARE_AR7010);
MODULE_FIRMWARE(FIRMWARE_AR7010_1_1);
MODULE_FIRMWARE(FIRMWARE_AR9271);

static struct usb_device_id ath9k_hif_usb_ids[] = {
{ USB_DEVICE(0x0cf3, 0x9271) }, /* Atheros */
{ USB_DEVICE(0x0cf3, 0x1006) }, /* Atheros */
Expand Down Expand Up @@ -890,12 +899,12 @@ static int ath9k_hif_usb_probe(struct usb_interface *interface,
case 0x7010:
case 0x9018:
if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x0202)
hif_dev->fw_name = "ar7010_1_1.fw";
hif_dev->fw_name = FIRMWARE_AR7010_1_1;
else
hif_dev->fw_name = "ar7010.fw";
hif_dev->fw_name = FIRMWARE_AR7010;
break;
default:
hif_dev->fw_name = "ar9271.fw";
hif_dev->fw_name = FIRMWARE_AR9271;
break;
}

Expand Down

0 comments on commit b3f216f

Please sign in to comment.