diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/avila-pci.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/avila-pci.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/avila-pci.c b/arch/arm/mach-ixp4xx/avila-pci.c index 08d65dcdb5fe..14df8cf49146 100644 --- a/arch/arm/mach-ixp4xx/avila-pci.c +++ b/arch/arm/mach-ixp4xx/avila-pci.c | |||
@@ -22,12 +22,26 @@ | |||
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/irq.h> | 23 | #include <linux/irq.h> |
24 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
25 | |||
26 | #include <asm/mach/pci.h> | 25 | #include <asm/mach/pci.h> |
27 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
28 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
29 | #include <asm/mach-types.h> | 28 | #include <asm/mach-types.h> |
30 | 29 | ||
30 | #define AVILA_PCI_MAX_DEV 4 | ||
31 | #define LOFT_PCI_MAX_DEV 6 | ||
32 | #define AVILA_PCI_IRQ_LINES 4 | ||
33 | |||
34 | /* PCI controller GPIO to IRQ pin mappings */ | ||
35 | #define AVILA_PCI_INTA_PIN 11 | ||
36 | #define AVILA_PCI_INTB_PIN 10 | ||
37 | #define AVILA_PCI_INTC_PIN 9 | ||
38 | #define AVILA_PCI_INTD_PIN 8 | ||
39 | |||
40 | #define IRQ_AVILA_PCI_INTA IRQ_IXP4XX_GPIO11 | ||
41 | #define IRQ_AVILA_PCI_INTB IRQ_IXP4XX_GPIO10 | ||
42 | #define IRQ_AVILA_PCI_INTC IRQ_IXP4XX_GPIO9 | ||
43 | #define IRQ_AVILA_PCI_INTD IRQ_IXP4XX_GPIO8 | ||
44 | |||
31 | void __init avila_pci_preinit(void) | 45 | void __init avila_pci_preinit(void) |
32 | { | 46 | { |
33 | set_irq_type(IRQ_AVILA_PCI_INTA, IRQ_TYPE_LEVEL_LOW); | 47 | set_irq_type(IRQ_AVILA_PCI_INTA, IRQ_TYPE_LEVEL_LOW); |