Date: Tue, 10 Mar 2009 19:35:37 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189645 - head/sys/arm/xscale/ixp425 Message-ID: <200903101935.n2AJZbPj071736@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Tue Mar 10 19:35:37 2009 New Revision: 189645 URL: http://svn.freebsd.org/changeset/base/189645 Log: mark device capable of vlan-size frames Obtained from: netbsd Modified: head/sys/arm/xscale/ixp425/if_npe.c Modified: head/sys/arm/xscale/ixp425/if_npe.c ============================================================================== --- head/sys/arm/xscale/ixp425/if_npe.c Tue Mar 10 19:33:50 2009 (r189644) +++ head/sys/arm/xscale/ixp425/if_npe.c Tue Mar 10 19:35:37 2009 (r189645) @@ -363,6 +363,9 @@ npe_attach(device_t dev) ifp->if_linkmib = &sc->mibdata; ifp->if_linkmiblen = sizeof(sc->mibdata); sc->mibdata.dot3Compliance = DOT3COMPLIANCE_STATS; + /* device supports oversided vlan frames */ + ifp->if_capabilities |= IFCAP_VLAN_MTU; + ifp->if_capenable = ifp->if_capabilities; #ifdef DEVICE_POLLING ifp->if_capabilities |= IFCAP_POLLING; #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903101935.n2AJZbPj071736>