patch-2.4.15 linux/drivers/scsi/st.h
Next file: linux/drivers/scsi/sym53c8xx_2/ChangeLog.txt
Previous file: linux/drivers/scsi/st.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Fri Nov 9 13:52:21 2001
- Orig file:
v2.4.14/linux/drivers/scsi/st.h
- Orig date:
Mon Aug 27 12:41:44 2001
diff -u --recursive --new-file v2.4.14/linux/drivers/scsi/st.h linux/drivers/scsi/st.h
@@ -1,9 +1,6 @@
#ifndef _ST_H
#define _ST_H
-/*
- $Header: /usr/src/linux/kernel/blk_drv/scsi/RCS/st.h,v 1.1 1992/04/24 18:01:50 root Exp root $
- */
#ifndef _SCSI_H
#include "scsi.h"
@@ -78,9 +75,13 @@
unsigned char can_partitions;
unsigned char two_fm;
unsigned char fast_mteom;
+ unsigned char immediate;
unsigned char restr_dma;
unsigned char scsi2_logical;
unsigned char default_drvbuffer; /* 0xff = don't touch, value 3 bits */
+ unsigned char cln_mode; /* 0 = none, otherwise sense byte nbr */
+ unsigned char cln_sense_value;
+ unsigned char cln_sense_mask;
unsigned char use_pf; /* Set Page Format bit in all mode selects? */
int tape_type;
int write_threshold;
@@ -112,6 +113,7 @@
unsigned char autorew_dev; /* auto-rewind device */
unsigned char rew_at_close; /* rewind necessary at close */
unsigned char inited;
+ unsigned char cleaning_req; /* cleaning requested? */
int block_size;
int min_block;
int max_block;
@@ -167,5 +169,7 @@
#define ST_DONT_TOUCH 0
#define ST_NO 1
#define ST_YES 2
+
+#define EXTENDED_SENSE_START 18
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)