[PATCH] m68k: Atari - leave out spurious request_irq for Falcon IDE
Hi Geert,
I found I need to have this patch in order to avoid doubly registering the
ST-DMA interrupt for IDE on Falcon.
The interrupt is registered in stdma_init and the current user of the interrupt
is set by stdma_get_lock. Without the lock held, no interrupt should be
delivered anyway, so this patch will make it easier to debug locking problems.
Signed-off-by: Michael Schmitz <schmitz@debian.org>
---
drivers/ide/ide-probe.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 7f264ed..f8a86b7 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -843,6 +843,9 @@ static int init_irq (ide_hwif_t *hwif)
if (io_ports->ctl_addr)
hwif->tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS);
+#if defined(__mc68000__) && defined (CONFIG_BLK_DEV_FALCON_IDE)
+ if (!MACH_IS_ATARI)
+#endif
if (request_irq(hwif->irq, irq_handler, sa, hwif->name, hwif))
goto out_up;
--
1.5.6.5
Reply to: