diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index bd488a26ff..c6a20149b5 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -405,6 +405,11 @@ gl-ar300) "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" ;; +wpj342) + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan" "2:wan" + ;; + wpj344) ucidef_add_switch "switch0" \ "0@eth0" "3:lan" "2:wan" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 783a4e6478..1cf6e4c301 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -389,6 +389,9 @@ get_status_led() { wp543) status_led="wp543:green:diag" ;; + wpj342) + status_led="wpj342:green:sig3" + ;; wpj344) status_led="wpj344:green:status" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 9c19e23e4d..b3eda6c469 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -967,6 +967,9 @@ ar71xx_board_detect() { *WPE72) name="wpe72" ;; + *WPJ342) + name="wpj342" + ;; *WPJ344) name="wpj344" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 2d61638bf7..86375a9acc 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -255,6 +255,7 @@ platform_check_image() { rw2458n | \ wpj531 | \ wndap360 | \ + wpj342 | \ wpj344 | \ wzr-hp-g300nh2 | \ wzr-hp-g300nh | \ |