aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/board.d
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-13 00:36:01 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-31 15:03:43 +0200
commit65305cb44869774a7db10c517b871dce5ab46ccb (patch)
tree32d6daf0310d38c7be9b97d5caf5370f35d228c6 /target/linux/kirkwood/base-files/etc/board.d
parent217877d046414878126e5c8013162e3b7edc774c (diff)
downloadupstream-65305cb44869774a7db10c517b871dce5ab46ccb.tar.gz
upstream-65305cb44869774a7db10c517b871dce5ab46ccb.tar.bz2
upstream-65305cb44869774a7db10c517b871dce5ab46ccb.zip
kirkwood: use real model names for Linksys devices
This replaces the internal device names "Audi" and "Viper" with the real model names, which a user would look for. This makes the Linksys devices on this target consistent with the names recently changed for mvebu based on the same idea. As a consequence, the "viper" device definition is split into two separate definitions with the correct names for both real models. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/01_leds5
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/02_network5
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/05_compat-version5
3 files changed, 9 insertions, 6 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/01_leds b/target/linux/kirkwood/base-files/etc/board.d/01_leds
index bbe689bbb5..3f7fe71c0a 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/01_leds
+++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds
@@ -10,10 +10,11 @@ board_config_update
board=$(board_name)
case "$board" in
-"iom,ix2-200")
+iom,ix2-200)
ucidef_set_led_timer "health" "health" "status:white:rebuild_led" "200" "800"
;;
-"linksys,viper")
+linksys,e4200-v2|\
+linksys,ea4500)
ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
;;
esac
diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network
index 658ce13346..a60b87c912 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/02_network
+++ b/target/linux/kirkwood/base-files/etc/board.d/02_network
@@ -28,8 +28,9 @@ case "$board" in
"zyxel,nsa310s")
ucidef_set_interface_lan "eth0" "dhcp"
;;
-"linksys,audi"|\
-"linksys,viper")
+"linksys,e4200-v2"|\
+"linksys,ea3500"|\
+"linksys,ea4500")
ucidef_set_interfaces_lan_wan "ethernet1 ethernet2 ethernet3 ethernet4" "internet"
ucidef_set_interface_macaddr "wan" $( mtd_get_mac_ascii u_env eth1addr )
;;
diff --git a/target/linux/kirkwood/base-files/etc/board.d/05_compat-version b/target/linux/kirkwood/base-files/etc/board.d/05_compat-version
index 8954d69d12..29d1debe58 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/05_compat-version
+++ b/target/linux/kirkwood/base-files/etc/board.d/05_compat-version
@@ -9,8 +9,9 @@
board_config_update
case "$(board_name)" in
- linksys,audi|\
- linksys,viper)
+ linksys,e4200-v2|\
+ linksys,ea3500|\
+ linksys,ea4500)
ucidef_set_compat_version "1.1"
;;
esac