[SCSI] megaraid_sas: prints pending cmds before setting hw_crit_error
authorSumant Patro <sumantp@lsil.com>
Tue, 3 Oct 2006 20:09:14 +0000 (13:09 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 4 Oct 2006 17:52:15 +0000 (12:52 -0500)
commit658dcedb4e35d77f7f6552b5a640d7d82c372053
tree9d86c5a80429716111498e6b1f4f948b00fc2c73
parentb274cab779219325fd480cc696a456d1c3893bd8
[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>
drivers/scsi/megaraid/megaraid_sas.c
drivers/scsi/megaraid/megaraid_sas.h