diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-12-16 07:16:43 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-12-16 07:16:43 +0000 |
commit | 7038fd9c520cc75bacd4972b548f4c5512663031 (patch) | |
tree | 50e5f20a441148cd003d5c0c9fedbad4bfc50946 /target/linux/ar71xx/base-files/etc/uci-defaults | |
parent | 3dc1cbb167a034403bb16852ca841a25c7540838 (diff) | |
download | mtk-20170518-7038fd9c520cc75bacd4972b548f4c5512663031.zip mtk-20170518-7038fd9c520cc75bacd4972b548f4c5512663031.tar.gz mtk-20170518-7038fd9c520cc75bacd4972b548f4c5512663031.tar.bz2 |
ar71xx: add userspace support for WD My Net N750
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: remove the image generation part until the ethernet
switch issue is resolved]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39078
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 10 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header | 3 |
2 files changed, 12 insertions, 1 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 ca57fbb..a7eeab0 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -207,6 +207,16 @@ dir-825-c1) [ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac" ;; +mynet-n750) + local mac + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0t 1 2 3 4" + ucidef_add_switch_vlan "switch0" "2" "0t 5" + mac=$(mtd_get_mac_ascii devdata "wanmac") + [ -n "$mac" ] && ucidef_set_interface_macaddr "wan" "$mac" + ;; + dir-835-a1 |\ wndr4300) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header index 8114ed4..000b773 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header @@ -14,7 +14,8 @@ fix_seama_header() { board=$(ar71xx_board_name) case "$board" in -mynet-n600) +mynet-n600 | \ +mynet-n750) fix_seama_header kernel ;; esac |