aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/pasemi/pci.c13
-rw-r--r--arch/powerpc/platforms/pasemi/setup.c1
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms/pasemi/pci.c
index 056243da360b..bbc6dfcfaa91 100644
--- a/arch/powerpc/platforms/pasemi/pci.c
+++ b/arch/powerpc/platforms/pasemi/pci.c
@@ -173,19 +173,6 @@ static void __init pas_fixup_phb_resources(void)
173} 173}
174 174
175 175
176void __devinit pas_pci_irq_fixup(struct pci_dev *dev)
177{
178 /* DMA is special, 84 interrupts (128 -> 211), all but 128
179 * need to be mapped by hand here.
180 */
181 if (dev->vendor == 0x1959 && dev->device == 0xa007) {
182 int i;
183 for (i = 129; i < 212; i++)
184 irq_create_mapping(NULL, i);
185 }
186}
187
188
189void __init pas_pci_init(void) 176void __init pas_pci_init(void)
190{ 177{
191 struct device_node *np, *root; 178 struct device_node *np, *root;
diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c
index f88f0ec4c8cb..5bdd6abd89c0 100644
--- a/arch/powerpc/platforms/pasemi/setup.c
+++ b/arch/powerpc/platforms/pasemi/setup.c
@@ -248,5 +248,4 @@ define_machine(pas) {
248 .calibrate_decr = generic_calibrate_decr, 248 .calibrate_decr = generic_calibrate_decr,
249 .progress = pas_progress, 249 .progress = pas_progress,
250 .machine_check_exception = pas_machine_check_handler, 250 .machine_check_exception = pas_machine_check_handler,
251 .pci_irq_fixup = pas_pci_irq_fixup,
252}; 251};