freebsd-nq/sys/dev/etherswitch
Adrian Chadd 8f1cf028d3 AR8327: Fix up the ability to configure the vlangroup configuration for the CPU port
I messed up when doing the reset_vlans method - setting vid[0] = 1 here
was making it 'hidden' from configuration (as it needed ETHERSWITCH_VID_VALID
as well) and so there was no way to configure vlangroup0.

In per-port VLAN mode, vlangroup0 is for the CPU port (port0).
Now, it normally wouldn't really matter - the CPU port thus sees
all other ports. However there are two CPU ports on the AR8327 and
so port0 (arge0) was seeing all traffic on port6 (arge1).
If you thus tried to use arge1/port6 for anything (eg a WAN port)
in a bridge group then things would very upset very quickly.

Whilst here, add a comment to remind myself that yes, it'd be nice
if we could specify a boot-time switch config.

Tested:

* AP135 reference platform w/ AR8327N switch
2015-10-20 21:18:02 +00:00
..
arswitch AR8327: Fix up the ability to configure the vlangroup configuration for the CPU port 2015-10-20 21:18:02 +00:00
ip17x Fix the build with debug enabled and remove a variable used only at switch 2014-05-09 13:21:34 +00:00
rtl8366 Revert r268543. 2014-07-12 06:23:42 +00:00
ukswitch - Provide necessary includes. 2013-10-29 11:17:49 +00:00
etherswitch_if.m Add the ability to change the vlan operation mode. 2013-05-08 20:46:54 +00:00
etherswitch.c Add the ability to change the vlan operation mode. 2013-05-08 20:46:54 +00:00
etherswitch.h Add a new flag (ETHERSWITCH_VID_VALID) to say what vlangroups are in use. 2013-07-23 13:56:38 +00:00
mdio_if.m
mdio.c
mdio.h
miiproxy.c Fix French typos in etherswitch. 2015-04-18 07:34:39 +00:00
miiproxy.h