Re: Patch for PAS sound driver (2.1.131)

Alex Stewart (riche@crl.com)
Mon, 28 Dec 1998 14:39:12 -0800 (PST)


> Under what conditions were you seeing incorrect IRQ settings for the PAS
> 16? I've never noticed a problem with the kernel detecting and using
> the card with the correct settings, including the Soundblaster
> emulation. Of course, the card was set up in its current configuration a
> long time ago under DOS and I've never had an occasion to change it.
> That may have something to do with it.

Yes, that probably would have avoided the problem. The issue was that the code
was simply ORing the IRQ bits with whatever was previously in the register on
the card, instead of replacing them. This meant that if you were setting it to
use the same IRQ as it had already previously been using it was fine, but any
other setting caused it to combine bits from the new and old settings and use
some unpredictable IRQ instead.

-alex
-------------------------------------------------------------------------------
Alex Stewart - riche@crl.com - Richelieu @ Diversity University MOO
http://www.crl.com/~riche
"For the world is hollow, and I have touched the sky."

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