diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2007-04-26 17:00:12 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-06 10:33:19 -0400 |
commit | 65f5647544960a68030352015d0b4a6234a818f8 (patch) | |
tree | e862690a950706a514c3bb25012f8353db11dfe1 /drivers/scsi/ipr.h | |
parent | 8a048994f4be7d0b670a358cea7812c6d5232105 (diff) |
[SCSI] ipr: Handle IOA reset request
In ipr dual adapter configurations, the ipr adapter firmware
may require an adapter reset for various reasons. The reset
is requested by the adapter firmware logging an error with
an IOASC of 0x02048000. Add support to log this error, and
reset the adapter.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r-- | drivers/scsi/ipr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index bc53d7cebe0a..c7e045aa16a0 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -91,6 +91,7 @@ | |||
91 | * IOASCs | 91 | * IOASCs |
92 | */ | 92 | */ |
93 | #define IPR_IOASC_NR_INIT_CMD_REQUIRED 0x02040200 | 93 | #define IPR_IOASC_NR_INIT_CMD_REQUIRED 0x02040200 |
94 | #define IPR_IOASC_NR_IOA_RESET_REQUIRED 0x02048000 | ||
94 | #define IPR_IOASC_SYNC_REQUIRED 0x023f0000 | 95 | #define IPR_IOASC_SYNC_REQUIRED 0x023f0000 |
95 | #define IPR_IOASC_MED_DO_NOT_REALLOC 0x03110C00 | 96 | #define IPR_IOASC_MED_DO_NOT_REALLOC 0x03110C00 |
96 | #define IPR_IOASC_HW_SEL_TIMEOUT 0x04050000 | 97 | #define IPR_IOASC_HW_SEL_TIMEOUT 0x04050000 |