summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/dma.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-08-14 20:16:37 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-08-24 14:41:41 -0400
commit0cc9772a6bd8002aaf7583194098e92481d9c7f1 (patch)
tree4eb6f9e26ec65218aaed7b868f3235cd20c6c724 /drivers/net/wireless/b43/dma.h
parent04023afcce2eaff4f66d19ca21b106512fffabe7 (diff)
downloadlinux-3.10-0cc9772a6bd8002aaf7583194098e92481d9c7f1.tar.gz
linux-3.10-0cc9772a6bd8002aaf7583194098e92481d9c7f1.tar.bz2
linux-3.10-0cc9772a6bd8002aaf7583194098e92481d9c7f1.zip
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 546d19cbf5d..7e20b04fa51 100644
--- a/drivers/net/wireless/b43/dma.h
+++ b/drivers/net/wireless/b43/dma.h
@@ -215,6 +215,12 @@ enum b43_dmatype {
B43_DMA_64BIT = 64,
};
+enum b43_addrtype {
+ B43_DMA_ADDR_LOW,
+ B43_DMA_ADDR_HIGH,
+ B43_DMA_ADDR_EXT,
+};
+
struct b43_dmaring {
/* Lowlevel DMA ops. */
const struct b43_dma_ops *ops;