mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
aa790ea61f
This makes bgmac work without sprom and refreshed the patches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38715
19 lines
474 B
Diff
19 lines
474 B
Diff
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
|
|
@@ -144,6 +144,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;
|