Date:2010-08-19 14:49:29 (2 years 9 months ago)
Author:nbd
Commit:e3fc173c6bdf06e38d9b6c472c04a02dc8f3171e
Message:kernel: backport ssb dma_dev changes to fix b43 build

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22718 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: target/linux/generic/patches-2.6.31/942-ssb_add_dma_dev.patch (1 diff)

Change Details

target/linux/generic/patches-2.6.31/942-ssb_add_dma_dev.patch
1--- a/drivers/ssb/main.c
2@@ -461,6 +461,7 @@
3 #ifdef CONFIG_SSB_PCIHOST
4             sdev->irq = bus->host_pci->irq;
5             dev->parent = &bus->host_pci->dev;
6+ sdev->dma_dev = dev->parent;
7 #endif
8             break;
9         case SSB_BUSTYPE_PCMCIA:
10@@ -473,6 +474,7 @@
11             break;
12         case SSB_BUSTYPE_SSB:
13             dev->dma_mask = &dev->coherent_dma_mask;
14+ sdev->dma_dev = dev;
15             break;
16         }
17
18--- a/include/linux/ssb/ssb.h
19@@ -167,7 +167,7 @@
20      * is an optimization. */
21     const struct ssb_bus_ops *ops;
22
23- struct device *dev;
24+ struct device *dev, *dma_dev;
25
26     struct ssb_bus *bus;
27     struct ssb_device_id id;

Archive Download the corresponding diff file



interactive