diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-01-30 13:04:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-01-30 13:04:29 +0000 |
commit | 7b8bc2b70f1751dfd8b0ce67658c24eeb8d1e546 (patch) | |
tree | ba1e983308b90f97f1af6f8ae4bc6a66f097e49a /sys/arch/socppc | |
parent | 6d43b3459c6ad94e758c28b54a6ccc3fe3e7bcc0 (diff) |
Set mbuf watermarks.
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; |