1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Add a description here.

This commit is contained in:
Adrian Chadd 2014-03-02 07:39:37 +00:00
parent dd846bddbf
commit 0d2041a08b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262684

View File

@ -661,6 +661,9 @@ ar8327_port_init(struct arswitch_softc *sc, int port)
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);