aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/NCR5380.h
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2007-09-10 15:37:45 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:55:07 -0400
commit28424d3a503d43482a5537e556f7b7652d8e56d8 (patch)
treecfdfea7e635461887b735610d00d15fc41e6d19a /drivers/scsi/NCR5380.h
parentdff6de73f9d29868729cb1d21d86ba0dbd28871f (diff)
[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.h7
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 @@
30 30
31#include <linux/interrupt.h> 31#include <linux/interrupt.h>
32 32
33#ifdef AUTOSENSE
34#include <scsi/scsi_eh.h>
35#endif
36
33#define NCR5380_PUBLIC_RELEASE 7 37#define NCR5380_PUBLIC_RELEASE 7
34#define NCR53C400_PUBLIC_RELEASE 2 38#define NCR53C400_PUBLIC_RELEASE 2
35 39
@@ -281,6 +285,9 @@ struct NCR5380_hostdata {
281 unsigned pendingr; 285 unsigned pendingr;
282 unsigned pendingw; 286 unsigned pendingw;
283#endif 287#endif
288#ifdef AUTOSENSE
289 struct scsi_eh_save ses;
290#endif
284}; 291};
285 292
286#ifdef __KERNEL__ 293#ifdef __KERNEL__