diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-12-30 21:41:59 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-03 15:37:00 -0500 |
commit | e6b1e46eb25c240f7ac462efce6ae7aad90e5b7a (patch) | |
tree | 06110a468571fbea948447dfb1a55fcfbb1b5416 /drivers/net/wireless/ath/ath9k/hw.c | |
parent | f5ee2b18e44d8752ea6e6fba978a873ed5f562bd (diff) |
ath9k: Assign macVersion for QCA9531
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index fc961faccaa9..c3e72728aa41 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -245,6 +245,9 @@ static void ath9k_hw_read_revisions(struct ath_hw *ah) | |||
245 | case AR9300_DEVID_QCA955X: | 245 | case AR9300_DEVID_QCA955X: |
246 | ah->hw_version.macVersion = AR_SREV_VERSION_9550; | 246 | ah->hw_version.macVersion = AR_SREV_VERSION_9550; |
247 | return; | 247 | return; |
248 | case AR9300_DEVID_AR953X: | ||
249 | ah->hw_version.macVersion = AR_SREV_VERSION_9531; | ||
250 | return; | ||
248 | } | 251 | } |
249 | 252 | ||
250 | val = REG_READ(ah, AR_SREV) & AR_SREV_ID; | 253 | val = REG_READ(ah, AR_SREV) & AR_SREV_ID; |
@@ -518,6 +521,7 @@ static int __ath9k_hw_init(struct ath_hw *ah) | |||
518 | case AR_SREV_VERSION_9462: | 521 | case AR_SREV_VERSION_9462: |
519 | case AR_SREV_VERSION_9550: | 522 | case AR_SREV_VERSION_9550: |
520 | case AR_SREV_VERSION_9565: | 523 | case AR_SREV_VERSION_9565: |
524 | case AR_SREV_VERSION_9531: | ||
521 | break; | 525 | break; |
522 | default: | 526 | default: |
523 | ath_err(common, | 527 | ath_err(common, |
@@ -617,6 +621,7 @@ int ath9k_hw_init(struct ath_hw *ah) | |||
617 | case AR9300_DEVID_AR9462: | 621 | case AR9300_DEVID_AR9462: |
618 | case AR9485_DEVID_AR1111: | 622 | case AR9485_DEVID_AR1111: |
619 | case AR9300_DEVID_AR9565: | 623 | case AR9300_DEVID_AR9565: |
624 | case AR9300_DEVID_AR953X: | ||
620 | break; | 625 | break; |
621 | default: | 626 | default: |
622 | if (common->bus_ops->ath_bus_type == ATH_USB) | 627 | if (common->bus_ops->ath_bus_type == ATH_USB) |