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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Jul 09 2003 - 18:28:00 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:32 EST