diff options
author | Sumant Patro <sumantp@lsil.com> | 2006-10-03 13:09:14 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-04 12:52:15 -0500 |
commit | 658dcedb4e35d77f7f6552b5a640d7d82c372053 (patch) | |
tree | 9d86c5a80429716111498e6b1f4f948b00fc2c73 /drivers/scsi/megaraid/megaraid_sas.h | |
parent | b274cab779219325fd480cc696a456d1c3893bd8 (diff) | |
download | blackbird-obmc-linux-658dcedb4e35d77f7f6552b5a640d7d82c372053.tar.gz blackbird-obmc-linux-658dcedb4e35d77f7f6552b5a640d7d82c372053.zip |
[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 { #define MEGASAS_MAX_LUN 8 #define MEGASAS_MAX_LD 64 +#define MEGASAS_DBG_LVL 1 + /* * When SCSI mid-layer calls driver's reset routine, driver waits for * MEGASAS_RESET_WAIT_TIME seconds for all outstanding IO to complete. Note |