From: John Crispin Date: Thu, 8 Jan 2015 20:25:48 +0000 (+0000) Subject: lantiq: BT Home Hub 3A - userspace X-Git-Tag: reboot~4786 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c9a390f9e1a3beffbea62dc408fbe70bdf1b5902;p=openwrt%2Fstaging%2Fpepe2k.git lantiq: BT Home Hub 3A - userspace BT Home Hub 3A - userspace Signed-off-by: Ben Mulvihill SVN-Revision: 43879 --- 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 $?; ;;