android_kernel_xiaomi_sm8350/drivers/ssb
Michael Buesch 4ac58469f1 ssb: Fix usage of struct device used for DMAing
This fixes DMA on architectures where DMA is nontrivial, like PPC64.
We must use the host-device's (PCI) struct device for any DMA
operation instead of the SSB device. For this we add a new
struct device pointer to the SSB device structure that will always
point to the right device for DMAing.

Without this patch b43 and b44 drivers won't work on complex-DMA
architectures, that for example need dev->archdata for DMA operations.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-04-15 15:04:35 -04:00
..
b43_pci_bridge.c
driver_chipcommon.c ssb: Make the GPIO API reentrancy safe 2008-02-20 20:11:49 -05:00
driver_extif.c ssb: Make the GPIO API reentrancy safe 2008-02-20 20:11:49 -05:00
driver_mipscore.c ssb-mipscore: Fix interrupt vectors 2008-04-09 10:33:49 -04:00
driver_pcicore.c ssb-pcicore: Fix IRQ TPS flag handling 2008-04-09 10:33:49 -04:00
embedded.c ssb: Make the GPIO API reentrancy safe 2008-02-20 20:11:49 -05:00
Kconfig Use a separate config option for the b43 pci to ssb bridge. 2008-02-28 09:13:10 -05:00
main.c ssb: Fix usage of struct device used for DMAing 2008-04-15 15:04:35 -04:00
Makefile Use a separate config option for the b43 pci to ssb bridge. 2008-02-28 09:13:10 -05:00
pci.c
pcihost_wrapper.c
pcmcia.c
scan.c
ssb_private.h Use a separate config option for the b43 pci to ssb bridge. 2008-02-28 09:13:10 -05:00