diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2007-09-10 21:37:45 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 20:55:07 +0200 |
commit | 28424d3a503d43482a5537e556f7b7652d8e56d8 (patch) | |
tree | cfdfea7e635461887b735610d00d15fc41e6d19a /drivers/scsi/NCR5380.h | |
parent | [SCSI] usb storage: use scsi_eh API in REQUEST_SENSE execution (diff) | |
download | linux-28424d3a503d43482a5537e556f7b7652d8e56d8.tar.xz linux-28424d3a503d43482a5537e556f7b7652d8e56d8.zip |
[SCSI] NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
- Use new scsi_eh_prep/restor_cmnd() for synchronous
REQUEST_SENSE invocation.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/NCR5380.h')
-rw-r--r-- | drivers/scsi/NCR5380.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/NCR5380.h b/drivers/scsi/NCR5380.h index bccf13f71532..bdc468c9e1d9 100644 --- a/drivers/scsi/NCR5380.h +++ b/drivers/scsi/NCR5380.h @@ -30,6 +30,10 @@ #include <linux/interrupt.h> +#ifdef AUTOSENSE +#include <scsi/scsi_eh.h> +#endif + #define NCR5380_PUBLIC_RELEASE 7 #define NCR53C400_PUBLIC_RELEASE 2 @@ -281,6 +285,9 @@ struct NCR5380_hostdata { unsigned pendingr; unsigned pendingw; #endif +#ifdef AUTOSENSE + struct scsi_eh_save ses; +#endif }; #ifdef __KERNEL__ |