From b79ddef845926d8da7e5fa2a9fd75e8224bdccc4 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 7 Jan 2001 23:29:12 +0000 Subject: Also ignore receiver errors if VLAN_MTU is enabled; the 21040 appears to require this. --- sys/dev/ic/tulip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/tulip.c b/sys/dev/ic/tulip.c index e5335d0c4bc..d80f9e103d2 100644 --- a/sys/dev/ic/tulip.c +++ b/sys/dev/ic/tulip.c @@ -1,4 +1,4 @@ -/* $NetBSD: tulip.c,v 1.84 2000/12/19 00:06:02 thorpej Exp $ */ +/* $NetBSD: tulip.c,v 1.85 2001/01/07 23:29:12 thorpej Exp $ */ /*- * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc. @@ -1269,8 +1269,8 @@ tlp_rxintr(sc) */ if (rxstat & TDSTAT_ES && ((sc->sc_ethercom.ec_capenable & ETHERCAP_VLAN_MTU) == 0 || - (rxstat & (TDSTAT_Rx_DE | TDSTAT_Rx_RF | TDSTAT_Rx_RE | - TDSTAT_Rx_DB | TDSTAT_Rx_CE)) != 0)) { + (rxstat & (TDSTAT_Rx_DE | TDSTAT_Rx_RF | + TDSTAT_Rx_DB | TDSTAT_Rx_CE)) != 0)) { #define PRINTERR(bit, str) \ if (rxstat & (bit)) \ printf("%s: receive error: %s\n", \ -- cgit