[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>
This commit is contained in:
Kashyap, Desai
2010-06-17 13:36:53 +05:30
committed by James Bottomley
parent b8d7d7bb37
commit d32a8c15e1
3 changed files with 32 additions and 2 deletions

View File

@@ -615,6 +615,7 @@ struct MPT2SAS_ADAPTER {
u16 msix_vector_count;
u32 *msix_table;
u32 *msix_table_backup;
u32 ioc_reset_count;
/* internal commands, callback index */
u8 scsi_io_cb_idx;