0001
0002 #ifndef ___ASM_SPARC_PCI_H
0003 #define ___ASM_SPARC_PCI_H
0004
0005
0006
0007
0008
0009
0010 #define pcibios_assign_all_busses() 0
0011
0012 #define PCIBIOS_MIN_IO 0UL
0013 #define PCIBIOS_MIN_MEM 0UL
0014
0015 #define PCI_IRQ_NONE 0xffffffff
0016
0017
0018 #ifdef CONFIG_SPARC64
0019
0020
0021
0022
0023
0024
0025
0026 #define PCI64_REQUIRED_MASK (~(u64)0)
0027 #define PCI64_ADDR_BASE 0xfffc000000000000UL
0028
0029
0030 int pci_domain_nr(struct pci_bus *bus);
0031 static inline int pci_proc_domain(struct pci_bus *bus)
0032 {
0033 return 1;
0034 }
0035
0036
0037 #define HAVE_PCI_MMAP
0038 #define arch_can_pci_mmap_io() 1
0039 #define HAVE_ARCH_PCI_GET_UNMAPPED_AREA
0040 #define ARCH_GENERIC_PCI_MMAP_RESOURCE
0041 #define get_pci_unmapped_area get_fb_unmapped_area
0042 #endif
0043
0044 #endif