patch-2.1.102 linux/drivers/sound/sb.h

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

diff -u --recursive --new-file v2.1.101/linux/drivers/sound/sb.h linux/drivers/sound/sb.h
@@ -1,4 +1,5 @@
 #include <linux/config.h>
+#include "legacy.h"
 
 #ifdef CONFIG_SBDSP
 #define DSP_RESET	(devc->base + 0x6)
@@ -112,6 +113,7 @@
 	   int input_opened;
 	   int midi_broken;
 	   void (*midi_input_intr) (int dev, unsigned char data);
+	   void *midi_irq_cookie;	/* IRQ cookie for the midi */
 	} sb_devc;
 
 int sb_dsp_command (sb_devc *devc, unsigned char val);
@@ -131,4 +133,5 @@
 int ess_read (sb_devc *devc, unsigned char reg);
 
 extern int acer;
+extern sb_devc *last_sb;
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov