|
@@ -30,23 +30,6 @@ struct pci_vector_struct {
|
|
|
#define PCIBIOS_MIN_IO 0x1000
|
|
|
#define PCIBIOS_MIN_MEM 0x10000000
|
|
|
|
|
|
-/*
|
|
|
- * PCI_DMA_BUS_IS_PHYS should be set to 1 if there is _necessarily_ a direct
|
|
|
- * correspondence between device bus addresses and CPU physical addresses.
|
|
|
- * Platforms with a hardware I/O MMU _must_ turn this off to suppress the
|
|
|
- * bounce buffer handling code in the block and network device layers.
|
|
|
- * Platforms with separate bus address spaces _must_ turn this off and provide
|
|
|
- * a device DMA mapping implementation that takes care of the necessary
|
|
|
- * address translation.
|
|
|
- *
|
|
|
- * For now, the ia64 platforms which may have separate/multiple bus address
|
|
|
- * spaces all have I/O MMUs which support the merging of physically
|
|
|
- * discontiguous buffers, so we can use that as the sole factor to determine
|
|
|
- * the setting of PCI_DMA_BUS_IS_PHYS.
|
|
|
- */
|
|
|
-extern unsigned long ia64_max_iommu_merge_mask;
|
|
|
-#define PCI_DMA_BUS_IS_PHYS (ia64_max_iommu_merge_mask == ~0UL)
|
|
|
-
|
|
|
#define HAVE_PCI_MMAP
|
|
|
#define ARCH_GENERIC_PCI_MMAP_RESOURCE
|
|
|
#define arch_can_pci_mmap_wc() 1
|