diff options
author | adrian <adrian@FreeBSD.org> | 2012-06-16 04:41:35 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-06-16 04:41:35 +0000 |
commit | 1e66a452fbe8889b0a4da5eae8e652cde790a336 (patch) | |
tree | 67ffca867344a600c408dcf0c8f3398359018cd5 /sys/dev/ath/if_ath.c | |
parent | 971f393620744f2f909add8ee8e1140304f89c34 (diff) | |
download | FreeBSD-src-1e66a452fbe8889b0a4da5eae8e652cde790a336.zip FreeBSD-src-1e66a452fbe8889b0a4da5eae8e652cde790a336.tar.gz |
Shuffle some more fields in ath_buf so it's not too big.
This shaves off 20 bytes - from 288 bytes to 268 bytes.
However, it's still too big.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r-- | sys/dev/ath/if_ath.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 6a551f0..f2089f4 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -662,6 +662,9 @@ ath_attach(u_int16_t devid, struct ath_softc *sc) (void) ath_hal_settxchainmask(sc->sc_ah, tx_chainmask); } + device_printf(sc->sc_dev, "%s: sizeof(ath_buf) = %d bytes\n", + __func__, sizeof(struct ath_buf)); + #ifdef ATH_ENABLE_11N /* * Query HT capabilities |