summaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/devboards/pb1500/board_setup.c
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2009-10-04 14:55:28 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 12:52:51 +0100
commit27dd65ac9afabc8e67ab73f7c2f575eddbb47167 (patch)
treed8da508ceff4f2e69f8cc621a8bdebe83fef02e8 /arch/mips/alchemy/devboards/pb1500/board_setup.c
parent66213b3ccfc770704025ce9465fa3aaedde21b55 (diff)
downloadblackbird-op-linux-27dd65ac9afabc8e67ab73f7c2f575eddbb47167.tar.gz
blackbird-op-linux-27dd65ac9afabc8e67ab73f7c2f575eddbb47167.zip
MIPS: Alchemy: devboards: wire up new PCMCIA driver.
Register the PCMCIA driver on all boards supported by it, get rid of now-unused pcmcia macros in the board headers (and subsequently empty pb1100/pb1500 ones). Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/devboards/pb1500/board_setup.c')
-rw-r--r--arch/mips/alchemy/devboards/pb1500/board_setup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/alchemy/devboards/pb1500/board_setup.c b/arch/mips/alchemy/devboards/pb1500/board_setup.c
index bf8e14906ea4..a148802fa427 100644
--- a/arch/mips/alchemy/devboards/pb1500/board_setup.c
+++ b/arch/mips/alchemy/devboards/pb1500/board_setup.c
@@ -29,7 +29,6 @@
#include <linux/interrupt.h>
#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-pb1x00/pb1500.h>
#include <asm/mach-db1x00/bcsr.h>
#include <prom.h>
@@ -156,6 +155,9 @@ void __init board_setup(void)
static int __init pb1500_init_irq(void)
{
+ set_irq_type(AU1000_GPIO_9, IRQF_TRIGGER_LOW); /* CD0# */
+ set_irq_type(AU1000_GPIO_10, IRQF_TRIGGER_LOW); /* CARD0 */
+ set_irq_type(AU1000_GPIO_11, IRQF_TRIGGER_LOW); /* STSCHG0# */
set_irq_type(AU1500_GPIO_204, IRQF_TRIGGER_HIGH);
set_irq_type(AU1500_GPIO_201, IRQF_TRIGGER_LOW);
set_irq_type(AU1500_GPIO_202, IRQF_TRIGGER_LOW);
OpenPOWER on IntegriCloud