Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixgbe/ixgbe_phy.h
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
/* Bitmasks */ | /* Bitmasks */ | ||||
#define IXGBE_SFF_DA_PASSIVE_CABLE 0x4 | #define IXGBE_SFF_DA_PASSIVE_CABLE 0x4 | ||||
#define IXGBE_SFF_DA_ACTIVE_CABLE 0x8 | #define IXGBE_SFF_DA_ACTIVE_CABLE 0x8 | ||||
#define IXGBE_SFF_DA_SPEC_ACTIVE_LIMITING 0x4 | #define IXGBE_SFF_DA_SPEC_ACTIVE_LIMITING 0x4 | ||||
#define IXGBE_SFF_1GBASESX_CAPABLE 0x1 | #define IXGBE_SFF_1GBASESX_CAPABLE 0x1 | ||||
#define IXGBE_SFF_1GBASELX_CAPABLE 0x2 | #define IXGBE_SFF_1GBASELX_CAPABLE 0x2 | ||||
#define IXGBE_SFF_1GBASET_CAPABLE 0x8 | #define IXGBE_SFF_1GBASET_CAPABLE 0x8 | ||||
#define IXGBE_SFF_10GBASESR_CAPABLE 0x10 | #define IXGBE_SFF_10GBASESR_CAPABLE 0x10 | ||||
erj: I don't see this internally; this may have been removed? Or it may be some strange DPDK… | |||||
Done Inline ActionsIt seems like a DPDK customer request for long range optics. I'll leave it out. kbowling: It seems like a DPDK customer request for long range optics. I'll leave it out. | |||||
#define IXGBE_SFF_10GBASELR_CAPABLE 0x20 | #define IXGBE_SFF_10GBASELR_CAPABLE 0x20 | ||||
#define IXGBE_SFF_SOFT_RS_SELECT_MASK 0x8 | #define IXGBE_SFF_SOFT_RS_SELECT_MASK 0x8 | ||||
#define IXGBE_SFF_SOFT_RS_SELECT_10G 0x8 | #define IXGBE_SFF_SOFT_RS_SELECT_10G 0x8 | ||||
#define IXGBE_SFF_SOFT_RS_SELECT_1G 0x0 | #define IXGBE_SFF_SOFT_RS_SELECT_1G 0x0 | ||||
#define IXGBE_SFF_ADDRESSING_MODE 0x4 | #define IXGBE_SFF_ADDRESSING_MODE 0x4 | ||||
#define IXGBE_SFF_QSFP_DA_ACTIVE_CABLE 0x1 | #define IXGBE_SFF_QSFP_DA_ACTIVE_CABLE 0x1 | ||||
#define IXGBE_SFF_QSFP_DA_PASSIVE_CABLE 0x8 | #define IXGBE_SFF_QSFP_DA_PASSIVE_CABLE 0x8 | ||||
#define IXGBE_SFF_QSFP_CONNECTOR_NOT_SEPARABLE 0x23 | #define IXGBE_SFF_QSFP_CONNECTOR_NOT_SEPARABLE 0x23 | ||||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
#define IXGBE_I2C_T_SU_STA 5 | #define IXGBE_I2C_T_SU_STA 5 | ||||
#define IXGBE_I2C_T_HD_DATA 5 | #define IXGBE_I2C_T_HD_DATA 5 | ||||
#define IXGBE_I2C_T_SU_DATA 1 | #define IXGBE_I2C_T_SU_DATA 1 | ||||
#define IXGBE_I2C_T_RISE 1 | #define IXGBE_I2C_T_RISE 1 | ||||
#define IXGBE_I2C_T_FALL 1 | #define IXGBE_I2C_T_FALL 1 | ||||
#define IXGBE_I2C_T_SU_STO 4 | #define IXGBE_I2C_T_SU_STO 4 | ||||
#define IXGBE_I2C_T_BUF 5 | #define IXGBE_I2C_T_BUF 5 | ||||
#ifndef IXGBE_SFP_DETECT_RETRIES | |||||
#define IXGBE_SFP_DETECT_RETRIES 10 | #define IXGBE_SFP_DETECT_RETRIES 10 | ||||
#endif /* IXGBE_SFP_DETECT_RETRIES */ | |||||
#define IXGBE_TN_LASI_STATUS_REG 0x9005 | #define IXGBE_TN_LASI_STATUS_REG 0x9005 | ||||
#define IXGBE_TN_LASI_STATUS_TEMP_ALARM 0x0008 | #define IXGBE_TN_LASI_STATUS_TEMP_ALARM 0x0008 | ||||
/* SFP+ SFF-8472 Compliance */ | /* SFP+ SFF-8472 Compliance */ | ||||
#define IXGBE_SFF_SFF_8472_UNSUP 0x00 | #define IXGBE_SFF_SFF_8472_UNSUP 0x00 | ||||
s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); | s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); | ||||
bool ixgbe_validate_phy_addr(struct ixgbe_hw *hw, u32 phy_addr); | bool ixgbe_validate_phy_addr(struct ixgbe_hw *hw, u32 phy_addr); | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |
I don't see this internally; this may have been removed? Or it may be some strange DPDK-specific thing.