diff options
Diffstat (limited to 'drivers/scsi/bfa/bfa_defs.h')
-rw-r--r-- | drivers/scsi/bfa/bfa_defs.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_defs.h b/drivers/scsi/bfa/bfa_defs.h index f0b251e928bf..daf7314d2eea 100644 --- a/drivers/scsi/bfa/bfa_defs.h +++ b/drivers/scsi/bfa/bfa_defs.h | |||
@@ -918,11 +918,40 @@ struct sfp_diag_ext_s { | |||
918 | u8 ext_status_ctl[2]; | 918 | u8 ext_status_ctl[2]; |
919 | }; | 919 | }; |
920 | 920 | ||
921 | /* | ||
922 | * Diagnostic: Data Fields -- Address A2h | ||
923 | * General Use Fields: User Writable Table - Features's Control Registers | ||
924 | * Total 32 bytes | ||
925 | */ | ||
926 | struct sfp_usr_eeprom_s { | ||
927 | u8 rsvd1[2]; /* 128-129 */ | ||
928 | u8 ewrap; /* 130 */ | ||
929 | u8 rsvd2[2]; /* */ | ||
930 | u8 owrap; /* 133 */ | ||
931 | u8 rsvd3[2]; /* */ | ||
932 | u8 prbs; /* 136: PRBS 7 generator */ | ||
933 | u8 rsvd4[2]; /* */ | ||
934 | u8 tx_eqz_16; /* 139: TX Equalizer (16xFC) */ | ||
935 | u8 tx_eqz_8; /* 140: TX Equalizer (8xFC) */ | ||
936 | u8 rsvd5[2]; /* */ | ||
937 | u8 rx_emp_16; /* 143: RX Emphasis (16xFC) */ | ||
938 | u8 rx_emp_8; /* 144: RX Emphasis (8xFC) */ | ||
939 | u8 rsvd6[2]; /* */ | ||
940 | u8 tx_eye_adj; /* 147: TX eye Threshold Adjust */ | ||
941 | u8 rsvd7[3]; /* */ | ||
942 | u8 tx_eye_qctl; /* 151: TX eye Quality Control */ | ||
943 | u8 tx_eye_qres; /* 152: TX eye Quality Result */ | ||
944 | u8 rsvd8[2]; /* */ | ||
945 | u8 poh[3]; /* 155-157: Power On Hours */ | ||
946 | u8 rsvd9[2]; /* */ | ||
947 | }; | ||
948 | |||
921 | struct sfp_mem_s { | 949 | struct sfp_mem_s { |
922 | struct sfp_srlid_base_s srlid_base; | 950 | struct sfp_srlid_base_s srlid_base; |
923 | struct sfp_srlid_ext_s srlid_ext; | 951 | struct sfp_srlid_ext_s srlid_ext; |
924 | struct sfp_diag_base_s diag_base; | 952 | struct sfp_diag_base_s diag_base; |
925 | struct sfp_diag_ext_s diag_ext; | 953 | struct sfp_diag_ext_s diag_ext; |
954 | struct sfp_usr_eeprom_s usr_eeprom; | ||
926 | }; | 955 | }; |
927 | 956 | ||
928 | /* | 957 | /* |