diff options
author | Michael Reed <mdr@sgi.com> | 2009-04-08 23:34:33 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-21 02:21:13 +0400 |
commit | 413e6e18b483de272bdafa56e5c086c75f11d681 (patch) | |
tree | 89a61e76f63b3c5c0b51e3115b7e5eaef78f2893 /drivers/scsi/qla1280.h | |
parent | fd65e5e93cbd9d2f34bbb0f0b2f46a30a1d20915 (diff) | |
download | linux-413e6e18b483de272bdafa56e5c086c75f11d681.tar.xz |
[SCSI] qla1280: error recovery rewrite
The driver now waits for the scsi commands associated with a
particular error recovery step to be returned to the mid-layer,
and returns the appropriate SUCCESS or FAILED status. Removes
unneeded polling of chip for interrupts.
This patch also bumps the driver version number.
Signed-off-by: Michael Reed <mdr@sgi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla1280.h')
-rw-r--r-- | drivers/scsi/qla1280.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla1280.h b/drivers/scsi/qla1280.h index d7c44b8d2b4f..834884b9eed5 100644 --- a/drivers/scsi/qla1280.h +++ b/drivers/scsi/qla1280.h @@ -88,7 +88,8 @@ /* Maximum outstanding commands in ISP queues */ #define MAX_OUTSTANDING_COMMANDS 512 -#define INVALID_HANDLE (MAX_OUTSTANDING_COMMANDS + 2) +#define COMPLETED_HANDLE ((unsigned char *) \ + (MAX_OUTSTANDING_COMMANDS + 2)) /* ISP request and response entry counts (37-65535) */ #define REQUEST_ENTRY_CNT 255 /* Number of request entries. */ |