Two minor 2.1.99 Sound Driver bug fixes

riffraff@kdi.com
Mon, 4 May 1998 02:06:25 -0500


Hello, these are just two minor bugfixes to the 2.1.99 Sound Driver modules.
First, the MPU401 module needs a couple of extra symbols exported. The
second patch is to the Ensoniq SoundScape module and fixes something I've
been having problems with for a while now. Very simple fix, once I finally
figured out where it was coming from. Without it, it attempts to free the
wrong IRQ and other such nasty stuff which gives me a "Trying to free free
IRQ" error message and keeps me from ever reloading the SoundScape module
since the module is 'busy' afterwards. With this one-line patch, it all
works fine again. Enjoy...

--- linux/drivers/sound/sound_syms.c.OLD Wed Apr 8 19:24:48 1998
+++ linux/drivers/sound/sound_syms.c Thu Apr 30 16:54:28 1998
@@ -26,6 +26,7 @@
EXPORT_SYMBOL(note_to_freq);
EXPORT_SYMBOL(compute_finetune);
EXPORT_SYMBOL(seq_copy_to_input);
+EXPORT_SYMBOL(seq_input_event);
EXPORT_SYMBOL(sequencer_init);
EXPORT_SYMBOL(sequencer_timer);

@@ -61,6 +62,7 @@
EXPORT_SYMBOL(sound_timer_init);
EXPORT_SYMBOL(sound_timer_interrupt);
EXPORT_SYMBOL(sound_timer_syncinterval);
+EXPORT_SYMBOL(sound_timer_devs);

/* Locking */
EXPORT_SYMBOL(sound_locker);
--- linux/drivers/sound/sscape.c.OLD Thu Feb 19 16:46:15 1998
+++ linux/drivers/sound/sscape.c Mon May 4 01:42:08 1998
@@ -970,7 +970,7 @@
if (mss)
unload_ss_ms_sound(&config);
SOUND_LOCK_END;
- unload_sscape(&config);
+ unload_sscape(&mpu_config);
}

#endif

-- 
Shawn McHorse      |        The Musical World of Rocky Horror
riffraff@kdi.com   |   (Obscure Distorted Instruments and Imagery)
Austin RHPS Cast   |         <http://www.kdi.com/~riffraff/>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu