diff options
author | Harish Zunjarrao <harish.zunjarrao@qlogic.com> | 2008-07-10 19:55:49 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-26 15:14:37 -0400 |
commit | e5f5f6f72b10c4c6209f0522a7c5b27079d64429 (patch) | |
tree | 41b2addd52f655be73ffe70c0b71cf1c0ab80a49 /drivers/scsi/qla2xxx/qla_def.h | |
parent | 85821c906cf3563a00a3d98fa380a2581a7a5ff1 (diff) |
[SCSI] qla2xxx: Track total number of ISP aborts.
This parameter counts the total number of ISP aborts during
driver execution. The value is exported through a DEVICE_ATTR()
off the scsi_host.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 7b0ddc83413f..fe1eada6cfc2 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -2154,6 +2154,10 @@ struct qla_chip_state_84xx { | |||
2154 | uint32_t gold_fw_version; | 2154 | uint32_t gold_fw_version; |
2155 | }; | 2155 | }; |
2156 | 2156 | ||
2157 | struct qla_statistics { | ||
2158 | uint32_t total_isp_aborts; | ||
2159 | }; | ||
2160 | |||
2157 | /* | 2161 | /* |
2158 | * Linux Host Adapter structure | 2162 | * Linux Host Adapter structure |
2159 | */ | 2163 | */ |
@@ -2595,6 +2599,7 @@ typedef struct scsi_qla_host { | |||
2595 | int cur_vport_count; | 2599 | int cur_vport_count; |
2596 | 2600 | ||
2597 | struct qla_chip_state_84xx *cs84xx; | 2601 | struct qla_chip_state_84xx *cs84xx; |
2602 | struct qla_statistics qla_stats; | ||
2598 | } scsi_qla_host_t; | 2603 | } scsi_qla_host_t; |
2599 | 2604 | ||
2600 | 2605 | ||