Re: IDEDMA problems.

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Thu, 4 Dec 1997 10:40:57 +0100 (MET)


mlord wrote:
>
> Rogier Wolff wrote:
> > Add:
> > /* This is for x86. Do other architectures use this device? */
> > #define MAX_IRQ 15
> > if (pciirq > MAX_IRQ) {
> > printk ("Warning: Your bios gave your IDE chip IRQ%d which is invalid.\n", pciirq);
> > pciirq = 0;
> > }
>
> Thanks for the suggestion, but the fix I've submitted is even simpler,
> we'll just not bother asking the BIOS for the pciirq, and instead just
> probe for it regardless -- the way we always used to do it until 2.1.68.

In more-and-more complex systems, it becomes more-and-more likely that
the probes go wrong: it becomes likely that some other device
accidently happens to interrupt while you're triggering the IDE device
to interrupt.

Roger.

> --
> mlord@pobox.com
> The Linux IDE guy
>
>

-- 
** R.E.Wolff@BitWizard.nl ** +31-15-2137555 ** http://www.BitWizard.nl/ **
Florida -- A 39 year old construction worker woke up this morning when a
109-car freight train drove over him. According to the police the man was 
drunk. The man himself claims he slipped while walking the dog. 080897