aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-30 17:38:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-05-30 17:38:30 +0000
commit86e0f5976e54bb85a4495843629df905e1568b17 (patch)
tree2d778bf395583f75aecece31ddc398448bcdf6c0 /target
parent97254ab640e636e922b40a9d5049f3a8782ddfaa (diff)
downloadupstream-86e0f5976e54bb85a4495843629df905e1568b17.tar.gz
upstream-86e0f5976e54bb85a4495843629df905e1568b17.tar.bz2
upstream-86e0f5976e54bb85a4495843629df905e1568b17.zip
ar71xx: create a separated network interface for the RB2011UAS SFP port
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36800 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 3ba240e1c4..86dceabcb6 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -55,6 +55,13 @@ rb-2011uas-2hnd)
ucidef_add_switch_vlan "switch0" "2" "0t 1"
ucidef_add_switch "switch1" "1" "1"
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|\