Print out the radio RF version at startup, so I can better see which

RF frontend versions people have when they submit problem reports.

Sponsored by:	Hobnob, Inc.
This commit is contained in:
Adrian Chadd 2011-12-15 00:55:27 +00:00
parent 7f4245c1b3
commit 46a924c4c8

View File

@ -6218,6 +6218,8 @@ ath_announce(struct ath_softc *sc)
if_printf(ifp, "AR%s mac %d.%d RF%s phy %d.%d\n",
ath_hal_mac_name(ah), ah->ah_macVersion, ah->ah_macRev,
ath_hal_rf_name(ah), ah->ah_phyRev >> 4, ah->ah_phyRev & 0xf);
if_printf(ifp, "2GHz radio: 0x%.4x; 5GHz radio: 0x%.4x\n",
ah->ah_analog2GhzRev, ah->ah_analog5GhzRev);
if (bootverbose) {
int i;
for (i = 0; i <= WME_AC_VO; i++) {