summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-ip32.c
diff options
context:
space:
mode:
authorSergey Ryazanov2014-08-30 04:06:28 +0200
committerRalf Baechle2016-05-13 14:02:17 +0200
commite8b5325ca3d01c512be6f04d587869a01e0ea59f (patch)
treec386fa098bf92366ed87f2ca0bdae11b49ec9c84 /arch/mips/pci/pci-ip32.c
parentMIPS64: Support of at least 48 bits of SEGBITS (diff)
downloadkernel-qcow2-linux-e8b5325ca3d01c512be6f04d587869a01e0ea59f.tar.gz
kernel-qcow2-linux-e8b5325ca3d01c512be6f04d587869a01e0ea59f.tar.xz
kernel-qcow2-linux-e8b5325ca3d01c512be6f04d587869a01e0ea59f.zip
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.c1
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 = {
.pci_ops = &mace_pci_ops,
.mem_resource = &mace_pci_mem_resource,
.io_resource = &mace_pci_io_resource,
- .iommu = 0,
.mem_offset = MACE_PCI_MEM_OFFSET,
.io_offset = 0,
.io_map_base = CKSEG1ADDR(MACEPCI_LOW_IO),