net/ixgbe/base: support X550em_a 10G PHY
This patch uses the shared Management Data Input/output (MDIO) functions ixgbe_read_phy_reg_x550a and ixgbe_write_phy_reg_x550a for X550em_a 10G PHY which supports flow control auto-negotiation. Signed-off-by: Xiao Wang <xiao.w.wang@intel.com> Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
This commit is contained in:
parent
39eab21092
commit
c3fb605491
@ -188,6 +188,7 @@ bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw)
|
||||
case IXGBE_DEV_ID_X550T:
|
||||
case IXGBE_DEV_ID_X550T1:
|
||||
case IXGBE_DEV_ID_X550EM_X_10G_T:
|
||||
case IXGBE_DEV_ID_X550EM_A_10G_T:
|
||||
supported = true;
|
||||
break;
|
||||
default:
|
||||
|
@ -494,9 +494,12 @@ STATIC s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw)
|
||||
case IXGBE_DEV_ID_X550EM_A_KR_L:
|
||||
hw->phy.type = ixgbe_phy_x550em_kr;
|
||||
break;
|
||||
case IXGBE_DEV_ID_X550EM_A_10G_T:
|
||||
hw->phy.ops.read_reg = ixgbe_read_phy_reg_x550a;
|
||||
hw->phy.ops.write_reg = ixgbe_write_phy_reg_x550a;
|
||||
/* Fallthrough to ixgbe_identify_phy_generic */
|
||||
case IXGBE_DEV_ID_X550EM_X_1G_T:
|
||||
case IXGBE_DEV_ID_X550EM_X_10G_T:
|
||||
case IXGBE_DEV_ID_X550EM_A_10G_T:
|
||||
return ixgbe_identify_phy_generic(hw);
|
||||
case IXGBE_DEV_ID_X550EM_A_1G_T:
|
||||
case IXGBE_DEV_ID_X550EM_A_1G_T_L:
|
||||
|
Loading…
x
Reference in New Issue
Block a user