1 #ifndef __SPARC64_PCI_H
2 #define __SPARC64_PCI_H
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
28 #define PCI_DMA_BUS_IS_PHYS (0)
36 #define PCI64_REQUIRED_MASK (~(u64)0)
37 #define PCI64_ADDR_BASE 0xfffc000000000000UL
41 enum pci_dma_burst_strategy *strat,
42 unsigned long *strategy_parameter)
44 unsigned long cacheline_size;
49 cacheline_size = 1024;
51 cacheline_size = (
int) byte * 4;
53 *strat = PCI_DMA_BURST_BOUNDARY;
54 *strategy_parameter = cacheline_size;
69 #define HAVE_ARCH_PCI_GET_UNMAPPED_AREA
70 #define get_pci_unmapped_area get_fb_unmapped_area
81 #define HAVE_ARCH_PCI_RESOURCE_TO_USER