Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Also ignore receiver errors if VLAN_MTU is enable...
details: https://anonhg.NetBSD.org/src/rev/dde569542a8b
branches: trunk
changeset: 501815:dde569542a8b
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Jan 07 23:29:12 2001 +0000
description:
Also ignore receiver errors if VLAN_MTU is enabled; the 21040 appears
to require this.
diffstat:
sys/dev/ic/tulip.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r a341fa2b82e8 -r dde569542a8b sys/dev/ic/tulip.c
--- a/sys/dev/ic/tulip.c Sun Jan 07 23:21:44 2001 +0000
+++ b/sys/dev/ic/tulip.c Sun Jan 07 23:29:12 2001 +0000
@@ -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 @@
*/
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", \
Home |
Main Index |
Thread Index |
Old Index