aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/dma.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-07-20 13:52:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-22 09:51:13 -0400
commiteb90e9e85c36dd2dd730d2eacec74db84491033d (patch)
tree92bc806d9b3a3707cb67445f6f98f8ad71f5bfcf /drivers/net/wireless/b43/dma.c
parent05aec233367262a43dbf0b615099757162e36f88 (diff)
b43: bcma: get DMA translation bits
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.c')
-rw-r--r--drivers/net/wireless/b43/dma.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c
index efff2419388d..0953ce1ac1b0 100644
--- a/drivers/net/wireless/b43/dma.c
+++ b/drivers/net/wireless/b43/dma.c
@@ -1066,6 +1066,11 @@ int b43_dma_init(struct b43_wldev *dev)
1066 return err; 1066 return err;
1067 1067
1068 switch (dev->dev->bus_type) { 1068 switch (dev->dev->bus_type) {
1069#ifdef CONFIG_B43_BCMA
1070 case B43_BUS_BCMA:
1071 dma->translation = bcma_core_dma_translation(dev->dev->bdev);
1072 break;
1073#endif
1069#ifdef CONFIG_B43_SSB 1074#ifdef CONFIG_B43_SSB
1070 case B43_BUS_SSB: 1075 case B43_BUS_SSB:
1071 dma->translation = ssb_dma_translation(dev->dev->sdev); 1076 dma->translation = ssb_dma_translation(dev->dev->sdev);