ar71xx: use modules for LED triggers

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31107 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2012-03-27 19:37:59 +00:00
parent d946336b61
commit 41b5fcad6d
4 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,7 @@ include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += \ DEFAULT_PACKAGES += \
kmod-leds-gpio kmod-gpio-button-hotplug kmod-wdt-ath79 swconfig \ kmod-leds-gpio kmod-gpio-button-hotplug kmod-wdt-ath79 swconfig \
kmod-ledtrig-default-on kmod-ledtrig-timer kmod-ledtrig-netdev \
kmod-ath9k wpad-mini uboot-envtools kmod-ath9k wpad-mini uboot-envtools
define Target/Description define Target/Description

View File

@ -162,6 +162,8 @@ set_state() {
case "$1" in case "$1" in
preinit) preinit)
insmod leds-gpio insmod leds-gpio
insmod ledtrig-default-on
insmod ledtrig-timer
status_led_set_timer 200 200 status_led_set_timer 200 200
;; ;;
failsafe) failsafe)

View File

@ -144,6 +144,9 @@ CONFIG_IRQ_FORCED_THREADING=y
# CONFIG_LANTIQ is not set # CONFIG_LANTIQ is not set
# CONFIG_LEDS_GPIO is not set # CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_RB750 is not set # CONFIG_LEDS_RB750 is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
# CONFIG_LEDS_TRIGGER_NETDEV is not set
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_WNDR3700_USB is not set # CONFIG_LEDS_WNDR3700_USB is not set
# CONFIG_M25PXX_USE_FAST_READ is not set # CONFIG_M25PXX_USE_FAST_READ is not set
CONFIG_MARVELL_PHY=y CONFIG_MARVELL_PHY=y

View File

@ -150,6 +150,9 @@ CONFIG_IRQ_FORCED_THREADING=y
# CONFIG_LANTIQ is not set # CONFIG_LANTIQ is not set
# CONFIG_LEDS_GPIO is not set # CONFIG_LEDS_GPIO is not set
# CONFIG_LEDS_RB750 is not set # CONFIG_LEDS_RB750 is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
# CONFIG_LEDS_TRIGGER_NETDEV is not set
# CONFIG_LEDS_TRIGGER_TIMER is not set
# CONFIG_LEDS_WNDR3700_USB is not set # CONFIG_LEDS_WNDR3700_USB is not set
# CONFIG_M25PXX_USE_FAST_READ is not set # CONFIG_M25PXX_USE_FAST_READ is not set
CONFIG_MARVELL_PHY=y CONFIG_MARVELL_PHY=y