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

Adrian Chadd adrian at FreeBSD.org
Fri Apr 19 07:56:23 UTC 2013


Author: adrian
Date: Fri Apr 19 07:56:22 2013
New Revision: 249640
URL: http://svnweb.freebsd.org/changeset/base/249640

Log:
  Print out the chainmask configuration.

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

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Fri Apr 19 06:59:10 2013	(r249639)
+++ head/sys/dev/ath/if_ath.c	Fri Apr 19 07:56:22 2013	(r249640)
@@ -781,6 +781,11 @@ ath_attach(u_int16_t devid, struct ath_s
 		ath_hal_getrxchainmask(ah, &sc->sc_rxchainmask);
 		ath_hal_gettxchainmask(ah, &sc->sc_txchainmask);
 
+		device_printf(sc->sc_dev, "Chainmasks: TX=0x%x; RX=0x%x\n",
+		    __func__,
+		    sc->sc_txchainmask,
+		    sc->sc_rxchainmask);
+
 		ic->ic_txstream = txs;
 		ic->ic_rxstream = rxs;
 


More information about the svn-src-head mailing list