diff options
author | Michael Buesch <mbuesch@freenet.de> | 2006-03-12 13:44:29 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-27 11:19:36 -0500 |
commit | 73733847beead47dc31b1f8e1532e5eea9f8ddd3 (patch) | |
tree | 6c1c9f05d1ca6a7053151e2104f7d825b26e4ffc /drivers/net/wireless/bcm43xx/bcm43xx_dma.h | |
parent | 7ce942d0ff5df145831631f4df391c7207e676bb (diff) |
[PATCH] bcm43xx: fix some stuff, add a few missing mmiowb(), remove dead code.
This may workaround the XMIT ERRORs some people are getting.
Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_dma.h')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_dma.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_dma.h b/drivers/net/wireless/bcm43xx/bcm43xx_dma.h index cab8e2ba4c7e..c07e34689be1 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_dma.h +++ b/drivers/net/wireless/bcm43xx/bcm43xx_dma.h | |||
@@ -9,27 +9,10 @@ | |||
9 | 9 | ||
10 | 10 | ||
11 | /* DMA-Interrupt reasons. */ | 11 | /* DMA-Interrupt reasons. */ |
12 | /*TODO: add the missing ones. */ | 12 | #define BCM43xx_DMAIRQ_FATALMASK ((1 << 10) | (1 << 11) | (1 << 12) \ |
13 | #define BCM43xx_DMAIRQ_ERR0 (1 << 10) | 13 | | (1 << 14) | (1 << 15)) |
14 | #define BCM43xx_DMAIRQ_ERR1 (1 << 11) | 14 | #define BCM43xx_DMAIRQ_NONFATALMASK (1 << 13) |
15 | #define BCM43xx_DMAIRQ_ERR2 (1 << 12) | ||
16 | #define BCM43xx_DMAIRQ_ERR3 (1 << 13) | ||
17 | #define BCM43xx_DMAIRQ_ERR4 (1 << 14) | ||
18 | #define BCM43xx_DMAIRQ_ERR5 (1 << 15) | ||
19 | #define BCM43xx_DMAIRQ_RX_DONE (1 << 16) | 15 | #define BCM43xx_DMAIRQ_RX_DONE (1 << 16) |
20 | /* helpers */ | ||
21 | #define BCM43xx_DMAIRQ_ANYERR (BCM43xx_DMAIRQ_ERR0 | \ | ||
22 | BCM43xx_DMAIRQ_ERR1 | \ | ||
23 | BCM43xx_DMAIRQ_ERR2 | \ | ||
24 | BCM43xx_DMAIRQ_ERR3 | \ | ||
25 | BCM43xx_DMAIRQ_ERR4 | \ | ||
26 | BCM43xx_DMAIRQ_ERR5) | ||
27 | #define BCM43xx_DMAIRQ_FATALERR (BCM43xx_DMAIRQ_ERR0 | \ | ||
28 | BCM43xx_DMAIRQ_ERR1 | \ | ||
29 | BCM43xx_DMAIRQ_ERR2 | \ | ||
30 | BCM43xx_DMAIRQ_ERR4 | \ | ||
31 | BCM43xx_DMAIRQ_ERR5) | ||
32 | #define BCM43xx_DMAIRQ_NONFATALERR BCM43xx_DMAIRQ_ERR3 | ||
33 | 16 | ||
34 | /* DMA controller register offsets. (relative to BCM43xx_DMA#_BASE) */ | 17 | /* DMA controller register offsets. (relative to BCM43xx_DMA#_BASE) */ |
35 | #define BCM43xx_DMA_TX_CONTROL 0x00 | 18 | #define BCM43xx_DMA_TX_CONTROL 0x00 |