sh: pci: Disable MWI and make pci_dma_burst_advice() a bit more accurate.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 26 May 2009 14:13:13 +0000 (23:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 26 May 2009 14:13:13 +0000 (23:13 +0900)
commitb7e2ac619465f1774b827d9997109ceef4a61851
tree6cb846c7f6c3b71e9f6ae9560e539e61f724f284
parentd076d2bd0d9379314df5f2ab8b9c83f617c70923
sh: pci: Disable MWI and make pci_dma_burst_advice() a bit more accurate.

None of the SH PCI controllers support MWI, it is always treated as a
direct memory write, so simply disable it outright. In the case of the
PCI cache line size, consult that for the pci_dma_burst_advice()
strategy, and switch over to PCI_DMA_BURST_MULTIPLE, as PPC64.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/pci.h