[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>
This commit is contained in:

committed by
James Bottomley

parent
7c46c20aef
commit
ccf9ea91ab
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user