]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: make PCI_DMA_BUS_IS_PHYS=1 constant
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Sat, 30 Aug 2014 02:06:28 +0000 (06:06 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:17 +0000 (14:02 +0200)
commite2d8fa15face3d85d45e52a9466cac78a801ebd8
treec386fa098bf92366ed87f2ca0bdae11b49ec9c84
parent1607126f99bbb96c947737bc8374e617644ee996
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>
arch/mips/include/asm/pci.h
arch/mips/kernel/setup.c
arch/mips/pci/pci-ip32.c
arch/mips/pci/pci.c
arch/mips/pnx833x/common/setup.c