From 7ceecbe4ef188756a31f26bb6ca6a73638ff1067 Mon Sep 17 00:00:00 2001
From: Bill Paul <wpaul@FreeBSD.org>
Date: Thu, 24 Dec 1998 17:50:34 +0000
Subject: [PATCH] Fix a small bug in xl_start(): when queuing a packet onto the
 end of an existing chain, don't forget to move xl_tx_tail to point to the new
 tail end.

---
 sys/pci/if_xl.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 9e77e0cb8cfa..26c528457240 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -29,7 +29,7 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  * THE POSSIBILITY OF SUCH DAMAGE.
  *
- *	$Id: if_xl.c,v 1.20 1998/12/10 16:18:42 wpaul Exp $
+ *	$Id: if_xl.c,v 1.21 1998/12/14 06:32:57 dillon Exp $
  */
 
 /*
@@ -147,7 +147,7 @@
 
 #if !defined(lint)
 static const char rcsid[] =
-	"$Id: if_xl.c,v 1.20 1998/12/10 16:18:42 wpaul Exp $";
+	"$Id: if_xl.c,v 1.21 1998/12/14 06:32:57 dillon Exp $";
 #endif
 
 /*
@@ -2286,6 +2286,7 @@ static void xl_start(ifp)
 					vtophys(start_tx->xl_ptr);
 		sc->xl_cdata.xl_tx_tail->xl_ptr->xl_status &=
 					~XL_TXSTAT_DL_INTR;
+		sc->xl_cdata.xl_tx_tail = cur_tx;
 	} else {
 		sc->xl_cdata.xl_tx_head = start_tx;
 		sc->xl_cdata.xl_tx_tail = cur_tx;