forked from Ivasoft/openwrt
ar71xx: add support for compex wpj344
Signed-off-by: Christian Mehlis <christian@m3hlis.de> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45527
This commit is contained in:
@@ -296,6 +296,9 @@ get_status_led() {
|
||||
wp543)
|
||||
status_led="wp543:green:diag"
|
||||
;;
|
||||
wpj344)
|
||||
status_led="wpj344:green:status"
|
||||
;;
|
||||
wpj558)
|
||||
status_led="wpj558:green:sig3"
|
||||
;;
|
||||
|
||||
@@ -360,6 +360,13 @@ wpe72)
|
||||
ucidef_set_interfaces_lan_wan "eth1" "eth0"
|
||||
;;
|
||||
|
||||
wpj344)
|
||||
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||
ucidef_add_switch "switch0" "1" "1"
|
||||
ucidef_add_switch_vlan "switch0" "1" "0t 3"
|
||||
ucidef_add_switch_vlan "switch0" "2" "0t 2"
|
||||
;;
|
||||
|
||||
wpj558)
|
||||
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||
ucidef_add_switch "switch0" "1" "1"
|
||||
|
||||
@@ -801,6 +801,9 @@ ar71xx_board_detect() {
|
||||
*WPE72)
|
||||
name="wpe72"
|
||||
;;
|
||||
*WPJ344)
|
||||
name="wpj344"
|
||||
;;
|
||||
*WPJ558)
|
||||
name="wpj558"
|
||||
;;
|
||||
|
||||
@@ -184,6 +184,7 @@ platform_check_image() {
|
||||
db120 | \
|
||||
f9k1115v2 |\
|
||||
hornet-ub | \
|
||||
wpj344 | \
|
||||
wpj558 | \
|
||||
zcn-1523h-2 | \
|
||||
zcn-1523h-5)
|
||||
|
||||
Reference in New Issue
Block a user