Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic The last change made the driver go into an interr...



details:   https://anonhg.NetBSD.org/src/rev/7f696a5470ae
branches:  trunk
changeset: 472964:7f696a5470ae
user:      drochner <drochner%NetBSD.org@localhost>
date:      Fri May 14 15:54:16 1999 +0000

description:
The last change made the driver go into an interrupt loop after a while.
Obviously, the TX_DEFERRALS counter must be read.

diffstat:

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

diffs (17 lines):

diff -r 550064ca0a20 -r 7f696a5470ae sys/dev/ic/elinkxl.c
--- a/sys/dev/ic/elinkxl.c      Fri May 14 15:44:48 1999 +0000
+++ b/sys/dev/ic/elinkxl.c      Fri May 14 15:54:16 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elinkxl.c,v 1.11 1999/05/12 15:33:29 thorpej Exp $     */
+/*     $NetBSD: elinkxl.c,v 1.12 1999/05/14 15:54:16 drochner Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -1369,6 +1369,7 @@
        /*
         * Clear the following to avoid stats overflow interrupts
         */
+       bus_space_read_1(iot, ioh, TX_DEFERRALS);
        bus_space_read_1(iot, ioh, TX_AFTER_1_COLLISION);
        bus_space_read_1(iot, ioh, TX_NO_SQE);
        bus_space_read_1(iot, ioh, TX_CD_LOST);



Home | Main Index | Thread Index | Old Index