patch-2.3.19 linux/drivers/scsi/scsi.h
Next file: linux/drivers/scsi/scsi_debug.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Mon Oct 4 14:34:58 1999
- Orig file:
v2.3.18/linux/drivers/scsi/scsi.h
- Orig date:
Tue Sep 7 12:14:06 1999
diff -u --recursive --new-file v2.3.18/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -385,6 +385,11 @@
*/
extern void scsi_do_cmd(Scsi_Cmnd *, const void *cmnd,
+ void *buffer, unsigned bufflen,
+ void (*done)(struct scsi_cmnd *),
+ int timeout, int retries);
+
+extern void scsi_wait_cmd (Scsi_Cmnd *, const void *cmnd ,
void *buffer, unsigned bufflen,
void (*done) (struct scsi_cmnd *),
int timeout, int retries);
@@ -570,12 +575,16 @@
reconnects. Probably == sector
size */
+ int resid; /* Number of bytes requested to be
+ transferred less actual number
+ transferred (0 if not supported) */
struct request request; /* A copy of the command we are
working on */
- unsigned char sense_buffer[16]; /* Sense for this command,
- needed */
+ unsigned char sense_buffer[64]; /* obtained by REQUEST SENSE when
+ CHECK CONDITION is received on
+ original command (auto-sense) */
unsigned flags;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)