patch-2.4.7 linux/drivers/scsi/st.h

Next file: linux/drivers/scsi/sym53c8xx.c
Previous file: linux/drivers/scsi/st.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/drivers/scsi/st.h linux/drivers/scsi/st.h
@@ -9,6 +9,7 @@
 #include "scsi.h"
 #endif
 #include <linux/devfs_fs_kernel.h>
+#include <linux/completion.h>
 
 /* The tape buffer descriptor. */
 typedef struct {
@@ -67,7 +68,7 @@
 	kdev_t devt;
 	Scsi_Device *device;
 	struct semaphore lock;	/* For serialization */
-	struct semaphore sem;	/* For SCSI commands */
+	struct completion wait;	/* For SCSI commands */
 	ST_buffer *buffer;
 
 	/* Drive characteristics */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)