patch-2.1.121 linux/drivers/scsi/st.h
Next file: linux/drivers/scsi/st_options.h
Previous file: linux/drivers/scsi/st.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sun Sep 6 09:48:30 1998
- Orig file:
v2.1.120/linux/drivers/scsi/st.h
- Orig date:
Thu Nov 13 07:23:32 1997
diff -u --recursive --new-file v2.1.120/linux/drivers/scsi/st.h linux/drivers/scsi/st.h
@@ -13,6 +13,7 @@
typedef struct {
unsigned char in_use;
unsigned char dma; /* DMA-able buffer */
+ int this_size; /* allocated size of the structure */
int buffer_size;
int buffer_blocks;
int buffer_bytes;
@@ -22,8 +23,10 @@
int last_result_fatal;
Scsi_Cmnd *last_SCpnt;
unsigned char *b_data;
- int orig_size;
- unsigned char *orig_b_data;
+ unsigned short use_sg; /* zero or number of segments for this adapter */
+ unsigned short sg_segs; /* total number of allocated segments */
+ unsigned short orig_sg_segs; /* number of segments allocated at first try */
+ struct scatterlist sg[1]; /* MUST BE last item */
} ST_buffer;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov