brcm63xx: Use leds script for Huawei HG556a and improve profile
authorJonas Gorski <jogo@openwrt.org>
Sat, 12 Jul 2014 12:31:43 +0000 (12:31 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sat, 12 Jul 2014 12:31:43 +0000 (12:31 +0000)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41589

target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
target/linux/brcm63xx/generic/profiles/201-Huawei.mk

index fb26cfba2b1b6d41fcd9f6b59e6e931d1c93e79c..eee89b23b20042f38932098aa0b2133bf3d5094a 100644 (file)
@@ -19,6 +19,10 @@ HW553)
        ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1"
        ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2"
        ;;
+HW556*)
+       ucidef_set_led_netdev "lan" "LAN" "HW556:red:dsl" "eth0"
+       ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2"
+       ;;
 esac
 
 ucidef_commit_leds
index 3cdd018ace7db8fe8f41d9c2482c132121848e9e..820f5e096ce639c8792dbd96e6ea7fbf8ae4be4a 100644 (file)
@@ -16,11 +16,11 @@ endef
 $(eval $(call Profile,HW553))
 
 define Profile/HW556
-  NAME:=HW556 WiFi
-  PACKAGES:=kmod-rt2800-pci kmod-ath9k wpad-mini
+  NAME:=Huawei HG556a
+  PACKAGES:=kmod-rt2800-pci kmod-ath9k wpad-mini \
+       kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
 endef
-
 define Profile/HW556/Description
-       Package set compatible with hardware using Atheros or Ralink WiFi cards (Huawei HG556a)
+       Package set optimized for Huawei HG556a using open-source atheros or ralink WiFi driver
 endef
 $(eval $(call Profile,HW556))