aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-01-08 20:25:48 +0000
committerJohn Crispin <blogic@openwrt.org>2015-01-08 20:25:48 +0000
commit2f58f4729ba41ad9d5b52540632cb8a7308e74c0 (patch)
tree66798c80f110aa962510b1765727c67e62b93469
parent2292309153efa9136c08e789db21b33d697eed06 (diff)
downloadupstream-2f58f4729ba41ad9d5b52540632cb8a7308e74c0.tar.gz
upstream-2f58f4729ba41ad9d5b52540632cb8a7308e74c0.tar.bz2
upstream-2f58f4729ba41ad9d5b52540632cb8a7308e74c0.zip
lantiq: BT Home Hub 3A - userspace
BT Home Hub 3A - userspace Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43879 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 $?;
;;