diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2010-06-17 12:06:53 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 21:02:11 +0400 |
commit | d32a8c15e1116e87f0105356eca1afb99842ab49 (patch) | |
tree | 3795c1d0bd520021a21613ec063b557e51955cd0 /drivers/scsi/mpt2sas/mpt2sas_base.h | |
parent | b8d7d7bb37b5e25ea740369eb12de5279fe6ab30 (diff) | |
download | linux-d32a8c15e1116e87f0105356eca1afb99842ab49.tar.xz |
[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>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.h')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index 6032cbf31c7e..a4a731529226 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.h +++ b/drivers/scsi/mpt2sas/mpt2sas_base.h @@ -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; |