This source file includes following definitions.
- pci_proc_domain
- pci_get_legacy_ide_irq
1
2 #ifndef ___ASM_SPARC_PCI_H
3 #define ___ASM_SPARC_PCI_H
4
5
6
7
8
9
10 #define pcibios_assign_all_busses() 0
11
12 #define PCIBIOS_MIN_IO 0UL
13 #define PCIBIOS_MIN_MEM 0UL
14
15 #define PCI_IRQ_NONE 0xffffffff
16
17
18 #ifdef CONFIG_SPARC64
19
20
21
22
23
24
25
26 #define PCI64_REQUIRED_MASK (~(u64)0)
27 #define PCI64_ADDR_BASE 0xfffc000000000000UL
28
29
30 int pci_domain_nr(struct pci_bus *bus);
31 static inline int pci_proc_domain(struct pci_bus *bus)
32 {
33 return 1;
34 }
35
36
37 #define HAVE_PCI_MMAP
38 #define arch_can_pci_mmap_io() 1
39 #define HAVE_ARCH_PCI_GET_UNMAPPED_AREA
40 #define get_pci_unmapped_area get_fb_unmapped_area
41 #endif
42
43 #if defined(CONFIG_SPARC64) || defined(CONFIG_LEON_PCI)
44 static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
45 {
46 return PCI_IRQ_NONE;
47 }
48 #else
49 #include <asm-generic/pci.h>
50 #endif
51
52 #endif