> Signed-off-by: Florian Fainelli <[email protected]> > --- > drivers/net/usb/lan78xx.c | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c > index bcd9010c1f27..cf2857fa938f 100644 > --- a/drivers/net/usb/lan78xx.c > +++ b/drivers/net/usb/lan78xx.c > @@ -1447,11 +1447,6 @@ static u32 lan78xx_get_link(struct net_device *net) > return net->phydev->link; > } > > -static int lan78xx_nway_reset(struct net_device *net) > -{ > - return phy_start_aneg(net->phydev); > -} > - > static void lan78xx_get_drvinfo(struct net_device *net, > struct ethtool_drvinfo *info) > { > @@ -1655,7 +1650,7 @@ static int lan78xx_set_pause(struct net_device > *net, > > static const struct ethtool_ops lan78xx_ethtool_ops = { > .get_link = lan78xx_get_link, > - .nway_reset = lan78xx_nway_reset, > + .nway_reset = phy_ethtool_nway_reset, > .get_drvinfo = lan78xx_get_drvinfo, > .get_msglevel = lan78xx_get_msglevel, > .set_msglevel = lan78xx_set_msglevel, > -- > 2.9.3 Acked-by: Woojung Huh <[email protected]>
- [PATCH 00/15] net: phy: Centralize auto-negotation restar... Florian Fainelli
- [PATCH 01/15] net: phy: Add phy_ethtool_nway_reset Florian Fainelli
- [PATCH 05/15] net: smsc911x: Utilize phy_ethtool_nwa... Florian Fainelli
- [PATCH 15/15] net: usb: lan78xx: Utilize phy_ethtool... Florian Fainelli
- RE: [PATCH 15/15] net: usb: lan78xx: Utilize phy... Woojung.Huh
- [PATCH 13/15] net: ethernet: lantiq_etop: Utilize ph... Florian Fainelli
- RE: [PATCH 13/15] net: ethernet: lantiq_etop: Ut... Langer, Thomas
- [PATCH 07/15] net: ethernet: ll_temac: Utilize phy_e... Florian Fainelli
- [PATCH 12/15] net: ethernet: ucc: Utilize phy_ethtoo... Florian Fainelli
- [PATCH 02/15] net: nb8800: Utilize phy_ethtool_nway_... Florian Fainelli
- [PATCH 08/15] net: ethernet: ixp4xx_eth: Utilize phy... Florian Fainelli
- [PATCH 09/15] net: bcmgenet: Utilize phy_ethtool_nwa... Florian Fainelli
- [PATCH 06/15] net: ethernet: smsc9420: Utilize phy_e... Florian Fainelli
- [PATCH 10/15] net: fs_enet: Utilize phy_ethtool_nway... Florian Fainelli
- [PATCH 11/15] net: fec: Utilize phy_ethtool_nway_res... Florian Fainelli
