]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Initialize the switch vlan table at attachment.
authorLuiz Otavio O Souza <loos@FreeBSD.org>
Thu, 3 Jul 2014 19:50:50 +0000 (19:50 +0000)
committerLuiz Otavio O Souza <loos@FreeBSD.org>
Thu, 3 Jul 2014 19:50:50 +0000 (19:50 +0000)
commitbfae93299c73fdd7305249b825b96c268684b41e
tree2d7d9ab9723a22c6942df7f4c8eeb1931c0f47be
parent13c36b4884bd8381d9484968c31c35f211853e81
Initialize the switch vlan table at attachment.

Update some comments on code, specifying the correct vlans used on switch
setup.

Advertise the proper switch operation mode (the rtl8366rb only support
dot1q vlans).

This fixes the breakage that i introduced on r249752 and make the rtl8366rb
switch works again with etherswitchcfg(8).

Tested on TP-Link 1043ND.

Tested by: me, Harm Weites (harm at weites.com)
sys/dev/etherswitch/rtl8366/rtl8366rb.c