patch-1.3.38 linux/drivers/sound/os.h

Next file: linux/drivers/sound/pas2_card.c
Previous file: linux/drivers/sound/opl3.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/drivers/sound/os.h linux/drivers/sound/os.h
@@ -1,14 +1,9 @@
-
 #define ALLOW_SELECT
-#define ALLOW_BUFFER_MAPPING
+#undef ALLOW_BUFFER_MAPPING
 #undef NO_INLINE_ASM
 #undef SHORT_BANNERS
 
-#ifdef MODULE
-#include <linux/config.h>
 #include <linux/module.h>
-#include <linux/version.h>
-#endif
 
 #include <linux/param.h>
 #include <linux/types.h>
@@ -29,6 +24,7 @@
 #include <linux/string.h>
 #include <linux/ioport.h>
 
+
 #include <linux/soundcard.h>
 
 typedef char snd_rw_buf;
@@ -38,7 +34,7 @@
 #define TRUE	1
 
 struct snd_wait {
-	  int mode; int aborting;
+	  int mode;
 	};
 
 extern int sound_alloc_dma(int chn, char *deviceID);
@@ -50,7 +46,5 @@
 
 extern caddr_t sound_mem_blocks[1024];
 extern int sound_num_blocks;
-
-#define SND_SA_INTERRUPT
 
 typedef int sound_os_info;

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