diff options
Diffstat (limited to 'sys/arch/socppc')
-rw-r--r-- | sys/arch/socppc/dev/if_tsec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c index cd5ccd1a4da..254ffbc50e4 100644 --- a/sys/arch/socppc/dev/if_tsec.c +++ b/sys/arch/socppc/dev/if_tsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tsec.c,v 1.19 2009/01/30 12:47:15 kettenis Exp $ */ +/* $OpenBSD: if_tsec.c,v 1.20 2009/01/30 13:04:28 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -359,6 +359,8 @@ tsec_attach(struct device *parent, struct device *self, void *aux) IFQ_SET_READY(&ifp->if_snd); bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ); + m_clsetwms(ifp, MCLBYTES, 0, TSEC_NRXDESC); + ifp->if_capabilities = IFCAP_VLAN_MTU; sc->sc_mii.mii_ifp = ifp; |