|
@@ -121,22 +121,6 @@ static int bcmgenet_fixed_phy_link_update(struct net_device *dev,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-/* Perform a voluntary PHY software reset, since the EPHY is very finicky about
|
|
|
- * not doing it and will start corrupting packets
|
|
|
- */
|
|
|
-void bcmgenet_mii_reset(struct net_device *dev)
|
|
|
-{
|
|
|
- struct bcmgenet_priv *priv = netdev_priv(dev);
|
|
|
-
|
|
|
- if (GENET_IS_V4(priv))
|
|
|
- return;
|
|
|
-
|
|
|
- if (priv->phydev) {
|
|
|
- phy_init_hw(priv->phydev);
|
|
|
- phy_start_aneg(priv->phydev);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
void bcmgenet_phy_power_set(struct net_device *dev, bool enable)
|
|
|
{
|
|
|
struct bcmgenet_priv *priv = netdev_priv(dev);
|