Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Adapt to ALTQ-related API changes (driver is not ...



details:   https://anonhg.NetBSD.org/src/rev/436227d56284
branches:  trunk
changeset: 500792:436227d56284
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Dec 18 20:23:04 2000 +0000

description:
Adapt to ALTQ-related API changes (driver is not fully ALTQ'ified yet).

diffstat:

 sys/dev/ic/midway.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 1b28c8c3e64d -r 436227d56284 sys/dev/ic/midway.c
--- a/sys/dev/ic/midway.c       Mon Dec 18 19:57:47 2000 +0000
+++ b/sys/dev/ic/midway.c       Mon Dec 18 20:23:04 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: midway.c,v 1.47 2000/12/12 18:00:23 thorpej Exp $      */
+/*     $NetBSD: midway.c,v 1.48 2000/12/18 20:23:04 thorpej Exp $      */
 /*     (sync'd to midway.c 1.68)       */
 
 /*
@@ -1679,7 +1679,6 @@
 #else
     struct en_softc *sc = (struct en_softc *) ifp->if_softc;
 #endif
-    struct ifqueue *ifq = &ifp->if_snd; /* if INPUT QUEUE */
     struct mbuf *m, *lastm, *prev;
     struct atm_pseudohdr *ap, *new_ap;
     int txchan, mlen, got, need, toadd, cellcnt, first;
@@ -1696,7 +1695,7 @@
 
     while (1) {
 
-      IF_DEQUEUE(ifq, m);
+      IFQ_DEQUEUE(&ifp->if_snd, m);
       if (m == NULL)
        return;         /* EMPTY: >>> exit here <<< */
     



Home | Main Index | Thread Index | Old Index