diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2008-01-17 12:02:08 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-23 12:29:29 -0500 |
commit | 43ef058010c79a967195539bbcdeee8c5b24219d (patch) | |
tree | b0d13f3b2a79777a306d9c84adbfec3499c97af0 /drivers/scsi/qla2xxx/qla_def.h | |
parent | 4733fcb1fe4d64402a8bd18cec766e8b8ad25eee (diff) |
[SCSI] qla2xxx: Retrieve additional HBA port statistics from recent ISPs.
HBAs supporting these additional counters include ISP24xx and
ISP25xx type boards.
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 | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index fe8f7828f592..a33d3d57a17e 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -862,14 +862,20 @@ typedef struct { | |||
862 | #define GLSO_SEND_RPS BIT_0 | 862 | #define GLSO_SEND_RPS BIT_0 |
863 | #define GLSO_USE_DID BIT_3 | 863 | #define GLSO_USE_DID BIT_3 |
864 | 864 | ||
865 | typedef struct { | 865 | struct link_statistics { |
866 | uint32_t link_fail_cnt; | 866 | uint32_t link_fail_cnt; |
867 | uint32_t loss_sync_cnt; | 867 | uint32_t loss_sync_cnt; |
868 | uint32_t loss_sig_cnt; | 868 | uint32_t loss_sig_cnt; |
869 | uint32_t prim_seq_err_cnt; | 869 | uint32_t prim_seq_err_cnt; |
870 | uint32_t inval_xmit_word_cnt; | 870 | uint32_t inval_xmit_word_cnt; |
871 | uint32_t inval_crc_cnt; | 871 | uint32_t inval_crc_cnt; |
872 | } link_stat_t; | 872 | uint32_t unused1[0x1b]; |
873 | uint32_t tx_frames; | ||
874 | uint32_t rx_frames; | ||
875 | uint32_t dumped_frames; | ||
876 | uint32_t unused2[2]; | ||
877 | uint32_t nos_rcvd; | ||
878 | }; | ||
873 | 879 | ||
874 | /* | 880 | /* |
875 | * NVRAM Command values. | 881 | * NVRAM Command values. |