Date: Sun, 2 Mar 2014 07:39:37 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262684 - head/sys/dev/etherswitch/arswitch Message-ID: <201403020739.s227dbZ3023022@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Sun Mar 2 07:39:37 2014 New Revision: 262684 URL: http://svnweb.freebsd.org/changeset/base/262684 Log: Add a description here. Modified: head/sys/dev/etherswitch/arswitch/arswitch_8327.c Modified: head/sys/dev/etherswitch/arswitch/arswitch_8327.c ============================================================================== --- head/sys/dev/etherswitch/arswitch/arswitch_8327.c Sun Mar 2 07:10:43 2014 (r262683) +++ head/sys/dev/etherswitch/arswitch/arswitch_8327.c Sun Mar 2 07:39:37 2014 (r262684) @@ -661,6 +661,9 @@ ar8327_port_init(struct arswitch_softc * arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_STATUS(port), t); arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_HEADER(port), 0); + /* + * Default to 1 port group. + */ t = 1 << AR8327_PORT_VLAN0_DEF_SVID_S; t |= 1 << AR8327_PORT_VLAN0_DEF_CVID_S; arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_VLAN0(port), t);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403020739.s227dbZ3023022>