From 826702b23d2ab31599ec46c4fabfb7911247d7b2 Mon Sep 17 00:00:00 2001 From: Atsushi Murai Date: Sat, 27 Jul 1996 12:40:31 +0000 Subject: [PATCH] Under the heavy load for transmiting condition, it will be write error and then never accept for sending packet from upper layer anymore (i.e. ping -f ) Reviewed by: David Greenman Submitted by: amurai@spec.co.jp --- sys/dev/ep/if_ep.c | 4 ++-- sys/i386/isa/if_ep.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 2e341db26679..e3601543d4da 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -38,7 +38,7 @@ */ /* - * $Id: if_ep.c,v 1.50 1996/07/13 10:49:53 davidg Exp $ + * $Id: if_ep.c,v 1.51 1996/07/19 13:20:04 amurai Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -964,7 +964,7 @@ epstart(ifp) } IF_DEQUEUE(&ifp->if_snd, m); - outw(BASE + EP_W1_TX_PIO_WR_1, len | 0x8000); /* XXX */ + outw(BASE + EP_W1_TX_PIO_WR_1, len); outw(BASE + EP_W1_TX_PIO_WR_1, 0x0); /* Second dword meaningless */ /* compute the Tx start threshold for this packet */ diff --git a/sys/i386/isa/if_ep.c b/sys/i386/isa/if_ep.c index 2e341db26679..e3601543d4da 100644 --- a/sys/i386/isa/if_ep.c +++ b/sys/i386/isa/if_ep.c @@ -38,7 +38,7 @@ */ /* - * $Id: if_ep.c,v 1.50 1996/07/13 10:49:53 davidg Exp $ + * $Id: if_ep.c,v 1.51 1996/07/19 13:20:04 amurai Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -964,7 +964,7 @@ epstart(ifp) } IF_DEQUEUE(&ifp->if_snd, m); - outw(BASE + EP_W1_TX_PIO_WR_1, len | 0x8000); /* XXX */ + outw(BASE + EP_W1_TX_PIO_WR_1, len); outw(BASE + EP_W1_TX_PIO_WR_1, 0x0); /* Second dword meaningless */ /* compute the Tx start threshold for this packet */