diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/fsg-pci.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/fsg-pci.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/fsg-pci.c b/arch/arm/mach-ixp4xx/fsg-pci.c index ca12a9ca0830..2a1701bb3671 100644 --- a/arch/arm/mach-ixp4xx/fsg-pci.c +++ b/arch/arm/mach-ixp4xx/fsg-pci.c | |||
@@ -19,10 +19,20 @@ | |||
19 | #include <linux/pci.h> | 19 | #include <linux/pci.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/irq.h> | 21 | #include <linux/irq.h> |
22 | |||
23 | #include <asm/mach/pci.h> | 22 | #include <asm/mach/pci.h> |
24 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
25 | 24 | ||
25 | #define FSG_PCI_MAX_DEV 3 | ||
26 | #define FSG_PCI_IRQ_LINES 3 | ||
27 | |||
28 | /* PCI controller GPIO to IRQ pin mappings */ | ||
29 | #define FSG_PCI_INTA_PIN 6 | ||
30 | #define FSG_PCI_INTB_PIN 7 | ||
31 | #define FSG_PCI_INTC_PIN 5 | ||
32 | #define IRQ_FSG_PCI_INTA IRQ_IXP4XX_GPIO6 | ||
33 | #define IRQ_FSG_PCI_INTB IRQ_IXP4XX_GPIO7 | ||
34 | #define IRQ_FSG_PCI_INTC IRQ_IXP4XX_GPIO5 | ||
35 | |||
26 | void __init fsg_pci_preinit(void) | 36 | void __init fsg_pci_preinit(void) |
27 | { | 37 | { |
28 | set_irq_type(IRQ_FSG_PCI_INTA, IRQ_TYPE_LEVEL_LOW); | 38 | set_irq_type(IRQ_FSG_PCI_INTA, IRQ_TYPE_LEVEL_LOW); |