linux_old1/arch/sh/drivers
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
..
dma sh: single_open() leaks 2013-05-05 00:11:01 -04:00
pci sh/PCI: Pass GAPSPCI_DMA_BASE CPU & bus address to dma_declare_coherent_memory() 2014-05-20 16:55:39 -06:00
superhyway sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
Kconfig sh: Add SH7785 Highlander board support (R7785RP). 2007-05-07 02:10:53 +00:00
Makefile sh: SH7760 DMABRG support. 2007-05-09 17:36:15 +09:00
heartbeat.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
push-switch.c workqueue: deprecate flush[_delayed]_work_sync() 2012-08-20 14:51:24 -07:00