-/* $OpenBSD: if_tsec.c,v 1.10 2008/05/26 21:08:47 kettenis Exp $ */
+/* $OpenBSD: if_tsec.c,v 1.11 2008/08/07 17:56:51 brad Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
ifp->if_start = tsec_start;
ifp->if_watchdog = tsec_watchdog;
ifp->if_baudrate = IF_Gbps(1);
+ IFQ_SET_MAXLEN(&ifp->if_snd, TSEC_NTXDESC - 1);
+ IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+
sc->sc_mii.mii_ifp = ifp;
sc->sc_mii.mii_readreg = tsec_mii_readreg;
sc->sc_mii.mii_writereg = tsec_mii_writereg;