summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla1280.h
diff options
context:
space:
mode:
authorMichael Reed <mdr@sgi.com>2009-04-08 14:34:33 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-05-20 17:21:13 -0500
commit413e6e18b483de272bdafa56e5c086c75f11d681 (patch)
tree89a61e76f63b3c5c0b51e3115b7e5eaef78f2893 /drivers/scsi/qla1280.h
parentfd65e5e93cbd9d2f34bbb0f0b2f46a30a1d20915 (diff)
downloadop-kernel-dev-413e6e18b483de272bdafa56e5c086c75f11d681.zip
op-kernel-dev-413e6e18b483de272bdafa56e5c086c75f11d681.tar.gz
[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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla1280.h b/drivers/scsi/qla1280.h
index d7c44b8..834884b 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. */
OpenPOWER on IntegriCloud