diff options
Diffstat (limited to 'arch/x86/include/asm/pci_x86.h')
-rw-r--r-- | arch/x86/include/asm/pci_x86.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h index 05b58ccb2e8..1a0422348d6 100644 --- a/arch/x86/include/asm/pci_x86.h +++ b/arch/x86/include/asm/pci_x86.h | |||
@@ -83,7 +83,6 @@ struct irq_routing_table { | |||
83 | 83 | ||
84 | extern unsigned int pcibios_irq_mask; | 84 | extern unsigned int pcibios_irq_mask; |
85 | 85 | ||
86 | extern int pcibios_scanned; | ||
87 | extern spinlock_t pci_config_lock; | 86 | extern spinlock_t pci_config_lock; |
88 | 87 | ||
89 | extern int (*pcibios_enable_irq)(struct pci_dev *dev); | 88 | extern int (*pcibios_enable_irq)(struct pci_dev *dev); |
@@ -106,16 +105,15 @@ extern bool port_cf9_safe; | |||
106 | extern int pci_direct_probe(void); | 105 | extern int pci_direct_probe(void); |
107 | extern void pci_direct_init(int type); | 106 | extern void pci_direct_init(int type); |
108 | extern void pci_pcbios_init(void); | 107 | extern void pci_pcbios_init(void); |
109 | extern int pci_olpc_init(void); | ||
110 | extern void __init dmi_check_pciprobe(void); | 108 | extern void __init dmi_check_pciprobe(void); |
111 | extern void __init dmi_check_skip_isa_align(void); | 109 | extern void __init dmi_check_skip_isa_align(void); |
112 | 110 | ||
113 | /* some common used subsys_initcalls */ | 111 | /* some common used subsys_initcalls */ |
114 | extern int __init pci_acpi_init(void); | 112 | extern int __init pci_acpi_init(void); |
115 | extern int __init pcibios_irq_init(void); | 113 | extern void __init pcibios_irq_init(void); |
116 | extern int __init pci_visws_init(void); | ||
117 | extern int __init pci_numaq_init(void); | ||
118 | extern int __init pcibios_init(void); | 114 | extern int __init pcibios_init(void); |
115 | extern int pci_legacy_init(void); | ||
116 | extern void pcibios_fixup_irqs(void); | ||
119 | 117 | ||
120 | /* pci-mmconfig.c */ | 118 | /* pci-mmconfig.c */ |
121 | 119 | ||
@@ -183,3 +181,17 @@ static inline void mmio_config_writel(void __iomem *pos, u32 val) | |||
183 | { | 181 | { |
184 | asm volatile("movl %%eax,(%1)" : : "a" (val), "r" (pos) : "memory"); | 182 | asm volatile("movl %%eax,(%1)" : : "a" (val), "r" (pos) : "memory"); |
185 | } | 183 | } |
184 | |||
185 | #ifdef CONFIG_PCI | ||
186 | # ifdef CONFIG_ACPI | ||
187 | # define x86_default_pci_init pci_acpi_init | ||
188 | # else | ||
189 | # define x86_default_pci_init pci_legacy_init | ||
190 | # endif | ||
191 | # define x86_default_pci_init_irq pcibios_irq_init | ||
192 | # define x86_default_pci_fixup_irqs pcibios_fixup_irqs | ||
193 | #else | ||
194 | # define x86_default_pci_init NULL | ||
195 | # define x86_default_pci_init_irq NULL | ||
196 | # define x86_default_pci_fixup_irqs NULL | ||
197 | #endif | ||