diff options
author | adrian <adrian@FreeBSD.org> | 2013-04-19 07:56:22 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-04-19 07:56:22 +0000 |
commit | 1bfefbcd6614852f5175e85b6c98e487d5c92c13 (patch) | |
tree | 92629f87de2f864b77c7339419a915de36720caa /sys/dev/ath/if_ath.c | |
parent | 420de95094a4e8e0da9c8e21fb4a4ed78c49bf04 (diff) | |
download | FreeBSD-src-1bfefbcd6614852f5175e85b6c98e487d5c92c13.zip FreeBSD-src-1bfefbcd6614852f5175e85b6c98e487d5c92c13.tar.gz |
Print out the chainmask configuration.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r-- | sys/dev/ath/if_ath.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 2ff1d1c..3a6ae8e 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -781,6 +781,11 @@ ath_attach(u_int16_t devid, struct ath_softc *sc) 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; |