diff options
author | Rafał Miłecki | 2011-07-20 19:52:16 +0200 |
---|---|---|
committer | John W. Linville | 2011-07-22 09:51:13 -0400 |
commit | eb90e9e85c36dd2dd730d2eacec74db84491033d (patch) | |
tree | 92bc806d9b3a3707cb67445f6f98f8ad71f5bfcf /drivers | |
parent | 05aec233367262a43dbf0b615099757162e36f88 (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')
-rw-r--r-- | drivers/net/wireless/b43/dma.c | 5 |
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) return err; switch (dev->dev->bus_type) { +#ifdef CONFIG_B43_BCMA + case B43_BUS_BCMA: + dma->translation = bcma_core_dma_translation(dev->dev->bdev); + break; +#endif #ifdef CONFIG_B43_SSB case B43_BUS_SSB: dma->translation = ssb_dma_translation(dev->dev->sdev); |