patch-2.1.102 linux/drivers/sound/mad16.c

Next file: linux/drivers/sound/maui.c
Previous file: linux/drivers/sound/lowlevel/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.101/linux/drivers/sound/mad16.c linux/drivers/sound/mad16.c
@@ -74,7 +74,7 @@
 
 #endif
 
-#if defined(CONFIG_MAD16) || defined(MODULE)
+#ifdef CONFIG_MAD16
 
 #include "sb.h"
 
@@ -407,11 +407,11 @@
 	mad_write(MC3_PORT, 0);	/* Disable SB mode IRQ and DMA */
 #ifdef MAD16_CDSEL
 	if(MAD16_CDSEL & 0x20)
-		mad_write(MC4_PORT, 0x66);	/* opl4 */
+		mad_write(MC4_PORT, 0x62);	/* opl4 */
 	else
-		mad_write(MC4_PORT, 0x56);	/* opl3 */
+		mad_write(MC4_PORT, 0x52);	/* opl3 */
 #else
-	mad_write(MC4_PORT, 0x56);
+	mad_write(MC4_PORT, 0x52);
 #endif
 	mad_write(MC5_PORT, 0x3C);	/* Init it into mode2 */
 	mad_write(MC6_PORT, 0x02);	/* Enable WSS, Disable MPU and SB */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov