patch-2.1.70 linux/include/scsi/scsi.h
Next file: linux/init/main.c
Previous file: linux/include/linux/ucdrom.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Tue Dec 2 11:41:45 1997
- Orig file:
v2.1.69/linux/include/scsi/scsi.h
- Orig date:
Wed Nov 12 13:34:28 1997
diff -u --recursive --new-file v2.1.69/linux/include/scsi/scsi.h linux/include/scsi/scsi.h
@@ -135,6 +135,27 @@
#define TYPE_MEDIUM_CHANGER 0x08
#define TYPE_NO_LUN 0x7f
+/*
+ * standard mode-select header prepended to all mode-select commands
+ *
+ * moved here from cdrom.h -- kraxel
+ */
+
+struct ccs_modesel_head
+{
+ u_char _r1; /* reserved */
+ u_char medium; /* device-specific medium type */
+ u_char _r2; /* reserved */
+ u_char block_desc_length; /* block descriptor length */
+ u_char density; /* device-specific density code */
+ u_char number_blocks_hi; /* number of blocks in this block desc */
+ u_char number_blocks_med;
+ u_char number_blocks_lo;
+ u_char _r3;
+ u_char block_length_hi; /* block length for blocks in this desc */
+ u_char block_length_med;
+ u_char block_length_lo;
+};
/*
* MESSAGE CODES
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov