Patch for GUS MAX sound module 2.1.72

Frank van de Pol (F.K.W.van.de.Pol@inter.nl.net)
Thu, 11 Dec 1997 21:56:41 +0100 (MET)


I just moved from 2.1.65 to 2.1.72, and found that it didn't compile for the
Gravis Ultrasound MAX. Next patch against 2.1.72 did work for me.

--- Makefile.2.1.72 Wed Dec 10 22:51:45 1997
+++ Makefile Thu Dec 11 20:31:36 1997
@@ -91,6 +91,9 @@
else
ifeq ($(CONFIG_GUS),m)
M_OBJS += gus.o
+ ifeq ($(CONFIG_GUSMAX),y)
+ MX_OBJS += ad1848.o
+ endif
endif
endif

--- gus_card.c.2.1.72 Thu Dec 11 01:01:55 1997
+++ gus_card.c Thu Dec 11 01:02:23 1997
@@ -259,8 +259,10 @@
void
cleanup_module(void)
{
+#if defined(CONFIG_GUS16)
if (db16)
unload_gus_db16(&config);
+#endif
unload_gus(&config);
SOUND_LOCK_END;
}
--- ad1848.c.2.1.72 Thu Dec 11 01:05:56 1997
+++ ad1848.c Thu Dec 11 01:07:19 1997
@@ -2521,6 +2521,7 @@
EXPORT_SYMBOL(ad1848_detect);
EXPORT_SYMBOL(ad1848_init);
EXPORT_SYMBOL(ad1848_unload);
+EXPORT_SYMBOL(ad1848_control);
EXPORT_SYMBOL(adintr);
EXPORT_SYMBOL(probe_ms_sound);
EXPORT_SYMBOL(attach_ms_sound);

========================---------------->
#define NAME "Frank van de Pol"
#define ADDRESS "mgr. Nelislaan 10"
#define CITY "4741 AB Hoeven"
#define COUNTRY "The Netherlands"
#define EMAIL "F.K.W.van.de.Pol@inter.NL.net

Linux - Why use Windows, since there is a door?