|
|
@@ -868,8 +868,6 @@ static int m88e1510_config_init(struct phy_device *phydev)
|
|
|
|
|
|
/* SGMII-to-Copper mode initialization */
|
|
|
if (phydev->interface == PHY_INTERFACE_MODE_SGMII) {
|
|
|
- u32 pause;
|
|
|
-
|
|
|
/* Select page 18 */
|
|
|
err = marvell_set_page(phydev, 18);
|
|
|
if (err < 0)
|
|
|
@@ -892,16 +890,6 @@ static int m88e1510_config_init(struct phy_device *phydev)
|
|
|
err = marvell_set_page(phydev, MII_MARVELL_COPPER_PAGE);
|
|
|
if (err < 0)
|
|
|
return err;
|
|
|
-
|
|
|
- /* There appears to be a bug in the 88e1512 when used in
|
|
|
- * SGMII to copper mode, where the AN advertisement register
|
|
|
- * clears the pause bits each time a negotiation occurs.
|
|
|
- * This means we can never be truely sure what was advertised,
|
|
|
- * so disable Pause support.
|
|
|
- */
|
|
|
- pause = SUPPORTED_Pause | SUPPORTED_Asym_Pause;
|
|
|
- phydev->supported &= ~pause;
|
|
|
- phydev->advertising &= ~pause;
|
|
|
}
|
|
|
|
|
|
return m88e1318_config_init(phydev);
|