diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:22:23 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2020-07-10 13:22:23 +0000 |
commit | 2ab8b96a9014558910b5e8b263ec8b87d01091ba (patch) | |
tree | 1cf4de4370435485a8c5e39ae8a862033ac128b1 /sys/dev/isa | |
parent | 59b2589d33b260697d1e3b750d952a5aaa2953fc (diff) |
Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the
"new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/if_eg.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/if_el.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/if_ie.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/isa/if_eg.c b/sys/dev/isa/if_eg.c index d2e979c3095..abbd04dc03f 100644 --- a/sys/dev/isa/if_eg.c +++ b/sys/dev/isa/if_eg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_eg.c,v 1.49 2017/09/08 05:36:52 deraadt Exp $ */ +/* $OpenBSD: if_eg.c,v 1.50 2020/07/10 13:22:20 patrick Exp $ */ /* $NetBSD: if_eg.c,v 1.26 1996/05/12 23:52:27 mycroft Exp $ */ /* @@ -501,7 +501,7 @@ egstart(struct ifnet *ifp) loop: /* Dequeue the next datagram. */ - IFQ_DEQUEUE(&ifp->if_snd, m0); + m0 = ifq_dequeue(&ifp->if_snd); if (m0 == NULL) return; diff --git a/sys/dev/isa/if_el.c b/sys/dev/isa/if_el.c index 8713727238a..7f5b058e0de 100644 --- a/sys/dev/isa/if_el.c +++ b/sys/dev/isa/if_el.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_el.c,v 1.34 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: if_el.c,v 1.35 2020/07/10 13:22:20 patrick Exp $ */ /* $NetBSD: if_el.c,v 1.39 1996/05/12 23:52:32 mycroft Exp $ */ /* @@ -308,7 +308,7 @@ elstart(ifp) */ for (;;) { /* Dequeue the next datagram. */ - IFQ_DEQUEUE(&ifp->if_snd, m0); + m0 = ifq_dequeue(&ifp->if_snd); /* If there's nothing to send, return. */ if (m0 == NULL) diff --git a/sys/dev/isa/if_ie.c b/sys/dev/isa/if_ie.c index 87959d7b878..57ff5ffaf7a 100644 --- a/sys/dev/isa/if_ie.c +++ b/sys/dev/isa/if_ie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ie.c,v 1.55 2019/12/19 20:23:25 jmc Exp $ */ +/* $OpenBSD: if_ie.c,v 1.56 2020/07/10 13:22:20 patrick Exp $ */ /* $NetBSD: if_ie.c,v 1.51 1996/05/12 23:52:48 mycroft Exp $ */ /*- @@ -1356,7 +1356,7 @@ iestart(ifp) break; } - IFQ_DEQUEUE(&ifp->if_snd, m0); + m0 = ifq_dequeue(&ifp->if_snd); if (m0 == NULL) break; |