aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorCatrinel Catrinescu <cc@80211.de>2018-06-05 16:56:48 +0200
committerJohn Crispin <john@phrozen.org>2018-06-07 09:02:04 +0200
commitdc1268cb11d827f1868d6ef96e3d289431165c0e (patch)
treec0907fcc590d128c67ce78324c40b1c40bdd78ee /target/linux/ath79/base-files
parent32ab2e16b181fdb0167ef6615602294958ee2ec4 (diff)
downloadupstream-dc1268cb11d827f1868d6ef96e3d289431165c0e.tar.gz
upstream-dc1268cb11d827f1868d6ef96e3d289431165c0e.tar.bz2
upstream-dc1268cb11d827f1868d6ef96e3d289431165c0e.zip
ath79: add WLAN, Ethernet-Switch with LAN/WAN and Status LED to Dorin
Signed-off-by: Catrinel Catrinescu <cc@80211.de>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network5
-rw-r--r--target/linux/ath79/base-files/etc/diag.sh3
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index a9eeb5b455..e6ef47240f 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -14,6 +14,11 @@ ath79_setup_interfaces()
ucidef_set_interface_lan "eth0"
;;
+ "embeddedwireless,dorin")
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:wan" "2:lan:3" "3:lan:2"
+ ;;
+
"glinet,ar150")
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
diff --git a/target/linux/ath79/base-files/etc/diag.sh b/target/linux/ath79/base-files/etc/diag.sh
index b18463413a..0a5011a7ae 100644
--- a/target/linux/ath79/base-files/etc/diag.sh
+++ b/target/linux/ath79/base-files/etc/diag.sh
@@ -12,6 +12,9 @@ get_status_led() {
"avm,fritz300e")
status_led="${boardname}:green:power"
;;
+ "embeddedwireless,dorin")
+ status_led="dorin:green:status"
+ ;;
"glinet,ar150")
status_led="gl-ar150:orange:wlan"
;;