aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/dma.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-08-14 14:16:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-24 14:41:41 -0400
commit0cc9772a6bd8002aaf7583194098e92481d9c7f1 (patch)
tree4eb6f9e26ec65218aaed7b868f3235cd20c6c724 /drivers/net/wireless/b43/dma.h
parent04023afcce2eaff4f66d19ca21b106512fffabe7 (diff)
b43: fix DMA on some bugged hardware
Some hardware with 64-bit DMA uses lower address word for setting routing (translation) bit. Add workaround for such boards. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/dma.h b/drivers/net/wireless/b43/dma.h
index 546d19cbf5d5..7e20b04fa51a 100644
--- a/drivers/net/wireless/b43/dma.h
+++ b/drivers/net/wireless/b43/dma.h
@@ -215,6 +215,12 @@ enum b43_dmatype {
215 B43_DMA_64BIT = 64, 215 B43_DMA_64BIT = 64,
216}; 216};
217 217
218enum b43_addrtype {
219 B43_DMA_ADDR_LOW,
220 B43_DMA_ADDR_HIGH,
221 B43_DMA_ADDR_EXT,
222};
223
218struct b43_dmaring { 224struct b43_dmaring {
219 /* Lowlevel DMA ops. */ 225 /* Lowlevel DMA ops. */
220 const struct b43_dma_ops *ops; 226 const struct b43_dma_ops *ops;