summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/pci.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-12 10:33:30 +0300
committerChristoph Hellwig <hch@lst.de>2018-05-07 08:15:41 +0300
commit325ef1857fff8b2049322921e19421b6c5ad74e5 (patch)
treed4f0dc35d4e37e18c432e76292e3a453462dd02e /arch/m68k/include/asm/pci.h
parentab74cfebafa3b71caa1e82793032b4867dcf5ea6 (diff)
downloadlinux-325ef1857fff8b2049322921e19421b6c5ad74e5.tar.xz
PCI: remove PCI_DMA_BUS_IS_PHYS
This was used by the ide, scsi and networking code in the past to determine if they should bounce payloads. Now that the dma mapping always have to support dma to all physical memory (thanks to swiotlb for non-iommu systems) there is no need to this crude hack any more. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Palmer Dabbelt <palmer@sifive.com> (for riscv) Reviewed-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/m68k/include/asm/pci.h')
-rw-r--r--arch/m68k/include/asm/pci.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/m68k/include/asm/pci.h b/arch/m68k/include/asm/pci.h
index ef26fae8cf0b..5a4bc223743b 100644
--- a/arch/m68k/include/asm/pci.h
+++ b/arch/m68k/include/asm/pci.h
@@ -4,12 +4,6 @@
#include <asm-generic/pci.h>
-/* The PCI address space does equal the physical memory
- * address space. The networking and block device layers use
- * this boolean for bounce buffer decisions.
- */
-#define PCI_DMA_BUS_IS_PHYS (1)
-
#define pcibios_assign_all_busses() 1
#define PCIBIOS_MIN_IO 0x00000100