diff options
author | brueffer <brueffer@FreeBSD.org> | 2007-02-21 09:57:27 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2007-02-21 09:57:27 +0000 |
commit | eab716103bd42d19c533901f015ef7e135bfef24 (patch) | |
tree | 2bc67fa957a40a9214f084ae86f74f37ea41a814 /sys/dev | |
parent | 96503737f7b08849ccf04480f7c3a4308a1a9543 (diff) | |
download | FreeBSD-src-eab716103bd42d19c533901f015ef7e135bfef24.zip FreeBSD-src-eab716103bd42d19c533901f015ef7e135bfef24.tar.gz |
Complete the support for altq(4).
Tested by: J.R. Oldroyd
Reviewed by: mlaier
Approved by: rwatson (mentor)
MFC after: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/vge/if_vge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c index 234f7f7..bfe9da4 100644 --- a/sys/dev/vge/if_vge.c +++ b/sys/dev/vge/if_vge.c @@ -1024,7 +1024,9 @@ vge_attach(dev) #endif ifp->if_watchdog = vge_watchdog; ifp->if_init = vge_init; - ifp->if_snd.ifq_maxlen = VGE_IFQ_MAXLEN; + IFQ_SET_MAXLEN(&ifp->if_snd, VGE_IFQ_MAXLEN); + ifp->if_snd.ifq_drv_maxlen = VGE_IFQ_MAXLEN; + IFQ_SET_READY(&ifp->if_snd); TASK_INIT(&sc->vge_txtask, 0, vge_tx_task, ifp); |