patch-1.3.18 linux/drivers/sound/sb_dsp.c

Next file: linux/drivers/sound/sequencer.c
Previous file: linux/drivers/sound/sb16_dsp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.17/linux/drivers/sound/sb_dsp.c linux/drivers/sound/sb_dsp.c
@@ -1139,6 +1139,13 @@
 	}
     }
 
+  if (sbc_major == 0)
+    {
+      printk ("\n\nFailed to get SB version (%x) - possible I/O conflict\n\n",
+	      INB (DSP_DATA_AVAIL));
+      sbc_major = 1;
+    }
+
   if (sbc_major == 2 || sbc_major == 3)
     sb_duplex_midi = 1;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this