diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2005-11-28 16:44:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-28 17:42:24 -0500 |
commit | ad09d583106fadfdf751926107cfe35fba6bdbd4 (patch) | |
tree | 35df7418b229ed8b8eb42609924a383660705359 /drivers/pcmcia/m32r_cfc.c | |
parent | 0332db5aff3eec73eead6d991782b0dee1376dc0 (diff) |
[PATCH] m32r: M3A-2170(Mappi-III) IDE support
This patch is for supporting IDE interface for M3A-2170(Mappi-III) board.
Signed-off-by: Mamoru Sakugawa <sakugawa@linux-m32r.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pcmcia/m32r_cfc.c')
-rw-r--r-- | drivers/pcmcia/m32r_cfc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pcmcia/m32r_cfc.c b/drivers/pcmcia/m32r_cfc.c index 2c22b4b3619d..078579ae6359 100644 --- a/drivers/pcmcia/m32r_cfc.c +++ b/drivers/pcmcia/m32r_cfc.c | |||
@@ -355,9 +355,10 @@ static void add_pcc_socket(ulong base, int irq, ulong mapaddr, kio_addr_t ioaddr | |||
355 | #ifndef CONFIG_PLAT_USRV | 355 | #ifndef CONFIG_PLAT_USRV |
356 | /* insert interrupt */ | 356 | /* insert interrupt */ |
357 | request_irq(irq, pcc_interrupt, 0, "m32r_cfc", pcc_interrupt); | 357 | request_irq(irq, pcc_interrupt, 0, "m32r_cfc", pcc_interrupt); |
358 | #ifndef CONFIG_PLAT_MAPPI3 | ||
358 | /* eject interrupt */ | 359 | /* eject interrupt */ |
359 | request_irq(irq+1, pcc_interrupt, 0, "m32r_cfc", pcc_interrupt); | 360 | request_irq(irq+1, pcc_interrupt, 0, "m32r_cfc", pcc_interrupt); |
360 | 361 | #endif | |
361 | debug(3, "m32r_cfc: enable CFMSK, RDYSEL\n"); | 362 | debug(3, "m32r_cfc: enable CFMSK, RDYSEL\n"); |
362 | pcc_set(pcc_sockets, (unsigned int)PLD_CFIMASK, 0x01); | 363 | pcc_set(pcc_sockets, (unsigned int)PLD_CFIMASK, 0x01); |
363 | #endif /* CONFIG_PLAT_USRV */ | 364 | #endif /* CONFIG_PLAT_USRV */ |