2008-05-19 17:07:27 +08:00
|
|
|
Index: linux-2.6.23.17/drivers/leds/Kconfig
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.23.17.orig/drivers/leds/Kconfig
|
|
|
|
+++ linux-2.6.23.17/drivers/leds/Kconfig
|
|
|
|
@@ -107,6 +107,12 @@ config LEDS_GPIO
|
2008-01-11 18:42:06 +08:00
|
|
|
outputs. To be useful the particular board must have LEDs
|
|
|
|
and they must be connected to the GPIO lines.
|
2007-07-19 22:51:56 +08:00
|
|
|
|
|
|
|
+config LEDS_RB500
|
|
|
|
+ tristate "LED Support for RB5xx boards"
|
|
|
|
+ depends LEDS_CLASS && MIKROTIK_RB500
|
|
|
|
+ help
|
|
|
|
+ This option enables support for the yellow user LED on RB5xx boards.
|
|
|
|
+
|
|
|
|
comment "LED Triggers"
|
|
|
|
|
|
|
|
config LEDS_TRIGGERS
|
2008-05-19 17:07:27 +08:00
|
|
|
Index: linux-2.6.23.17/drivers/leds/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.23.17.orig/drivers/leds/Makefile
|
|
|
|
+++ linux-2.6.23.17/drivers/leds/Makefile
|
|
|
|
@@ -18,6 +18,7 @@ obj-$(CONFIG_LEDS_ALIX) += leds-alix.o
|
2008-01-11 18:42:06 +08:00
|
|
|
obj-$(CONFIG_LEDS_H1940) += leds-h1940.o
|
|
|
|
obj-$(CONFIG_LEDS_COBALT) += leds-cobalt.o
|
|
|
|
obj-$(CONFIG_LEDS_GPIO) += leds-gpio.o
|
|
|
|
+obj-$(CONFIG_LEDS_RB500) += leds-rb500.o
|
|
|
|
|
|
|
|
# LED Triggers
|
|
|
|
obj-$(CONFIG_LEDS_TRIGGER_TIMER) += ledtrig-timer.o
|