From a1c51b8df506e78288911322a2902e9f8209aa7a Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 9 Mar 1998 03:07:54 +0000 Subject: Correct an ethernet framesize mismatch that caused poor device performance among other things. PR: 4989, 5910 Submitted by: Yoshikazu Goto --- sys/i386/isa/if_lnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386/isa/if_lnc.c') diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index bff0d53..d6f9060 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/if_lnc.c @@ -1713,7 +1713,7 @@ lnc_start(struct ifnet *ifp) desc = sc->trans_ring + sc->next_to_send; len = mbuf_to_buffer(head, desc->buff.data); desc->md->md3 = 0; - desc->md->md2 = -max(len, ETHER_MIN_LEN); + desc->md->md2 = -max(len, ETHER_MIN_LEN - ETHER_CRC_LEN); desc->md->md1 |= OWN | STP | ENP; INC_MD_PTR(sc->next_to_send, sc->ntdre) } -- cgit v1.1