diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-30 06:14:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-30 06:14:01 -0400 |
commit | edbe805b2b1044659e0727136213bdf42bd1b9d0 (patch) | |
tree | 8de4633f54048108743cbcbd071888c15617eac6 /arch/sparc64/kernel/pci.c | |
parent | b20bfe41badcbf38512fbe1118fe2e0817098e77 (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.c | 4 |
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. */ |
168 | extern void sabre_init(struct device_node *, const char *); | ||
169 | extern void fire_pci_init(struct device_node *, const char *); | 168 | extern void fire_pci_init(struct device_node *, const char *); |
170 | 169 | ||
171 | static struct { | 170 | static 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) |