Lines Matching +full:diag +full:- +full:version
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
4 * Copyright (c) 2014- QLogic Corporation.
8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter.
34 BFA_MFG_TYPE_LIGHTNING_P0 = 902, /* Lightning mezz card - old */
102 * All numerical fields are in big-endian format.
105 u8 version; /* vpd data version */ member
125 BFA_STATUS_ETIMER = 5, /* Timer expired - Retry, if persists,
129 BFA_STATUS_SFP_UNSUPP = 10, /* Unsupported SFP - Replace SFP */
131 BFA_STATUS_DATACORRUPTED = 12, /* Diag returned data corrupted */
132 BFA_STATUS_DEVBUSY = 13, /* Device busy - Retry operation */
148 BFA_STATUS_IOC_FAILURE = 56, /* IOC failure - Retry, if persists
153 BFA_STATUS_VERSION_FAIL = 70, /* Application/Driver version mismatch */
154 BFA_STATUS_DIAG_BUSY = 71, /* diag busy */
165 BFA_STATUS_PBC = 154, /* Operation not allowed for pre-boot
194 BFA_STATUS_DPORT_ENABLED = 235, /* D-port mode is already enabled */
195 BFA_STATUS_DPORT_DISABLED = 236, /* D-port mode is already disabled */
198 BFA_STATUS_DPORT_NO_SFP = 243, /* SFP is not present.\n D-port will be
201 BFA_STATUS_DPORT_ERR = 245, /* D-port mode is enabled */
212 * Valid range is [1-15] */
223 BFA_STATUS_DPORT_INV_SFP = 271, /* Invalid SFP for D-PORT mode. */
246 * ---------------------- adapter definitions ------------
300 * ---------------------- IOC definitions ------------
313 char driver_ver[BFA_VERSION_LEN]; /* driver version */
314 char fw_ver[BFA_VERSION_LEN]; /* firmware version */
315 char bios_ver[BFA_VERSION_LEN]; /* bios version */
316 char efi_ver[BFA_VERSION_LEN]; /* EFI version */
317 char ob_ver[BFA_VERSION_LEN]; /* openboot version */
344 BFA_IOC_FAIL = 8, /* IOC heart-beat failure */
548 * ---------------------- mfg definitions ------------
580 * All numerical fields are in big-endian format.
583 u8 version; /*!< manufacturing block version */ member
621 * ---------------------- pci definitions ------------
650 * PCI sub-system device and vendor ID information
666 * bits to specify speeds to be selected for auto-negotiation.
705 struct scsi_lun lun; /* 64-bit lun */
713 u8 version; member
736 u8 version; member
801 #define SFP_DIAGMON_SIZE 10 /* num bytes of diag monitor data */
824 SFP_XMTR_TECH_CU = (1 << 0), /* copper FC-BaseT */
830 SFP_XMTR_TECH_EL_INTRA = (1 << 6), /* elec intra-enclosure */
831 SFP_XMTR_TECH_EL_INTER = (1 << 7), /* elec inter-enclosure */
837 * Serial ID: Data Fields -- Address A0h
844 u8 xcvr[8]; /* 03-10: Transceiver */
854 u8 vendor_name[16];/* 20-35 */
856 u8 vendor_oui[3]; /* 37-39 */
857 u8 vendor_pn[16]; /* 40-55 */
858 u8 vendor_rev[4]; /* 56-59 */
859 u8 wavelen[2]; /* 60-61 */
865 * Serial ID: Data Fields -- Address A0h
881 * Diagnostic: Data Fields -- Address A2h
888 u8 temp_high_alarm[2]; /* 00-01 */
889 u8 temp_low_alarm[2]; /* 02-03 */
890 u8 temp_high_warning[2]; /* 04-05 */
891 u8 temp_low_warning[2]; /* 06-07 */
893 u8 volt_high_alarm[2]; /* 08-09 */
894 u8 volt_low_alarm[2]; /* 10-11 */
895 u8 volt_high_warning[2]; /* 12-13 */
896 u8 volt_low_warning[2]; /* 14-15 */
898 u8 bias_high_alarm[2]; /* 16-17 */
899 u8 bias_low_alarm[2]; /* 18-19 */
900 u8 bias_high_warning[2]; /* 20-21 */
901 u8 bias_low_warning[2]; /* 22-23 */
903 u8 tx_pwr_high_alarm[2]; /* 24-25 */
904 u8 tx_pwr_low_alarm[2]; /* 26-27 */
905 u8 tx_pwr_high_warning[2]; /* 28-29 */
906 u8 tx_pwr_low_warning[2]; /* 30-31 */
908 u8 rx_pwr_high_alarm[2]; /* 32-33 */
909 u8 rx_pwr_low_alarm[2]; /* 34-35 */
910 u8 rx_pwr_high_warning[2]; /* 36-37 */
911 u8 rx_pwr_low_warning[2]; /* 38-39 */
928 * Diagnostic: Data Fields -- Address A2h
932 u8 diag[SFP_DIAGMON_SIZE]; member
943 * Diagnostic: Data Fields -- Address A2h
944 * General Use Fields: User Writable Table - Features's Control Registers
948 u8 rsvd1[2]; /* 128-129 */
966 u8 poh[3]; /* 155-157: Power On Hours */
979 * transceiver codes (SFF-8472 Rev 10.2 Table 3.5)
1112 BFA_FLASH_PART_PBC = 10, /* pre-boot config */
1131 char rsv[BFA_FLASH_PART_ENTRY_SIZE - 24];
1144 * DIAG module specific
1172 u32 badfrminf; /* mis-match info */
1173 u32 badfrmnum; /* mis-match fram number */
1257 u32 fw_ver; /* firmware version */