Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mii Correct the sense of the PCR_FLINK100 bit. From...



details:   https://anonhg.NetBSD.org/src/rev/2f0a80334752
branches:  trunk
changeset: 474676:2f0a80334752
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 14 23:57:36 1999 +0000

description:
Correct the sense of the PCR_FLINK100 bit.  From Dave Sainty, PR #7832.

diffstat:

 sys/dev/mii/nsphy.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 72092fad8769 -r 2f0a80334752 sys/dev/mii/nsphy.c
--- a/sys/dev/mii/nsphy.c       Wed Jul 14 23:52:22 1999 +0000
+++ b/sys/dev/mii/nsphy.c       Wed Jul 14 23:57:36 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nsphy.c,v 1.17 1999/04/23 04:24:32 thorpej Exp $       */
+/*     $NetBSD: nsphy.c,v 1.18 1999/07/14 23:57:36 thorpej Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -212,11 +212,10 @@
                reg |= PCR_CIMDIS;
 
                /*
-                * Make sure "force link good" is not set.  It's only
-                * intended for debugging, but sometimes it's set
-                * after a reset.
+                * Make sure "force link good" is set to normal mode.
+                * It's only intended for debugging.
                 */
-               reg &= ~PCR_FLINK100;
+               reg |= PCR_FLINK100;
 
 #if 0
                /*



Home | Main Index | Thread Index | Old Index