summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-01-07 23:29:12 +0000
committerthorpej <thorpej@NetBSD.org>2001-01-07 23:29:12 +0000
commitb79ddef845926d8da7e5fa2a9fd75e8224bdccc4 (patch)
tree5912737a22031da892c0678efc858d2dfbdad3cf
parent339f061e386147b525043c984d1d737823f8afe8 (diff)
Also ignore receiver errors if VLAN_MTU is enabled; the 21040 appears
to require this.
-rw-r--r--sys/dev/ic/tulip.c6
1 files changed, 3 insertions, 3 deletions
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", \