aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-01-08 20:25:48 +0000
committerJohn Crispin <john@openwrt.org>2015-01-08 20:25:48 +0000
commitc9a390f9e1a3beffbea62dc408fbe70bdf1b5902 (patch)
tree3e1f182ba715089460c9918152c6267725aaa237
parent9d7d29439b72df7ddac6a6644f5aab77fcb87e83 (diff)
downloadupstream-c9a390f9e1a3beffbea62dc408fbe70bdf1b5902.tar.gz
upstream-c9a390f9e1a3beffbea62dc408fbe70bdf1b5902.tar.bz2
upstream-c9a390f9e1a3beffbea62dc408fbe70bdf1b5902.zip
lantiq: BT Home Hub 3A - userspace
BT Home Hub 3A - userspace Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 43879
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/01_leds5
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network2
-rwxr-xr-xtarget/linux/lantiq/base-files/lib/upgrade/platform.sh2
3 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
index 6349ea83b7..10ba2a13b7 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
@@ -25,6 +25,11 @@ BTHOMEHUBV2B)
ucidef_set_led_netdev "internet" "internet" "soc:blue:broadband" "pppoa-wan"
ucidef_set_led_usbdev "usb" "usb" "soc:blue:phone" "1-1"
;;
+BTHOMEHUBV3A)
+ ucidef_set_led_default "power" "power" "soc:blue:power" "1"
+ ucidef_set_led_wlan "wifi" "wifi" "soc:blue:wireless" "phy0tpt"
+ ucidef_set_led_netdev "internet" "internet" "soc:blue:broadband" "pppoa-wan"
+ ;;
VGV7519)
ucidef_set_led_default "power" "power" "power" "0"
ucidef_set_led_default "power2" "power2" "power2" "1"
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index 777e38dcbd..1df83a6a9d 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -164,7 +164,7 @@ ARV7519RW22)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
-BTHOMEHUBV2B)
+BTHOMEHUBV2B|BTHOMEHUBV3A)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
diff --git a/target/linux/lantiq/base-files/lib/upgrade/platform.sh b/target/linux/lantiq/base-files/lib/upgrade/platform.sh
index bef395ad7b..84f15c41ae 100755
--- a/target/linux/lantiq/base-files/lib/upgrade/platform.sh
+++ b/target/linux/lantiq/base-files/lib/upgrade/platform.sh
@@ -7,7 +7,7 @@ platform_check_image() {
local board=$(lantiq_board_name)
case "$board" in
- BTHOMEHUBV2B )
+ BTHOMEHUBV2B|BTHOMEHUBV3A )
nand_do_platform_check $board $1
return $?;
;;