b43: bcma: get DMA translation bits
authorRafał Miłecki <zajec5@gmail.com>
Wed, 20 Jul 2011 17:52:16 +0000 (19:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Jul 2011 13:51:13 +0000 (09:51 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/dma.c

index efff2419388dc4a81b9fec2456dc509b7e80a373..0953ce1ac1b0f331fff3f7425cf469e76c6cdc12 100644 (file)
@@ -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);