Remove extra PHY_RESET(sc) in the MII_TICK path because it's not requierd
to just restart autonego.
This commit is contained in:
parent
600be1acda
commit
1d6d3e383e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: urlphy.c,v 1.37 2020/08/24 04:23:41 msaitoh Exp $ */
|
||||
/* $NetBSD: urlphy.c,v 1.38 2020/08/24 04:49:05 msaitoh Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2001, 2002
|
||||
* Shingo WATANABE <nabe@nabechan.org>. All rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: urlphy.c,v 1.37 2020/08/24 04:23:41 msaitoh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: urlphy.c,v 1.38 2020/08/24 04:49:05 msaitoh Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -197,8 +197,6 @@ urlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
|
|||
if (sc->mii_ticks <= sc->mii_anegticks)
|
||||
return 0;
|
||||
|
||||
PHY_RESET(sc);
|
||||
|
||||
if (mii_phy_auto_restart(sc) == EJUSTRETURN)
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue