c41fecfeadea4ab380b51c1e048cd6328d7a3fc3
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.30 / 402-ledtrig_netdev.patch
1 --- a/drivers/leds/Kconfig
2 +++ b/drivers/leds/Kconfig
3 @@ -299,4 +299,11 @@ config LEDS_TRIGGER_MORSE
4         tristate "LED Morse Trigger"
5         depends on LEDS_TRIGGERS
6  
7 +config LEDS_TRIGGER_NETDEV
8 +       tristate "LED Netdev Trigger"
9 +       depends on NET && LEDS_TRIGGERS
10 +       help
11 +         This allows LEDs to be controlled by network device activity.
12 +         If unsure, say Y.
13 +
14  endif # NEW_LEDS
15 --- a/drivers/leds/Makefile
16 +++ b/drivers/leds/Makefile
17 @@ -39,3 +39,4 @@ obj-$(CONFIG_LEDS_TRIGGER_BACKLIGHT)  += 
18  obj-$(CONFIG_LEDS_TRIGGER_GPIO)                += ledtrig-gpio.o
19  obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON)  += ledtrig-default-on.o
20  obj-$(CONFIG_LEDS_TRIGGER_MORSE)       += ledtrig-morse.o
21 +obj-$(CONFIG_LEDS_TRIGGER_NETDEV)      += ledtrig-netdev.o