Date: Thu, 15 Dec 2011 00:55:27 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r228516 - head/sys/dev/ath Message-ID: <201112150055.pBF0tRIo022226@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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++) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112150055.pBF0tRIo022226>