1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef __SPARC_PCI_H
- #define __SPARC_PCI_H
- #ifdef __KERNEL__
- #include <linux/dma-mapping.h>
- #define pcibios_assign_all_busses() 0
- #define PCIBIOS_MIN_IO 0UL
- #define PCIBIOS_MIN_MEM 0UL
- #define PCI_IRQ_NONE 0xffffffff
- #define PCI_DMA_BUS_IS_PHYS (0)
- struct pci_dev;
- #endif
- #ifndef CONFIG_LEON_PCI
- #include <asm-generic/pci.h>
- #else
- static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
- {
- return PCI_IRQ_NONE;
- }
- #endif
- #endif
|