summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/patches-3.10/121-bcma-fix-dma-mask.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-28 22:13:52 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-28 22:13:52 +0000
commit8a9641f03594a94764f8f837dd6b80cd09f20966 (patch)
tree406f28e12382cfecc2cde0cc94e82b7309329ec5 /target/linux/bcm53xx/patches-3.10/121-bcma-fix-dma-mask.patch
parent1dda825b9708334afe3ba79863c7c9c73f5e913f (diff)
bcm53xx: update patches
This reorders the patchs and adds some new ones. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37586 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx/patches-3.10/121-bcma-fix-dma-mask.patch')
-rw-r--r--target/linux/bcm53xx/patches-3.10/121-bcma-fix-dma-mask.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-3.10/121-bcma-fix-dma-mask.patch b/target/linux/bcm53xx/patches-3.10/121-bcma-fix-dma-mask.patch
new file mode 100644
index 0000000000..b695bc94aa
--- /dev/null
+++ b/target/linux/bcm53xx/patches-3.10/121-bcma-fix-dma-mask.patch
@@ -0,0 +1,18 @@
+bcma: fix dma mask
+
+
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+---
+ drivers/bcma/main.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/bcma/main.c
++++ b/drivers/bcma/main.c
+@@ -155,6 +155,7 @@ static int bcma_register_cores(struct bc
+ core->irq = bus->host_pci->irq;
+ break;
+ case BCMA_HOSTTYPE_SOC:
++ core->dev.coherent_dma_mask = DMA_BIT_MASK(32);
+ core->dev.dma_mask = &core->dev.coherent_dma_mask;
+ core->dma_dev = &core->dev;
+ break;