[SCSI] mpt2sas: Added sysfs counter for ioc reset
commitd32a8c15e1116e87f0105356eca1afb99842ab49
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 17 Jun 2010 08:06:53 +0000 (17 13:36 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:02:11 +0000 (27 12:02 -0500)
tree3795c1d0bd520021a21613ec063b557e51955cd0
parentb8d7d7bb37b5e25ea740369eb12de5279fe6ab30
[SCSI] mpt2sas: Added sysfs counter for ioc reset

Added a new sysfs shost attribute called ioc_reset_count. This will
keep count of host resets (both diagnostic and message unit).

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_base.h
drivers/scsi/mpt2sas/mpt2sas_ctl.c