opnsense-src/sys/dev/etherswitch/arswitch
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.c Methodise a couple more of the VLAN methods. 2015-03-08 23:02:15 +00:00
arswitch_7240.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_7240.h
arswitch_8216.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_8216.h
arswitch_8226.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_8226.h
arswitch_8316.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_8316.h
arswitch_8327.c AR8327: Fix up the ability to configure the vlangroup configuration for the CPU port 2015-10-20 21:18:02 +00:00
arswitch_8327.h Add initial AR8327 support. 2014-02-24 04:47:16 +00:00
arswitch_9340.c Revert r268543. 2014-07-12 06:23:42 +00:00
arswitch_9340.h Initial commit of AR9340 switch SoC support. 2013-10-16 03:15:52 +00:00
arswitch_phy.c Fix up support for the AR8327. 2015-03-08 03:53:36 +00:00
arswitch_phy.h Fix up support for the AR8327. 2015-03-08 03:53:36 +00:00
arswitch_reg.c Fix up support for the AR8327. 2015-03-08 03:53:36 +00:00
arswitch_reg.h Add mmd declaration. 2014-02-17 05:51:37 +00:00
arswitch_vlans.c Turns out the AR933x looks like the AR7240/AR7241 switch as far as VLAN 2015-03-28 23:20:46 +00:00
arswitch_vlans.h Commit 802.1q configuration support for the AR8327. 2015-03-13 02:16:39 +00:00
arswitchreg.h Add per-port vlan support for the AR8327. 2015-03-08 21:59:03 +00:00
arswitchvar.h Commit 802.1q configuration support for the AR8327. 2015-03-13 02:16:39 +00:00