From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Stephen R Marenka <stephen@marenka.net>,
debian-68k@lists.debian.org, linux-m68k@vger.kernel.org,
linux-ide@vger.kernel.org
Subject: Re: [PATCH] m68k: Atari - leave out spurious request_irq for Falcon IDE
Date: Tue, 28 Apr 2009 09:27:09 +0200 [thread overview]
Message-ID: <10f740e80904280027m307f5850u5373d80b0dfcb7f@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0904280735550.18935@zirkon.biophys.uni-duesseldorf.de>
On Tue, Apr 28, 2009 at 07:41, Michael Schmitz
<schmitz@biophys.uni-duesseldorf.de> wrote:
> I found I need to have this patch in order to avoid doubly registering the
> ST-DMA interrupt for IDE on Falcon.
But further it has no ill effects, as it works fine on ARAnyM? Or does
it fail on real hardware?
> 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;
Ugh, adding an m68k dependency in generic code is not nice...
Would it work to add a generic test for hwif->irq, and set hwif->irq to zero in
falconide.c?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-04-28 7:27 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090326123822.GD8081@marenka.net>
[not found] ` <10f740e80903260610k29f73c4ci76594f46881e17a5@mail.gmail.com>
2009-03-29 13:07 ` debian kernel m68k patches for 2.6.29 Geert Uytterhoeven
[not found] ` <10f740e80903290607y743bada9w829754722e9f7d9f@mail.gmail.com>
2009-04-06 23:48 ` Michael Schmitz
2009-04-07 7:14 ` Geert Uytterhoeven
2009-04-07 23:23 ` Michael Schmitz
2009-04-14 7:50 ` Michael Schmitz
2009-04-14 8:13 ` Petr Stehlik
2009-04-14 8:26 ` Michael Schmitz
2009-04-14 8:39 ` Petr Stehlik
[not found] ` <1239698381.2049.25.camel@petr>
2009-04-15 1:25 ` Michael Schmitz
2009-04-15 5:56 ` Petr Stehlik
2009-04-15 23:38 ` Michael Schmitz
2009-04-16 6:07 ` Petr Stehlik
2009-04-16 7:45 ` Michael Schmitz
2009-04-16 8:01 ` Petr Stehlik
2009-04-17 1:22 ` Michael Schmitz
2009-04-19 1:20 ` [PATCH] m68k: Atari GEMDOS FAT option fix: use correct logical sector size Michael Schmitz
[not found] ` <alpine.DEB.1.00.0904190308310.8939@zirkon.biophys.uni-duesseldorf.de>
2009-04-22 19:11 ` Geert Uytterhoeven
2009-04-26 5:59 ` [PATCH] m68k: Atari ST-RAM: reserve some ST-RAM for late allocations Michael Schmitz
[not found] ` <alpine.DEB.1.00.0904260751590.30061@zirkon.biophys.uni-duesseldorf.de>
2009-04-26 7:24 ` [PATCH] m68k: Atari SCSI - ST-DMA locking and error handling fixes Michael Schmitz
[not found] ` <alpine.DEB.1.00.0904260909510.32441@zirkon.biophys.uni-duesseldorf.de>
2009-04-28 5:41 ` [PATCH] m68k: Atari - leave out spurious request_irq for Falcon IDE Michael Schmitz
2009-04-28 7:27 ` Geert Uytterhoeven [this message]
2009-04-30 5:21 ` Michael Schmitz
2010-12-05 9:54 ` [PATCH] m68k: Atari SCSI - ST-DMA locking and error handling fixes Geert Uytterhoeven
2009-04-19 1:24 ` [PATCH] m68k: Atari SCC verbosity fix Michael Schmitz
[not found] ` <alpine.DEB.1.00.0904190321350.8939@zirkon.biophys.uni-duesseldorf.de>
2009-04-22 19:12 ` Geert Uytterhoeven
2009-04-21 17:20 ` debian kernel m68k patches for 2.6.29 Stephen R Marenka
[not found] ` <20090421172039.GA26858@marenka.net>
2009-04-22 7:20 ` Geert Uytterhoeven
2009-04-22 12:57 ` Stephen R Marenka
2009-04-22 13:41 ` Geert Uytterhoeven
2009-04-22 15:09 ` Stephen R Marenka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10f740e80904280027m307f5850u5373d80b0dfcb7f@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=bzolnier@gmail.com \
--cc=debian-68k@lists.debian.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=schmitz@biophys.uni-duesseldorf.de \
--cc=stephen@marenka.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox