]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Extract out the port VLAN flags/setup code and throw it into two new
authoradrian <adrian@FreeBSD.org>
Wed, 19 Feb 2014 06:43:52 +0000 (06:43 +0000)
committeradrian <adrian@FreeBSD.org>
Wed, 19 Feb 2014 06:43:52 +0000 (06:43 +0000)
commita4be2232413af4c6cde63dfa8e7cab760cf94043
tree8245200ae691abcaafaaf2cb297afe7b1291cd05
parentd45e8830ab8a2f2900aff4dc4e0aafff06e80681
Extract out the port VLAN flags/setup code and throw it into two new
HAL methods.

This allows the AR8327 code to override it as appropriate.

Tested:

* DB120 - AR8327 and AR9340 on-board switch; only running 'etherswitchcfg'
  to check configs.  The actual VLAN programming wasn't tested.
sys/dev/etherswitch/arswitch/arswitch.c