Module Name: src
Committed By: msaitoh
Date: Mon Aug 24 04:49:05 UTC 2020
Modified Files:
src/sys/dev/mii: urlphy.c
Log Message:
Remove extra PHY_RESET(sc) in the MII_TICK path because it's not requierd
to just restart autonego.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/mii/urlphy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/mii/urlphy.c
diff -u src/sys/dev/mii/urlphy.c:1.37 src/sys/dev/mii/urlphy.c:1.38
--- src/sys/dev/mii/urlphy.c:1.37 Mon Aug 24 04:23:41 2020
+++ src/sys/dev/mii/urlphy.c Mon Aug 24 04:49:05 2020
@@ -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 <[email protected]>. 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, str
if (sc->mii_ticks <= sc->mii_anegticks)
return 0;
- PHY_RESET(sc);
-
if (mii_phy_auto_restart(sc) == EJUSTRETURN)
return 0;