mirror of https://gitee.com/openkylin/linux.git
ixgbe: add device to MDIO speed setting
This shouldn't matter as nothing should be attached still to be consisted control MDIO speed for these devices as well. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
a0ad55a36e
commit
a83c27e790
|
@ -2558,6 +2558,8 @@ static void ixgbe_set_mdio_speed(struct ixgbe_hw *hw)
|
|||
|
||||
switch (hw->device_id) {
|
||||
case IXGBE_DEV_ID_X550EM_X_10G_T:
|
||||
case IXGBE_DEV_ID_X550EM_A_SGMII:
|
||||
case IXGBE_DEV_ID_X550EM_A_SGMII_L:
|
||||
case IXGBE_DEV_ID_X550EM_A_SFP:
|
||||
/* Config MDIO clock speed before the first MDIO PHY access */
|
||||
hlreg0 = IXGBE_READ_REG(hw, IXGBE_HLREG0);
|
||||
|
|
Loading…
Reference in New Issue