svn commit: r262684 - head/sys/dev/etherswitch/arswitch
Adrian Chadd
adrian at FreeBSD.org
Sun Mar 2 07:39:38 UTC 2014
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);
More information about the svn-src-head
mailing list