patch-2.1.96 linux/include/scsi/sg.h

Next file: linux/init/main.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.95/linux/include/scsi/sg.h linux/include/scsi/sg.h
@@ -30,6 +30,12 @@
 #define SG_SET_TIMEOUT 0x2201  /* set timeout *(int *)arg==timeout */
 #define SG_GET_TIMEOUT 0x2202  /* get timeout return timeout */
 
+#define SG_EMULATED_HOST 0x2203 /* true for emulated host adapter (ATAPI) */
+
+/* Used to configure SCSI command transformation layer for ATAPI devices */
+#define SG_SET_TRANSFORM 0x2204
+#define SG_GET_TRANSFORM 0x2205
+
 #define SG_DEFAULT_TIMEOUT (60*HZ) /* 1 minute timeout */
 #define SG_DEFAULT_RETRIES 1
 

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