kirkwood: consistently use engineering board names

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47430
lede-17.01
Luka Perkov 2015-11-10 00:16:28 +00:00
parent 3ef14d0c3d
commit ad8f6370de
4 changed files with 12 additions and 12 deletions

View File

@ -12,8 +12,8 @@ get_status_led() {
pogo_e02) pogo_e02)
status_led="status:orange:fault" status_led="status:orange:fault"
;; ;;
ea4500) linksys-viper)
status_led="ea4500:white:health" status_led="viper:white:health"
;; ;;
esac esac
} }

View File

@ -13,12 +13,12 @@ case "$board" in
ucidef_set_led_default "health" "health" "status:green:health" "1" ucidef_set_led_default "health" "health" "status:green:health" "1"
ucidef_set_led_default "fault" "fault" "status:orange:fault" "1" ucidef_set_led_default "fault" "fault" "status:orange:fault" "1"
;; ;;
"ea3500") "linksys-audi")
ucidef_set_led_default "power" "power" "ea3500:green:power" "1" ucidef_set_led_default "power" "power" "audi:green:power" "1"
;; ;;
"ea4500") "linksys-viper")
ucidef_set_led_default "health" "health" "ea4500:white:health" "1" ucidef_set_led_default "health" "health" "viper:white:health" "1"
ucidef_set_led_default "pulse" "pulse" "ea4500:white:pulse" "1" ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
;; ;;
"goflexhome" | \ "goflexhome" | \
"goflexnet") "goflexnet")

View File

@ -37,13 +37,13 @@ case "$board" in
"pogo_e02") "pogo_e02")
set_lan_dhcp "eth0" set_lan_dhcp "eth0"
;; ;;
"ea3500") "linksys-audi")
ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1" ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5"
ucidef_add_switch_vlan "switch0" "2" "4 6" ucidef_add_switch_vlan "switch0" "2" "4 6"
;; ;;
"ea4500") "linksys-viper")
ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" "1" "1" ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5"

View File

@ -38,11 +38,11 @@ kirkwood_board_detect() {
;; ;;
"Linksys EA3500") "Linksys EA3500")
name="ea3500" name="linksys-audi"
;; ;;
"Linksys EA4500") "Linksys E4200v2 / EA4500")
name="ea4500" name="linksys-viper"
;; ;;
"Globalscale Technologies Guruplug Server Plus") "Globalscale Technologies Guruplug Server Plus")