[OpenWrt-Devel] [PATCH 3/3] lantiq: BT Home Hub 3A - userspace
Ben Mulvihill
ben.mulvihill at gmail.com
Sun Dec 28 08:13:56 EST 2014
BT Home Hub 3A - userspace
Signed-off-by: Ben Mulvihill <ben.mulvihill at gmail.com>
---
target/linux/lantiq/base-files/etc/uci-defaults/01_leds | 5 +++++
target/linux/lantiq/base-files/etc/uci-defaults/02_network | 2 +-
target/linux/lantiq/base-files/lib/upgrade/platform.sh | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff -uprN a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds
--- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds 2014-12-21 22:20:52.000000000 +0100
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds 2014-12-21 22:24:31.000000000 +0100
@@ -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 -uprN a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network 2014-12-20 10:29:44.000000000 +0100
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network 2014-12-21 22:24:31.000000000 +0100
@@ -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 -uprN a/target/linux/lantiq/base-files/lib/upgrade/platform.sh b/target/linux/lantiq/base-files/lib/upgrade/platform.sh
--- a/target/linux/lantiq/base-files/lib/upgrade/platform.sh 2014-12-20 10:29:44.000000000 +0100
+++ b/target/linux/lantiq/base-files/lib/upgrade/platform.sh 2014-12-21 22:29:23.000000000 +0100
@@ -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 $?;
;;
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list