Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic 5) Be more liberal in blasting SIATXRX and SIASTA...



details:   https://anonhg.NetBSD.org/src/rev/d27b129b0b73
branches:  trunk
changeset: 526419:d27b129b0b73
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Fri May 03 06:56:20 2002 +0000

description:
5) Be more liberal in blasting SIATXRX and SIASTAT in nway_auto(); in
   particular, make sure that all the SIASTAT_ANS bits are in the right state
   so we don't do something inane.

Still doesn't actually bring the link up properly, but at least it negotiates
most of the time, and does it a little faster.

diffstat:

 sys/dev/ic/tulip.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 888304401316 -r d27b129b0b73 sys/dev/ic/tulip.c
--- a/sys/dev/ic/tulip.c        Fri May 03 06:54:37 2002 +0000
+++ b/sys/dev/ic/tulip.c        Fri May 03 06:56:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tulip.c,v 1.111 2002/05/03 06:54:37 mycroft Exp $      */
+/*     $NetBSD: tulip.c,v 1.112 2002/05/03 06:56:20 mycroft Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tulip.c,v 1.111 2002/05/03 06:54:37 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tulip.c,v 1.112 2002/05/03 06:56:20 mycroft Exp $");
 
 #include "bpfilter.h"
 
@@ -5211,7 +5211,6 @@
        siastat = TULIP_READ(sc, CSR_SIASTAT);
        siatxrx = TULIP_READ(sc, CSR_SIATXRX);
 
-printf("siastat=%08x\n", siastat);
        if (siatxrx & SIATXRX_ANE) {
                if ((siastat & SIASTAT_ANS) != SIASTAT_ANS_FLPGOOD) {
                        /* Erg, still trying, I guess... */



Home | Main Index | Thread Index | Old Index