net/hns3: fix typos on comments
[dpdk.git] / drivers / net / txgbe / base / txgbe_type.h
index 0ce4692..b69e7b8 100644 (file)
@@ -601,6 +601,7 @@ struct txgbe_mac_info {
        s32 (*setup_eee)(struct txgbe_hw *hw, bool enable_eee);
 
        s32 (*kr_handle)(struct txgbe_hw *hw);
+       void (*bp_down_event)(struct txgbe_hw *hw);
 
        enum txgbe_mac_type type;
        u8 addr[ETH_ADDR_LEN];
@@ -686,18 +687,33 @@ struct txgbe_phy_info {
        bool qsfp_shared_i2c_bus;
        u32 nw_mng_if_sel;
        u32 link_mode;
+
+       /* Some features need tri-state capability */
+       u16 ffe_set;
+       u16 ffe_main;
+       u16 ffe_pre;
+       u16 ffe_post;
 };
 
 #define TXGBE_DEVARG_BP_AUTO           "auto_neg"
 #define TXGBE_DEVARG_KR_POLL           "poll"
 #define TXGBE_DEVARG_KR_PRESENT                "present"
 #define TXGBE_DEVARG_KX_SGMII          "sgmii"
+#define TXGBE_DEVARG_FFE_SET           "ffe_set"
+#define TXGBE_DEVARG_FFE_MAIN          "ffe_main"
+#define TXGBE_DEVARG_FFE_PRE           "ffe_pre"
+#define TXGBE_DEVARG_FFE_POST          "ffe_post"
 
 static const char * const txgbe_valid_arguments[] = {
        TXGBE_DEVARG_BP_AUTO,
        TXGBE_DEVARG_KR_POLL,
        TXGBE_DEVARG_KR_PRESENT,
        TXGBE_DEVARG_KX_SGMII,
+       TXGBE_DEVARG_FFE_SET,
+       TXGBE_DEVARG_FFE_MAIN,
+       TXGBE_DEVARG_FFE_PRE,
+       TXGBE_DEVARG_FFE_POST,
+       NULL
 };
 
 struct txgbe_mbx_stats {