diff options
author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2014-08-29 22:06:28 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 08:02:17 -0400 |
commit | e8b5325ca3d01c512be6f04d587869a01e0ea59f (patch) | |
tree | c386fa098bf92366ed87f2ca0bdae11b49ec9c84 /arch/mips/pci/pci-ip32.c | |
parent | 1e321fa917fb2d30d39ff1c6ea89d6f1cf4f34a5 (diff) |
MIPS: make PCI_DMA_BUS_IS_PHYS=1 constant
No one of supported MIPS machines has an IOMMU unit, so we can safely define
PCI_DMA_BUS_IS_PHYS = 1. Also remove iommu flag from the pci controller
structure, since it is useless.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/7604/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/pci-ip32.c')
-rw-r--r-- | arch/mips/pci/pci-ip32.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-ip32.c b/arch/mips/pci/pci-ip32.c index b1e061f7fdc7..7ae89d0c7099 100644 --- a/arch/mips/pci/pci-ip32.c +++ b/arch/mips/pci/pci-ip32.c | |||
@@ -116,7 +116,6 @@ static struct pci_controller mace_pci_controller = { | |||
116 | .pci_ops = &mace_pci_ops, | 116 | .pci_ops = &mace_pci_ops, |
117 | .mem_resource = &mace_pci_mem_resource, | 117 | .mem_resource = &mace_pci_mem_resource, |
118 | .io_resource = &mace_pci_io_resource, | 118 | .io_resource = &mace_pci_io_resource, |
119 | .iommu = 0, | ||
120 | .mem_offset = MACE_PCI_MEM_OFFSET, | 119 | .mem_offset = MACE_PCI_MEM_OFFSET, |
121 | .io_offset = 0, | 120 | .io_offset = 0, |
122 | .io_map_base = CKSEG1ADDR(MACEPCI_LOW_IO), | 121 | .io_map_base = CKSEG1ADDR(MACEPCI_LOW_IO), |