aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-07-12 12:31:43 +0000
committerJonas Gorski <jogo@openwrt.org>2014-07-12 12:31:43 +0000
commita53c85e6c918e79f8d22c1cb309e58d21885fd8f (patch)
treee6fe2a27489046767e2a9cce296234f79577d177
parent2f3d81bb2321a19df0ec35ff48663ed2a27031d3 (diff)
downloadupstream-a53c85e6c918e79f8d22c1cb309e58d21885fd8f.tar.gz
upstream-a53c85e6c918e79f8d22c1cb309e58d21885fd8f.tar.bz2
upstream-a53c85e6c918e79f8d22c1cb309e58d21885fd8f.zip
brcm63xx: Use leds script for Huawei HG556a and improve profile
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41589 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds4
-rw-r--r--target/linux/brcm63xx/generic/profiles/201-Huawei.mk8
2 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
index fb26cfba2b..eee89b23b2 100644
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
@@ -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
diff --git a/target/linux/brcm63xx/generic/profiles/201-Huawei.mk b/target/linux/brcm63xx/generic/profiles/201-Huawei.mk
index 3cdd018ace..820f5e096c 100644
--- a/target/linux/brcm63xx/generic/profiles/201-Huawei.mk
+++ b/target/linux/brcm63xx/generic/profiles/201-Huawei.mk
@@ -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))