diff options
author | John Crispin <blogic@openwrt.org> | 2015-02-02 09:00:21 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-02-02 09:00:21 +0000 |
commit | 560f9d56375f398ad13c3237de5c41d73ac187cd (patch) | |
tree | 642b879f97291fbe984252c5ee3cd5fa838e5f82 /target/linux/ar71xx/base-files/etc | |
parent | 61a9131702e68e676910706b0f0e3923acb5ed6a (diff) | |
download | upstream-560f9d56375f398ad13c3237de5c41d73ac187cd.tar.gz upstream-560f9d56375f398ad13c3237de5c41d73ac187cd.tar.bz2 upstream-560f9d56375f398ad13c3237de5c41d73ac187cd.zip |
added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44237 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index af6107b489..af53afdf4e 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -288,6 +288,9 @@ get_status_led() { wp543) status_led="wp543:green:diag" ;; + wpj558) + status_led="wpj558:green:sig3" + ;; wrt400n) status_led="wrt400n:blue:wps" ;; 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 a223ae8fe5..1d186deffa 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -359,6 +359,13 @@ wpe72) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; +wpj558) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "5 6t" + ucidef_add_switch_vlan "switch0" "2" "1 6t" + ;; + ap121 |\ ap121-mini |\ ap96 |\ |