ath9k: enable support for AR9100
authorGabor Juhos <juhosg@openwrt.org>
Wed, 14 Jan 2009 19:17:12 +0000 (20:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:35 +0000 (16:00 -0500)
Because we have support for the AR9100 devices now, we can enable them.

Changes-licensed-under: ISC

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Tested-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/hw.c

index ed731b9cac85f2486c9da394d319b4bc2e5fde89..88c8a62e1b8a9906c43269cd7f7b856acddb08cc 100644 (file)
@@ -377,6 +377,8 @@ static const char *ath9k_hw_devname(u16 devid)
                return "Atheros 5418";
        case AR9160_DEVID_PCI:
                return "Atheros 9160";
+       case AR5416_AR9100_DEVID:
+               return "Atheros 9100";
        case AR9280_DEVID_PCI:
        case AR9280_DEVID_PCIE:
                return "Atheros 9280";
@@ -1179,6 +1181,7 @@ struct ath_hal *ath9k_hw_attach(u16 devid, struct ath_softc *sc,
        switch (devid) {
        case AR5416_DEVID_PCI:
        case AR5416_DEVID_PCIE:
+       case AR5416_AR9100_DEVID:
        case AR9160_DEVID_PCI:
        case AR9280_DEVID_PCI:
        case AR9280_DEVID_PCIE: