aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/dma.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-12-26 08:41:30 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:09:17 -0500
commit03b29773b613f10d2f97dbf0983f1c4c58507967 (patch)
treece1ca3fd9a8ae572e20a629976152f4e1a6c4f7b /drivers/net/wireless/b43/dma.h
parent993e1c780b323736a2cdc24564f35e80ce8d3337 (diff)
b43: Remove PIO support
Remove b43 PIO support. DMA works well on all supported devices. There's no reason to use PIO. Additionally, new devices don't support PIO in hardware anymore. b43 PIO support is dead and unused code. After applying this patch please do git rm drivers/net/wireless/b43/pio.h git rm drivers/net/wireless/b43/pio.c to remove the main PIO support code. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/dma.h')
-rw-r--r--drivers/net/wireless/b43/dma.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/drivers/net/wireless/b43/dma.h b/drivers/net/wireless/b43/dma.h
index 3eed185be725..58db03ac536e 100644
--- a/drivers/net/wireless/b43/dma.h
+++ b/drivers/net/wireless/b43/dma.h
@@ -170,8 +170,6 @@ struct b43_dmadesc_generic {
170#define B43_DMA0_RX_BUFFERSIZE (2304 + 100) 170#define B43_DMA0_RX_BUFFERSIZE (2304 + 100)
171#define B43_DMA3_RX_BUFFERSIZE 16 171#define B43_DMA3_RX_BUFFERSIZE 16
172 172
173#ifdef CONFIG_B43_DMA
174
175struct sk_buff; 173struct sk_buff;
176struct b43_private; 174struct b43_private;
177struct b43_txstatus; 175struct b43_txstatus;
@@ -286,52 +284,4 @@ void b43_dma_handle_txstatus(struct b43_wldev *dev,
286 284
287void b43_dma_rx(struct b43_dmaring *ring); 285void b43_dma_rx(struct b43_dmaring *ring);
288 286
289#else /* CONFIG_B43_DMA */
290
291static inline int b43_dma_init(struct b43_wldev *dev)
292{
293 return 0;
294}
295static inline void b43_dma_free(struct b43_wldev *dev)
296{
297}
298static inline
299 int b43_dmacontroller_rx_reset(struct b43_wldev *dev,
300 u16 dmacontroller_mmio_base, int dma64)
301{
302 return 0;
303}
304static inline
305 int b43_dmacontroller_tx_reset(struct b43_wldev *dev,
306 u16 dmacontroller_mmio_base, int dma64)
307{
308 return 0;
309}
310static inline
311 void b43_dma_get_tx_stats(struct b43_wldev *dev,
312 struct ieee80211_tx_queue_stats *stats)
313{
314}
315static inline
316 int b43_dma_tx(struct b43_wldev *dev,
317 struct sk_buff *skb, struct ieee80211_tx_control *ctl)
318{
319 return 0;
320}
321static inline
322 void b43_dma_handle_txstatus(struct b43_wldev *dev,
323 const struct b43_txstatus *status)
324{
325}
326static inline void b43_dma_rx(struct b43_dmaring *ring)
327{
328}
329static inline void b43_dma_tx_suspend(struct b43_wldev *dev)
330{
331}
332static inline void b43_dma_tx_resume(struct b43_wldev *dev)
333{
334}
335
336#endif /* CONFIG_B43_DMA */
337#endif /* B43_DMA_H_ */ 287#endif /* B43_DMA_H_ */