freebsd-skq/sys/dev/etherswitch
adrian 6cfab9d9d9 Commit 802.1q configuration support for the AR8327.
This is slightly different to the other switches - the VLAN table
(VTU) programs in the vlan port mapping /and/ the port config
(tagged, untagged, passthrough, any.)

So:

* Add VTU operations to program the VTU (vlan table)
* abstract out the mirror-disable function so it's .. well, a function.
* setup the port to have a dot1q configuration for dot1q - the
  port security is VLAN (not per-port VLAN) and requires an entry
  in the VLAN table;
* add set_dot1q / get_dot1q to program the VLAN table;
* since the tagged/untagged ports are now programmed into the VTU,
  rather than global - plumb the ports /and/ untagged ports bitmaps
  through the arswitch API.

Tested:

* AP135 - QCA9558 SoC + AR8327N switch
2015-03-13 02:16:39 +00:00
..
arswitch Commit 802.1q configuration support for the AR8327. 2015-03-13 02:16:39 +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
etherswitch_if.m
etherswitch.c
etherswitch.h
mdio_if.m
mdio.c
mdio.h
miiproxy.c
miiproxy.h