patch-1.3.69 linux/drivers/sound/sb16_midi.c
Next file: linux/drivers/sound/sb_dsp.c
Previous file: linux/drivers/sound/sb16_dsp.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Fri Feb 23 14:55:16 1996
- Orig file:
v1.3.68/linux/drivers/sound/sb16_midi.c
- Orig date:
Wed Feb 14 14:37:15 1996
diff -u --recursive --new-file v1.3.68/linux/drivers/sound/sb16_midi.c linux/drivers/sound/sb16_midi.c
@@ -40,7 +40,7 @@
#define STATPORT (sb16midi_base+1)
extern int *sb_osp;
-static int sb16midi_base = 0x330;
+static int sb16midi_base = 0;
static int
sb16midi_status (void)
@@ -100,6 +100,9 @@
void
sb16midiintr (int unit)
{
+ if (sb16midi_base == 0)
+ return;
+
if (input_avail ())
sb16midi_input_loop ();
}
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