summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-12-15 00:55:27 +0000
committeradrian <adrian@FreeBSD.org>2011-12-15 00:55:27 +0000
commit1d2f1def3e32a9ab9807583ec39077e998c74db0 (patch)
tree4f282852b70bc073dafcc7cf05de99dbc1ce018b /sys/dev/ath/if_ath.c
parentcdcb2e87c5bd080d8001a2f604f16d5d03bc174c (diff)
downloadFreeBSD-src-1d2f1def3e32a9ab9807583ec39077e998c74db0.zip
FreeBSD-src-1d2f1def3e32a9ab9807583ec39077e998c74db0.tar.gz
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.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 2f7cf79..dbd5972 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -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++) {
OpenPOWER on IntegriCloud