From a5f6bd3b57b6a3e2a18f6f674fb1d1bf4cc167c2 Mon Sep 17 00:00:00 2001 From: mycroft Date: Fri, 3 May 2002 06:56:20 +0000 Subject: [PATCH] 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. --- sys/dev/ic/tulip.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/dev/ic/tulip.c b/sys/dev/ic/tulip.c index 05974d4deab0..0d3f63a38085 100644 --- a/sys/dev/ic/tulip.c +++ b/sys/dev/ic/tulip.c @@ -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 -__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 @@ tlp_2114x_nway_status(sc) 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... */