original_kernel/arch/sh/drivers/pci
Bjorn Helgaas ace4b3fd67 sh/PCI: Pass GAPSPCI_DMA_BASE CPU & bus address to dma_declare_coherent_memory()
dma_declare_coherent_memory() needs both the CPU physical address and the
bus address of the device memory.  They are the same on this platform, but
in general we should use pcibios_resource_to_bus() to account for any
address translation done by the PCI host bridge.

This makes no difference on Dreamcast, but is safer if the usage is copied
to future drivers.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
CC: Magnus Damm <damm@opensource.se>
CC: linux-sh@vger.kernel.org
2014-05-20 16:55:39 -06:00
..
Makefile
common.c
fixups-cayman.c
fixups-dreamcast.c sh/PCI: Pass GAPSPCI_DMA_BASE CPU & bus address to dma_declare_coherent_memory() 2014-05-20 16:55:39 -06:00
fixups-landisk.c
fixups-r7780rp.c
fixups-rts7751r2d.c
fixups-sdk7780.c
fixups-sdk7786.c
fixups-se7751.c
fixups-sh03.c
fixups-snapgear.c
fixups-titan.c
ops-dreamcast.c
ops-sh4.c
ops-sh5.c
ops-sh7786.c
pci-dreamcast.c
pci-sh4.h
pci-sh5.c
pci-sh5.h
pci-sh7751.c
pci-sh7751.h
pci-sh7780.c
pci-sh7780.h
pci.c
pcie-sh7786.c
pcie-sh7786.h arch/sh/drivers/pci/pcie-sh7786.h: remove duplicate SH4A_PCIEPHYCTLR 2014-04-03 16:20:53 -07:00