ixgbe: add device to MDIO speed setting
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 17 Aug 2016 21:34:07 +0000 (17:34 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 21 Aug 2016 02:50:23 +0000 (19:50 -0700)
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>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c

index 45ad6b10abe3e43d2fb8b9ee553b54ac79ac405f..a8030e026a7617fa5d0e00cc1daf081ad2d2ff8e 100644 (file)
@@ -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);