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

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

diff -u --recursive --new-file v2.0.35/linux/drivers/sound/sb_common.c linux/drivers/sound/sb_common.c
@@ -1196,11 +1196,13 @@
     case MDL_SB16:
       if (hw_config->io_base != 0x300 && hw_config->io_base != 0x330)
 	{
-	  printk ("SB16: Invalid MIDI port %x\n", hw_config->irq);
+	  printk ("SB16: Invalid MIDI port %x\n", hw_config->io_base);
 	  return 0;
 	}
       hw_config->name = "Sound Blaster 16";
       hw_config->irq = -devc->irq;
+      hw_config->dma = -1;
+      hw_config->dma2 = -1;
       sb16_set_mpu_port(devc, hw_config);
       break;
 

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