[package] mac80211: update ath9k patches
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 411-ath9k-enable-support-for-AR9100.patch
1 From 40f16a1776f223eee7eeb00860e8215e7ce33a98 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Mon, 5 Jan 2009 11:10:28 +0100
4 Subject: [PATCH v3 11/11] ath9k: enable support for AR9100
5
6 Because we have support for the AR9100 devices now, we can enable them.
7
8 Changes-licensed-under: ISC
9
10 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
11 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
12 ---
13 drivers/net/wireless/ath9k/hw.c | 3 +++
14 1 files changed, 3 insertions(+), 0 deletions(-)
15
16 --- a/drivers/net/wireless/ath9k/hw.c
17 +++ b/drivers/net/wireless/ath9k/hw.c
18 @@ -373,6 +373,8 @@ static const char *ath9k_hw_devname(u16
19 return "Atheros 5418";
20 case AR9160_DEVID_PCI:
21 return "Atheros 9160";
22 + case AR5416_AR9100_DEVID:
23 + return "Atheros 9100";
24 case AR9280_DEVID_PCI:
25 case AR9280_DEVID_PCIE:
26 return "Atheros 9280";
27 @@ -1176,6 +1178,7 @@ struct ath_hal *ath9k_hw_attach(u16 devi
28 switch (devid) {
29 case AR5416_DEVID_PCI:
30 case AR5416_DEVID_PCIE:
31 + case AR5416_AR9100_DEVID:
32 case AR9160_DEVID_PCI:
33 case AR9280_DEVID_PCI:
34 case AR9280_DEVID_PCIE: