patch-2.1.6 linux/drivers/sound/sb_midi.c
Next file: linux/drivers/sound/sb_mixer.c
Previous file: linux/drivers/sound/sb_common.c
Back to the patch index
Back to the overall index
- Lines: 62
- Date:
Tue Oct 29 09:31:51 1996
- Orig file:
v2.1.5/linux/drivers/sound/sb_midi.c
- Orig date:
Wed Aug 7 12:31:22 1996
diff -u --recursive --new-file v2.1.5/linux/drivers/sound/sb_midi.c linux/drivers/sound/sb_midi.c
@@ -6,7 +6,7 @@
/*
* Copyright (C) by Hannu Savolainen 1993-1996
*
- * USS/Lite for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
+ * OSS/Free for Linux is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
* Version 2 (June 1991). See the "COPYING" file distributed with this software
* for more info.
*/
@@ -40,14 +40,14 @@
unsigned long flags;
if (devc == NULL)
- return -(ENXIO);
+ return -ENXIO;
save_flags (flags);
cli ();
if (devc->opened)
{
restore_flags (flags);
- return -(EBUSY);
+ return -EBUSY;
}
devc->opened = 1;
restore_flags (flags);
@@ -59,7 +59,7 @@
if (!sb_dsp_command (devc, 0x35)) /* Start MIDI UART mode */
{
devc->opened = 0;
- return -(EIO);
+ return -EIO;
}
devc->intr_active = 1;
@@ -97,7 +97,7 @@
sb_devc *devc = midi_devs[dev]->devc;
if (devc == NULL)
- return -(ENXIO);
+ return -ENXIO;
sb_dsp_command (devc, midi_byte);
@@ -116,7 +116,7 @@
sb_devc *devc = midi_devs[dev]->devc;
if (devc == NULL)
- return -(ENXIO);
+ return -ENXIO;
sb_dsp_reset (devc);
devc->intr_active = 0;
@@ -126,7 +126,7 @@
static int
sb_midi_ioctl (int dev, unsigned cmd, caddr_t arg)
{
- return -(EPERM);
+ return -EPERM;
}
void
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov