aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-30 06:14:01 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-30 06:14:01 -0400
commitedbe805b2b1044659e0727136213bdf42bd1b9d0 (patch)
tree8de4633f54048108743cbcbd071888c15617eac6 /arch/sparc64/kernel/pci.c
parentb20bfe41badcbf38512fbe1118fe2e0817098e77 (diff)
sparc64: Convert SABRE PCI controller driver into a real driver.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci.c')
-rw-r--r--arch/sparc64/kernel/pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index c66c9bbc975..c2ff2de4da5 100644
--- a/arch/sparc64/kernel/pci.c
+++ b/arch/sparc64/kernel/pci.c
@@ -165,16 +165,12 @@ void pci_config_write32(u32 *addr, u32 val)
165} 165}
166 166
167/* Probe for all PCI controllers in the system. */ 167/* Probe for all PCI controllers in the system. */
168extern void sabre_init(struct device_node *, const char *);
169extern void fire_pci_init(struct device_node *, const char *); 168extern void fire_pci_init(struct device_node *, const char *);
170 169
171static struct { 170static struct {
172 char *model_name; 171 char *model_name;
173 void (*init)(struct device_node *, const char *); 172 void (*init)(struct device_node *, const char *);
174} pci_controller_table[] __initdata = { 173} pci_controller_table[] __initdata = {
175 { "SUNW,sabre", sabre_init },
176 { "pci108e,a000", sabre_init },
177 { "pci108e,a001", sabre_init },
178 { "pciex108e,80f0", fire_pci_init }, 174 { "pciex108e,80f0", fire_pci_init },
179}; 175};
180#define PCI_NUM_CONTROLLER_TYPES ARRAY_SIZE(pci_controller_table) 176#define PCI_NUM_CONTROLLER_TYPES ARRAY_SIZE(pci_controller_table)