diff options
author | wpaul <wpaul@FreeBSD.org> | 1998-12-24 17:50:34 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1998-12-24 17:50:34 +0000 |
commit | fcf431dd9750e7e7c9030c5b2779011df888abd1 (patch) | |
tree | c515864c031667aa35d26049babccbfbd31f3bf0 /sys/pci | |
parent | 66eea65587ba8e697b00afad4adc7f0eb695f05d (diff) | |
download | FreeBSD-src-fcf431dd9750e7e7c9030c5b2779011df888abd1.zip FreeBSD-src-fcf431dd9750e7e7c9030c5b2779011df888abd1.tar.gz |
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.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_xl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 9e77e0c..26c5284 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; |