[ath_hal] use the correct revision information for QCA953x.

This probe/attaches correctly in my local branch and now displays
a useful message:

ath0: <Qualcomm Atheros QCA953x> at mem 0x18100000-0x1811ffff irq 0 on nexus0
...
ath0: AR9530 mac 1280.0 RF5110 phy 0.0
This commit is contained in:
Adrian Chadd 2015-11-28 06:50:09 +00:00
parent 1b34d2614e
commit 2c9b30a91f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291418
2 changed files with 2 additions and 4 deletions

View File

@ -145,10 +145,7 @@ ath_hal_mac_name(struct ath_hal *ah)
case AR_SREV_VERSION_QCA9565:
/* XXX should say QCA, not AR */
return "9565";
case AR9300_DEVID_QCA955X:
/* XXX should say QCA, not AR */
return "9550";
case AR9300_DEVID_QCA953X:
case AR_SREV_VERSION_QCA9530:
/* XXX should say QCA, not AR */
return "9530";
}

View File

@ -54,6 +54,7 @@
#define AR_SREV_VERSION_AR9340 0x300
#define AR_SREV_VERSION_QCA9550 0x400
#define AR_SREV_VERSION_AR9485 0x240
#define AR_SREV_VERSION_QCA9530 0x500
#define AR_SREV_REVISION_AR9380_10 0 /* AR9380 1.0 */
#define AR_SREV_REVISION_AR9380_20 2 /* AR9380 2.0/2.1 */