6 #include <linux/dma-mapping.h>
8 /* Can be used to override the logic in pci_scan_bus for skipping
9 * already-configured bus numbers - to be used for buggy BIOSes
10 * or architectures with incomplete PCI setup by the loader.
12 #define pcibios_assign_all_busses() 0
14 #define PCIBIOS_MIN_IO 0UL
15 #define PCIBIOS_MIN_MEM 0UL
17 #define PCI_IRQ_NONE 0xffffffff
19 /* Dynamic DMA mapping stuff.
21 #define PCI_DMA_BUS_IS_PHYS (0)
26 static inline void pci_dma_burst_advice(struct pci_dev *pdev,
27 enum pci_dma_burst_strategy *strat,
28 unsigned long *strategy_parameter)
30 *strat = PCI_DMA_BURST_INFINITY;
31 *strategy_parameter = ~0UL;
35 #endif /* __KERNEL__ */
37 #ifndef CONFIG_LEON_PCI
38 /* generic pci stuff */
39 #include <asm-generic/pci.h>
42 * On LEON PCI Memory space is mapped 1:1 with physical address space.
44 * I/O space is located at low 64Kbytes in PCI I/O space. The I/O addresses
45 * are converted into CPU addresses to virtual addresses that are mapped with
46 * MMU to the PCI Host PCI I/O space window which are translated to the low
47 * 64Kbytes by the Host controller.
50 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
56 #endif /* __SPARC_PCI_H */