patch-2.0.31 linux/drivers/sound/sb_common.c

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

diff -u --recursive --new-file v2.0.30/linux/drivers/sound/sb_common.c linux/drivers/sound/sb_common.c
@@ -583,6 +583,20 @@
  * Detect the device
  */
 
+  cli();			/* Some ESS1688 cards need this */
+  inb (devc->base + 0x9);
+  inb (devc->base + 0x9);
+  inb (devc->base + 0x9);
+  inb (devc->base + 0xb);
+  inb (devc->base + 0x9);
+  inb (devc->base + 0xb);
+  inb (devc->base + 0x9);
+  inb (devc->base + 0x9);
+  inb (devc->base + 0xb);
+  inb (devc->base + 0x9);
+  inb (devc->base);
+  sti();
+
   if (sb_dsp_reset (devc))
     dsp_get_vers (devc);
   else

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