Re: Fix IDE initialization when we don't probe for interrupts.

Alan Cox (alan@lxorguk.ukuu.org.uk)
10 Jul 2003 00:28:00 +0100


On Mer, 2003-07-09 at 23:08, Jeff Garzik wrote:
> > + * Disable device irq if we don't need to
> > + * probe for it. Otherwise we'll get spurious
> > + * interrupts during the identify-phase that
> > + * the irq handler isn't expecting.
> > + */
> > + hwif->OUTB(drive->ctl|2, IDE_CONTROL_REG);
>
>
> Yeah, my driver does probing with interrupts disabled, too.
> I'm curious where interrupts are re-enabled, though?

In the command write. BTW note that there are a few devices
out there that dont honour the nIEN stuff.

IDE is such fun

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/