diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/nas100d-pci.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/nas100d-pci.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/nas100d-pci.c b/arch/arm/mach-ixp4xx/nas100d-pci.c index 1088426fdcee..ac04fc1a6c34 100644 --- a/arch/arm/mach-ixp4xx/nas100d-pci.c +++ b/arch/arm/mach-ixp4xx/nas100d-pci.c | |||
@@ -18,10 +18,25 @@ | |||
18 | #include <linux/pci.h> | 18 | #include <linux/pci.h> |
19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
20 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
21 | |||
22 | #include <asm/mach/pci.h> | 21 | #include <asm/mach/pci.h> |
23 | #include <asm/mach-types.h> | 22 | #include <asm/mach-types.h> |
24 | 23 | ||
24 | #define NAS100D_PCI_MAX_DEV 3 | ||
25 | #define NAS100D_PCI_IRQ_LINES 3 | ||
26 | |||
27 | /* PCI controller GPIO to IRQ pin mappings */ | ||
28 | #define NAS100D_PCI_INTA_PIN 11 | ||
29 | #define NAS100D_PCI_INTB_PIN 10 | ||
30 | #define NAS100D_PCI_INTC_PIN 9 | ||
31 | #define NAS100D_PCI_INTD_PIN 8 | ||
32 | #define NAS100D_PCI_INTE_PIN 7 | ||
33 | |||
34 | #define IRQ_NAS100D_PCI_INTA IRQ_IXP4XX_GPIO11 | ||
35 | #define IRQ_NAS100D_PCI_INTB IRQ_IXP4XX_GPIO10 | ||
36 | #define IRQ_NAS100D_PCI_INTC IRQ_IXP4XX_GPIO9 | ||
37 | #define IRQ_NAS100D_PCI_INTD IRQ_IXP4XX_GPIO8 | ||
38 | #define IRQ_NAS100D_PCI_INTE IRQ_IXP4XX_GPIO7 | ||
39 | |||
25 | void __init nas100d_pci_preinit(void) | 40 | void __init nas100d_pci_preinit(void) |
26 | { | 41 | { |
27 | set_irq_type(IRQ_NAS100D_PCI_INTA, IRQ_TYPE_LEVEL_LOW); | 42 | set_irq_type(IRQ_NAS100D_PCI_INTA, IRQ_TYPE_LEVEL_LOW); |