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

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

diff -u --recursive --new-file v2.1.95/linux/drivers/scsi/hosts.h linux/drivers/scsi/hosts.h
@@ -108,6 +108,11 @@
     const char *(* info)(struct Scsi_Host *);
 
     /*
+     * ioctl interface
+     */
+    int (*ioctl)(Scsi_Device *dev, int cmd, void *arg);
+
+    /*
      * The command function takes a target, a command (this is a SCSI
      * command formatted as per the SCSI spec, nothing strange), a
      * data buffer pointer, and data buffer length pointer.  The return
@@ -263,6 +268,11 @@
      * to use the new error handling code.
      */
     unsigned use_new_eh_code:1;
+
+    /*
+     * True for emulated SCSI host adapters (e.g. ATAPI)
+     */
+    unsigned emulated:1;
 
 } Scsi_Host_Template;
 

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