Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3050c914 authored by Vasanthakumar Thiagarajan's avatar Vasanthakumar Thiagarajan Committed by John W. Linville
Browse files

ath9k_hw: Enable hw initialization for AR9485



Also make it a supported mac

Signed-off-by: default avatarVasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d9c803e1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ static bool ar9003_hw_macversion_supported(u32 macversion)
{
	switch (macversion) {
	case AR_SREV_VERSION_9300:
	case AR_SREV_VERSION_9485:
		return true;
	default:
		break;
+1 −0
Original line number Diff line number Diff line
@@ -621,6 +621,7 @@ int ath9k_hw_init(struct ath_hw *ah)
	case AR9287_DEVID_PCIE:
	case AR2427_DEVID_PCIE:
	case AR9300_DEVID_PCIE:
	case AR9300_DEVID_AR9485_PCIE:
		break;
	default:
		if (common->bus_ops->ath_bus_type == ATH_USB)
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@
#define AR9287_DEVID_PCI	0x002d
#define AR9287_DEVID_PCIE	0x002e
#define AR9300_DEVID_PCIE	0x0030
#define AR9300_DEVID_AR9485_PCIE 0x0032

#define AR5416_AR9100_DEVID	0x000b