summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/altq.43
-rw-r--r--sys/dev/ed/if_ed.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/share/man/man4/altq.4 b/share/man/man4/altq.4
index f59b5f3..d1ec96b 100644
--- a/share/man/man4/altq.4
+++ b/share/man/man4/altq.4
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 12, 2004
+.Dd November 21, 2004
.Dt ALTQ 4
.Os
.Sh NAME
@@ -112,6 +112,7 @@ They have been applied to the following hardware drivers:
.Xr bfe 4 ,
.Xr bge 4 ,
.Xr dc 4 ,
+.Xr ed 4 ,
.Xr em 4 ,
.Xr fxp 4 ,
.Xr hme 4 ,
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 3c04683..5f441e6 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -1720,7 +1720,9 @@ ed_attach(dev)
ifp->if_ioctl = ed_ioctl;
ifp->if_watchdog = ed_watchdog;
ifp->if_init = ed_init;
- ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
+ IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
+ ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN;
+ IFQ_SET_READY(&ifp->if_snd);
ifp->if_linkmib = &sc->mibdata;
ifp->if_linkmiblen = sizeof sc->mibdata;
/*
@@ -2122,7 +2124,7 @@ outloop:
ifp->if_flags |= IFF_OACTIVE;
return;
}
- IF_DEQUEUE(&ifp->if_snd, m);
+ IFQ_DRV_DEQUEUE(&ifp->if_snd, m);
if (m == 0) {
/*
OpenPOWER on IntegriCloud