aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shark/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shark/pci.c')
-rw-r--r--arch/arm/mach-shark/pci.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-shark/pci.c b/arch/arm/mach-shark/pci.c
index 37a7112d4117..89d175ce74d2 100644
--- a/arch/arm/mach-shark/pci.c
+++ b/arch/arm/mach-shark/pci.c
@@ -16,16 +16,19 @@
16static int __init shark_map_irq(struct pci_dev *dev, u8 slot, u8 pin) 16static int __init shark_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
17{ 17{
18 if (dev->bus->number == 0) 18 if (dev->bus->number == 0)
19 if (dev->devfn == 0) return 255; 19 if (dev->devfn == 0)
20 else return 11; 20 return 255;
21 else return 255; 21 else
22 return 11;
23 else
24 return 255;
22} 25}
23 26
24extern void __init via82c505_preinit(void); 27extern void __init via82c505_preinit(void);
25 28
26static struct hw_pci shark_pci __initdata = { 29static struct hw_pci shark_pci __initdata = {
27 .setup = via82c505_setup, 30 .setup = via82c505_setup,
28 .swizzle = pci_std_swizzle, 31 .swizzle = pci_std_swizzle,
29 .map_irq = shark_map_irq, 32 .map_irq = shark_map_irq,
30 .nr_controllers = 1, 33 .nr_controllers = 1,
31 .scan = via82c505_scan_bus, 34 .scan = via82c505_scan_bus,