patch-2.0.11 linux/drivers/sound/sb_common.c
Next file: linux/drivers/sound/sequencer.c
Previous file: linux/drivers/sound/sb_card.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Aug 4 12:42:54 1996
- Orig file:
v2.0.10/linux/drivers/sound/sb_common.c
- Orig date:
Thu Jul 11 18:22:34 1996
diff -u --recursive --new-file v2.0.10/linux/drivers/sound/sb_common.c linux/drivers/sound/sb_common.c
@@ -1163,6 +1163,9 @@
last_devc = 0;
+ if (hw_config->io_base <= 0)
+ return 0;
+
if (check_region (hw_config->io_base, 4))
{
printk ("sbmpu: I/O port conflict (%x)\n", hw_config->io_base);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov