Yet another mad16 patchie

Torsten Duwe (duwe@caldera.de)
Mon, 5 Jul 1999 18:04:07 +0200 (CEST)


Hi all,

just a quick note (after some debugging here) that in fact IRQ5 is valid on an
OPTi 924 in PnP mode. Please include it in future versions, TIA. BTW it's not
a nice move that the driver used to fail silently in that case :-(

Torsten

--- linux-2.2.10/linux/drivers/sound/mad16.c Mon Mar 8 00:22:06 1999
+++ linux/drivers/sound/mad16.c Mon Jul 5 17:38:59 1999
@@ -668,7 +668,7 @@
* Set the IRQ and DMA addresses.
*/

- if (board_type == C930)
+ if (board_type == C930 || c924pnp)
interrupt_bits[5] = 0x28; /* Also IRQ5 is possible on C930 */

bits = interrupt_bits[hw_config->irq];

-
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/