Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii Remove extra PHY_RESET(sc) in the MII_TICK path ...
details: https://anonhg.NetBSD.org/src/rev/42e9ea7609f8
branches: trunk
changeset: 937712:42e9ea7609f8
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Aug 24 04:49:05 2020 +0000
description:
Remove extra PHY_RESET(sc) in the MII_TICK path because it's not requierd
to just restart autonego.
diffstat:
sys/dev/mii/urlphy.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 5249a623aace -r 42e9ea7609f8 sys/dev/mii/urlphy.c
--- a/sys/dev/mii/urlphy.c Mon Aug 24 04:23:41 2020 +0000
+++ b/sys/dev/mii/urlphy.c Mon Aug 24 04:49:05 2020 +0000
@@ -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@localhost>. 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 @@
if (sc->mii_ticks <= sc->mii_anegticks)
return 0;
- PHY_RESET(sc);
-
if (mii_phy_auto_restart(sc) == EJUSTRETURN)
return 0;
Home |
Main Index |
Thread Index |
Old Index