patch-2.2.11 linux/drivers/sound/mpu401.c
Next file: linux/drivers/sound/opl3sa2.c
Previous file: linux/drivers/sound/maui.c
Back to the patch index
Back to the overall index
-  Lines: 24
-  Date:
Mon Aug  9 12:04:40 1999
-  Orig file: 
v2.2.10/linux/drivers/sound/mpu401.c
-  Orig date: 
Thu May 14 10:33:17 1998
diff -u --recursive --new-file v2.2.10/linux/drivers/sound/mpu401.c linux/drivers/sound/mpu401.c
@@ -437,6 +437,15 @@
 	devc->m_busy = 0;
 }
 
+int intchk_mpu401(void *dev_id)
+{
+	struct mpu_config *devc;
+	int dev = (int) dev_id;
+
+	devc = &dev_conf[dev];
+	return input_avail(devc);
+}
+
 void mpuintr(int irq, void *dev_id, struct pt_regs *dummy)
 {
 	struct mpu_config *devc;
@@ -1715,6 +1724,7 @@
 EXPORT_SYMBOL(probe_mpu401);
 EXPORT_SYMBOL(attach_mpu401);
 EXPORT_SYMBOL(unload_mpu401);
+EXPORT_SYMBOL(intchk_mpu401);
 EXPORT_SYMBOL(mpuintr);
 
 #ifdef MODULE
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)