diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-11-16 15:57:41 +0100 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2009-12-05 16:58:39 +0100 |
commit | f89f44902af4b88e12c5d2c888915749362198e7 (patch) | |
tree | 326caa45390cbacf6f54b0977b85a47f023b6a20 /arch/arm/mach-ixp4xx/coyote-pci.c | |
parent | ec66969685ecf04e8a5036369702fa9aec07cc17 (diff) | |
download | op-kernel-dev-f89f44902af4b88e12c5d2c888915749362198e7.zip op-kernel-dev-f89f44902af4b88e12c5d2c888915749362198e7.tar.gz |
IXP4xx: move Coyote platform macros to the platform code.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'arch/arm/mach-ixp4xx/coyote-pci.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/coyote-pci.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-ixp4xx/coyote-pci.c b/arch/arm/mach-ixp4xx/coyote-pci.c index efddf01..624f8fe 100644 --- a/arch/arm/mach-ixp4xx/coyote-pci.c +++ b/arch/arm/mach-ixp4xx/coyote-pci.c @@ -18,13 +18,21 @@ #include <linux/pci.h> #include <linux/init.h> #include <linux/irq.h> - #include <asm/mach-types.h> #include <mach/hardware.h> #include <asm/irq.h> - #include <asm/mach/pci.h> +#define COYOTE_PCI_SLOT0_DEVID 14 +#define COYOTE_PCI_SLOT1_DEVID 15 + +/* PCI controller GPIO to IRQ pin mappings */ +#define COYOTE_PCI_SLOT0_PIN 6 +#define COYOTE_PCI_SLOT1_PIN 11 + +#define IRQ_COYOTE_PCI_SLOT0 IRQ_IXP4XX_GPIO6 +#define IRQ_COYOTE_PCI_SLOT1 IRQ_IXP4XX_GPIO11 + void __init coyote_pci_preinit(void) { set_irq_type(IRQ_COYOTE_PCI_SLOT0, IRQ_TYPE_LEVEL_LOW); |