]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Initialize the switch vlan table at attachment.
authorloos <loos@FreeBSD.org>
Thu, 3 Jul 2014 19:50:50 +0000 (19:50 +0000)
committerloos <loos@FreeBSD.org>
Thu, 3 Jul 2014 19:50:50 +0000 (19:50 +0000)
commit96e0511f76f7debf0367ed7cd41ea6c63cff6c10
tree2d7d9ab9723a22c6942df7f4c8eeb1931c0f47be
parente485fdb2be7a90a72fae6d2ca4a25b3be290cfb8
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