diff options
author | Mike Christie <mchristi@redhat.com> | 2007-10-31 21:59:56 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:22:34 -0500 |
commit | 75a9a4e1476db705dbbcbd2e3a16b265ef8ec3e9 (patch) | |
tree | bb9ee1644e5f8519a9caa20e0c3439393723e4ae /drivers | |
parent | 062af9c300cd4c703c78bcc109647a9629afea0d (diff) |
[SCSI] add DID_REQUEUE string to scsi_show_result host table
I was working on patches which add new transport error values, when I
noticed that DID_REQUEUE was not in the hostbyte_table. I do not think
there is any way to hit the code path where scsi_show_result is called
and where you return DID_REQUEUE, because DID_REQUEUE causes scsi-ml to
always requeue the command. However, for completeness and because I want
to one day send a patch that tries to add new host bytes values, I am
sending this patch.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/constants.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/constants.c b/drivers/scsi/constants.c index 024553f9c247..fac4314cd2ad 100644 --- a/drivers/scsi/constants.c +++ b/drivers/scsi/constants.c | |||
@@ -1369,7 +1369,7 @@ EXPORT_SYMBOL(scsi_print_sense); | |||
1369 | static const char * const hostbyte_table[]={ | 1369 | static const char * const hostbyte_table[]={ |
1370 | "DID_OK", "DID_NO_CONNECT", "DID_BUS_BUSY", "DID_TIME_OUT", "DID_BAD_TARGET", | 1370 | "DID_OK", "DID_NO_CONNECT", "DID_BUS_BUSY", "DID_TIME_OUT", "DID_BAD_TARGET", |
1371 | "DID_ABORT", "DID_PARITY", "DID_ERROR", "DID_RESET", "DID_BAD_INTR", | 1371 | "DID_ABORT", "DID_PARITY", "DID_ERROR", "DID_RESET", "DID_BAD_INTR", |
1372 | "DID_PASSTHROUGH", "DID_SOFT_ERROR", "DID_IMM_RETRY"}; | 1372 | "DID_PASSTHROUGH", "DID_SOFT_ERROR", "DID_IMM_RETRY", "DID_REQUEUE"}; |
1373 | #define NUM_HOSTBYTE_STRS ARRAY_SIZE(hostbyte_table) | 1373 | #define NUM_HOSTBYTE_STRS ARRAY_SIZE(hostbyte_table) |
1374 | 1374 | ||
1375 | static const char * const driverbyte_table[]={ | 1375 | static const char * const driverbyte_table[]={ |