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>

SVN-Revision: 41589
master
Jonas Gorski 11 years ago
parent e5cadabb58
commit 44e187fd66
  1. 4
      target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
  2. 8
      target/linux/brcm63xx/generic/profiles/201-Huawei.mk

@ -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

@ -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))

Loading…
Cancel
Save