diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-10-09 14:33:32 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:20 -0400 |
commit | 88499ab3d8dbbf9c080416952603742666c71262 (patch) | |
tree | c44aac76081a87af616f98dc8a9eb89b4610eab3 /drivers/net/wireless/b43/b43.h | |
parent | 2c759e03b3b7639fff23ec3b7bab64a35ca0914f (diff) |
b43: Optimize PIO scratchbuffer usage
This optimizes the PIO scratchbuffer usage.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index 660716214d49..65b23f725a04 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -749,12 +749,6 @@ struct b43_wldev { | |||
749 | #endif | 749 | #endif |
750 | }; | 750 | }; |
751 | 751 | ||
752 | /* | ||
753 | * Include goes here to avoid a dependency problem. | ||
754 | * A better fix would be to integrate xmit.h into b43.h. | ||
755 | */ | ||
756 | #include "xmit.h" | ||
757 | |||
758 | /* Data structure for the WLAN parts (802.11 cores) of the b43 chip. */ | 752 | /* Data structure for the WLAN parts (802.11 cores) of the b43 chip. */ |
759 | struct b43_wl { | 753 | struct b43_wl { |
760 | /* Pointer to the active wireless device on this chip */ | 754 | /* Pointer to the active wireless device on this chip */ |
@@ -830,13 +824,9 @@ struct b43_wl { | |||
830 | struct b43_leds leds; | 824 | struct b43_leds leds; |
831 | 825 | ||
832 | #ifdef CONFIG_B43_PIO | 826 | #ifdef CONFIG_B43_PIO |
833 | /* | 827 | /* Kmalloc'ed scratch space for PIO TX/RX. Protected by wl->mutex. */ |
834 | * RX/TX header/tail buffers used by the frame transmit functions. | 828 | u8 pio_scratchspace[110] __attribute__((__aligned__(8))); |
835 | */ | 829 | u8 pio_tailspace[4] __attribute__((__aligned__(8))); |
836 | struct b43_rxhdr_fw4 rxhdr; | ||
837 | struct b43_txhdr txhdr; | ||
838 | u8 rx_tail[4]; | ||
839 | u8 tx_tail[4]; | ||
840 | #endif /* CONFIG_B43_PIO */ | 830 | #endif /* CONFIG_B43_PIO */ |
841 | }; | 831 | }; |
842 | 832 | ||