Complete the support for altq(4).

Tested by:	J.R. Oldroyd
Reviewed by:	mlaier
Approved by:	rwatson (mentor)
MFC after:	1 week
This commit is contained in:
Christian Brueffer 2007-02-21 09:57:27 +00:00
parent 6e6b7d44ef
commit 99baad9da2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166865

View File

@ -1024,7 +1024,9 @@ vge_attach(dev)
#endif #endif
ifp->if_watchdog = vge_watchdog; ifp->if_watchdog = vge_watchdog;
ifp->if_init = vge_init; 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); TASK_INIT(&sc->vge_txtask, 0, vge_tx_task, ifp);