svn commit: r228516 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Thu Dec 15 00:55:28 UTC 2011


Author: adrian
Date: Thu Dec 15 00:55:27 2011
New Revision: 228516
URL: http://svn.freebsd.org/changeset/base/228516

Log:
  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.

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Thu Dec 15 00:54:11 2011	(r228515)
+++ head/sys/dev/ath/if_ath.c	Thu Dec 15 00:55:27 2011	(r228516)
@@ -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++) {


More information about the svn-src-head mailing list