diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2007-09-10 22:39:11 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-11 12:43:12 -0600 |
commit | ccf9ea91aba0d3b8145900ec02f6edf03dda708c (patch) | |
tree | 0edc087a5553252599964ed39a986db0ef4cfc54 /drivers/scsi/arm/fas216.h | |
parent | 7c46c20aef185c3782d28c5111dcf1df88bbab32 (diff) | |
download | linux-ccf9ea91aba0d3b8145900ec02f6edf03dda708c.tar.bz2 |
[SCSI] fas216: Use scsi_eh API for REQUEST_SENSE invocation
Use new scsi_eh_prep/restor_cmnd() for synchronous REQUEST_SENSE
invocation. This also converts the driver to the new accessor based
scatterlist implementation.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/arm/fas216.h')
-rw-r--r-- | drivers/scsi/arm/fas216.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/arm/fas216.h b/drivers/scsi/arm/fas216.h index 00e5f055afdc..3e73e264972e 100644 --- a/drivers/scsi/arm/fas216.h +++ b/drivers/scsi/arm/fas216.h @@ -16,6 +16,8 @@ #define NO_IRQ 255 #endif +#include <scsi/scsi_eh.h> + #include "queue.h" #include "msgqueue.h" @@ -311,6 +313,7 @@ typedef struct { /* miscellaneous */ int internal_done; /* flag to indicate request done */ + struct scsi_eh_save *ses; /* holds request sense restore info */ unsigned long magic_end; } FAS216_Info; |