diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-19 15:57:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-19 15:57:04 +0000 |
commit | 8a2e4b49dee0cb5289581375929147e9d72c7b9b (patch) | |
tree | d56b58aeea3726df44f88e0a59bbc1404d4c9fb6 /target/linux/ar71xx/base-files | |
parent | d19f3dd5121927747d3f56a0939db9a17bf8fc6b (diff) | |
download | mtk-20170518-8a2e4b49dee0cb5289581375929147e9d72c7b9b.zip mtk-20170518-8a2e4b49dee0cb5289581375929147e9d72c7b9b.tar.gz mtk-20170518-8a2e4b49dee0cb5289581375929147e9d72c7b9b.tar.bz2 |
ar71xx: add initial support for RB750GL
SVN-Revision: 31025
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 8 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index 6d1f8a1..2aa91d3 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -62,6 +62,14 @@ routerstation-pro) ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" ;; +rb-750gl |\ +wzr-hp-g450h) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5" + ucidef_add_switch_vlan "switch0" "2" "0t 1" + ;; + rb-493g) ucidef_set_interfaces_lan_wan "eth0 eth1.1" "eth1.2" ucidef_add_switch "switch0" "1" "1" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b51f3a7..be42aad 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -247,6 +247,9 @@ ar71xx_board_detect() { *"RouterBOARD 750") name="rb-750" ;; + *"RouterBOARD 750GL") + name="rb-750gl" + ;; *"Rocket M") name="rocket-m" ;; |