freebsd-nq/sbin/etherswitchcfg
Adrian Chadd a321935999 Convert over the etherswitch framework to use VLAN IDs per port, rather
than VLAN groups.

Some chips (eg this rtl8366rb) has a VLAN group per port - you first
define a set of VLANs in a vlan group, then you assign a VLAN group
to a port.

Other chips (eg the AR8xxx switch chips) have a VLAN ID array per
port - there's no group per se, just a list of vlans that can be
configured.

So for now, the switch API will use the latter and rely on drivers
doing the heavy lifting if one wishes to use the VLAN group method.
Maybe later on both can be supported.

PR:		kern/177878
PR:		kern/177873
Submitted by:	Luiz Otavio O Souza <loos.br@gmail.com>
Reviewed by:	ray
2013-04-22 05:52:18 +00:00
..
etherswitchcfg.8 Convert over the etherswitch framework to use VLAN IDs per port, rather 2013-04-22 05:52:18 +00:00
etherswitchcfg.c Convert over the etherswitch framework to use VLAN IDs per port, rather 2013-04-22 05:52:18 +00:00
ifmedia.c Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
Makefile