patch-2.1.96 linux/drivers/scsi/ide-scsi.h

Next file: linux/drivers/scsi/in2000.c
Previous file: linux/drivers/scsi/ide-scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.95/linux/drivers/scsi/ide-scsi.h linux/drivers/scsi/ide-scsi.h
@@ -10,6 +10,7 @@
 extern int idescsi_detect (Scsi_Host_Template *host_template);
 extern int idescsi_release (struct Scsi_Host *host);
 extern const char *idescsi_info (struct Scsi_Host *host);
+extern int idescsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
 extern int idescsi_queue (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
 extern int idescsi_abort (Scsi_Cmnd *cmd);
 extern int idescsi_reset (Scsi_Cmnd *cmd, unsigned int resetflags);
@@ -20,6 +21,7 @@
 	detect:          idescsi_detect,	/* detect	*/		\
 	release:         idescsi_release,	/* release	*/		\
 	info:            idescsi_info,		/* info		*/		\
+	ioctl:           idescsi_ioctl,		/* ioctl        */		\
 	queuecommand:    idescsi_queue,		/* queuecommand */		\
 	abort:           idescsi_abort,		/* abort	*/		\
 	reset:           idescsi_reset,		/* reset	*/		\
@@ -28,7 +30,8 @@
 	this_id:         -1,			/* this_id	*/		\
 	sg_tablesize:    256,			/* sg_tablesize	*/		\
 	cmd_per_lun:     5,			/* cmd_per_lun	*/		\
-	use_clustering:  DISABLE_CLUSTERING	/* clustering	*/		\
+	use_clustering:  DISABLE_CLUSTERING,	/* clustering	*/		\
+	emulated:        1			/* emulated     */		\
 }
 
 #endif /* IDESCSI_H */

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