diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-11-16 17:24:57 -0500 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-12-05 10:58:40 -0500 |
commit | a8b7b34075f693632cd1483b817d4211c7a63257 (patch) | |
tree | f71dac7ce7afd89b6650eefae28b64f89a044330 /arch/arm/mach-ixp4xx/gtwx5715-pci.c | |
parent | 31bcde37853f2a3795aaac3541d51bd2afc09d66 (diff) |
IXP4xx: move Gemtek GTWX5715 platform macros to the platform code.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm/mach-ixp4xx/gtwx5715-pci.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/gtwx5715-pci.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/arch/arm/mach-ixp4xx/gtwx5715-pci.c b/arch/arm/mach-ixp4xx/gtwx5715-pci.c index 7b8a2c323840..68011852559b 100644 --- a/arch/arm/mach-ixp4xx/gtwx5715-pci.c +++ b/arch/arm/mach-ixp4xx/gtwx5715-pci.c | |||
@@ -26,14 +26,26 @@ | |||
26 | #include <linux/init.h> | 26 | #include <linux/init.h> |
27 | #include <linux/delay.h> | 27 | #include <linux/delay.h> |
28 | #include <linux/irq.h> | 28 | #include <linux/irq.h> |
29 | |||
30 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
31 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
32 | #include <mach/gtwx5715.h> | ||
33 | #include <asm/mach/pci.h> | 31 | #include <asm/mach/pci.h> |
34 | 32 | ||
33 | #define GTWX5715_PCI_SLOT0_DEVID 0 | ||
34 | #define GTWX5715_PCI_SLOT0_INTA_GPIO 10 | ||
35 | #define GTWX5715_PCI_SLOT0_INTB_GPIO 11 | ||
36 | #define GTWX5715_PCI_SLOT0_INTA_IRQ IRQ_IXP4XX_GPIO10 | ||
37 | #define GTWX5715_PCI_SLOT0_INTB_IRQ IRQ_IXP4XX_GPIO11 | ||
38 | |||
39 | #define GTWX5715_PCI_SLOT1_DEVID 1 | ||
40 | #define GTWX5715_PCI_SLOT1_INTA_GPIO 11 | ||
41 | #define GTWX5715_PCI_SLOT1_INTB_GPIO 10 | ||
42 | #define GTWX5715_PCI_SLOT1_INTA_IRQ IRQ_IXP4XX_GPIO11 | ||
43 | #define GTWX5715_PCI_SLOT1_INTB_IRQ IRQ_IXP4XX_GPIO10 | ||
44 | |||
45 | #define GTWX5715_PCI_SLOT_COUNT 2 | ||
46 | #define GTWX5715_PCI_INT_PIN_COUNT 2 | ||
47 | |||
35 | /* | 48 | /* |
36 | * The exact GPIO pins and IRQs are defined in arch-ixp4xx/gtwx5715.h | ||
37 | * Slot 0 isn't actually populated with a card connector but | 49 | * Slot 0 isn't actually populated with a card connector but |
38 | * we initialize it anyway in case a future version has the | 50 | * we initialize it anyway in case a future version has the |
39 | * slot populated or someone with good soldering skills has | 51 | * slot populated or someone with good soldering skills has |