diff options
author | Sumant Patro <sumantp@lsil.com> | 2006-10-03 16:09:14 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-04 13:52:15 -0400 |
commit | 658dcedb4e35d77f7f6552b5a640d7d82c372053 (patch) | |
tree | 9d86c5a80429716111498e6b1f4f948b00fc2c73 /drivers/scsi/megaraid/megaraid_sas.h | |
parent | b274cab779219325fd480cc696a456d1c3893bd8 (diff) |
[SCSI] megaraid_sas: prints pending cmds before setting hw_crit_error
This patch adds function to print the pending frame details before returning
failure from the reset routine. It also exposes a new variable megasas_dbg_lvl
that allows the user to set the debug level for logging.
Signed-off-by: Sumant Patro <Sumant.Patro@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index 74feffe2fff3..ad7ef7444069 100644 --- a/drivers/scsi/megaraid/megaraid_sas.h +++ b/drivers/scsi/megaraid/megaraid_sas.h | |||
@@ -537,6 +537,8 @@ struct megasas_ctrl_info { | |||
537 | #define MEGASAS_MAX_LUN 8 | 537 | #define MEGASAS_MAX_LUN 8 |
538 | #define MEGASAS_MAX_LD 64 | 538 | #define MEGASAS_MAX_LD 64 |
539 | 539 | ||
540 | #define MEGASAS_DBG_LVL 1 | ||
541 | |||
540 | /* | 542 | /* |
541 | * When SCSI mid-layer calls driver's reset routine, driver waits for | 543 | * When SCSI mid-layer calls driver's reset routine, driver waits for |
542 | * MEGASAS_RESET_WAIT_TIME seconds for all outstanding IO to complete. Note | 544 | * MEGASAS_RESET_WAIT_TIME seconds for all outstanding IO to complete. Note |