Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/dev/ic apply patch from thorpej, fixes transmit tim...
details: https://anonhg.NetBSD.org/src/rev/8d6786031ac7
branches: netbsd-1-4
changeset: 468739:8d6786031ac7
user: perry <perry%NetBSD.org@localhost>
date: Fri Jun 18 18:13:52 1999 +0000
description:
apply patch from thorpej, fixes transmit timeout bug
diffstat:
sys/dev/ic/smc83c170.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 0b716b7239e8 -r 8d6786031ac7 sys/dev/ic/smc83c170.c
--- a/sys/dev/ic/smc83c170.c Fri Jun 18 18:08:43 1999 +0000
+++ b/sys/dev/ic/smc83c170.c Fri Jun 18 18:13:52 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smc83c170.c,v 1.15 1999/03/25 23:19:59 thorpej Exp $ */
+/* $NetBSD: smc83c170.c,v 1.15.2.1 1999/06/18 18:13:52 perry Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -708,7 +708,7 @@
continue;
}
- len = rxd->er_buflength;
+ len = rxd->er_rxlength;
if (len < sizeof(struct ether_header)) {
m_freem(m);
continue;
@@ -739,6 +739,7 @@
/* Remove the Ethernet header and pass it on. */
m_adj(m, sizeof(struct ether_header));
ether_input(ifp, eh, m);
+ ifp->if_ipackets++;
}
/* Update the recieve pointer. */
Home |
Main Index |
Thread Index |
Old Index