ar71xx: create a separated network interface for the RB2011UAS SFP port

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36800
lede-17.01
Gabor Juhos 2013-05-30 17:38:30 +00:00
parent 151dca0935
commit 23bcceb058
1 changed files with 7 additions and 0 deletions

View File

@ -55,6 +55,13 @@ rb-2011uas-2hnd)
ucidef_add_switch_vlan "switch0" "2" "0t 1" ucidef_add_switch_vlan "switch0" "2" "0t 1"
ucidef_add_switch "switch1" "1" "1" ucidef_add_switch "switch1" "1" "1"
ucidef_add_switch_vlan "switch1" "1" "0 1 2 3 4 5" ucidef_add_switch_vlan "switch1" "1" "0 1 2 3 4 5"
case "$board" in
rb-2011uas*)
ucidef_set_interface_raw "sfp" "eth0.3"
ucidef_add_switch_vlan "switch0" "3" "0t 6"
;;
esac
;; ;;
dir-825-b1|\ dir-825-b1|\