From 1e66a452fbe8889b0a4da5eae8e652cde790a336 Mon Sep 17 00:00:00 2001 From: adrian Date: Sat, 16 Jun 2012 04:41:35 +0000 Subject: 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. --- sys/dev/ath/if_ath.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/ath/if_ath.c') 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 -- cgit v1.1