Index: if_ti.c =================================================================== RCS file: /cvs/src/sys/dev/pci/if_ti.c,v retrieving revision 1.44 diff -u -r1.44 if_ti.c --- if_ti.c 2003/02/26 19:07:32 1.44 +++ if_ti.c 2003/03/01 10:26:20 @@ -81,6 +81,7 @@ */ #include "bpfilter.h" +#include "vlan.h" #include #include @@ -110,6 +111,11 @@ #include #endif +#if NVLAN > 0 +#include +#include +#endif + #include #include #include @@ -1736,6 +1742,10 @@ ifp->if_start = ti_start; ifp->if_watchdog = ti_watchdog; ifp->if_mtu = ETHERMTU; +#if NVLAN >0 + ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_VLAN_HWTAGGING; +#endif + IFQ_SET_MAXLEN(&ifp->if_snd, TI_TX_RING_CNT - 1); IFQ_SET_READY(&ifp->if_snd); bcopy(sc->sc_dv.dv_xname, ifp->if_xname, IFNAMSIZ);