Commit 9492f0de authored by Trevor Pering's avatar Trevor Pering Committed by Russell King

[PATCH] 964/1: Consus led patches

+++ linux/arch/arm/mach-sa1100/leds.c   Wed Feb 13 13:55:33 2002
+++ linux/arch/arm/mach-sa1100/leds.h   Wed Feb 13 13:55:52 2002
+++ linux/include/asm-arm/leds.h        Wed Feb 13 13:01:31 2002

Additions for consus_leds_event (parallels assabet_leds_event).
Added led_start_time_mode and led_stop_timer_mode for heartbeat led.
Added led_blue_on and led_blue_off for Blue led support.
parent e4a43934
......@@ -17,6 +17,8 @@ sa1100_leds_init(void)
{
if (machine_is_assabet())
leds_event = assabet_leds_event;
if (machine_is_consus())
leds_event = consus_leds_event;
if (machine_is_brutus())
leds_event = brutus_leds_event;
if (machine_is_cerf())
......
extern void assabet_leds_event(led_event_t evt);
extern void consus_leds_event(led_event_t evt);
extern void brutus_leds_event(led_event_t evt);
extern void cerf_leds_event(led_event_t evt);
extern void flexanet_leds_event(led_event_t evt);
......
......@@ -23,12 +23,16 @@ typedef enum {
led_stop,
led_claim, /* override idle & timer leds */
led_release, /* restore idle & timer leds */
led_start_timer_mode,
led_stop_timer_mode,
led_green_on,
led_green_off,
led_amber_on,
led_amber_off,
led_red_on,
led_red_off,
led_blue_on,
led_blue_off,
/*
* I want this between led_timer and led_start, but
* someone has decided to export this to user space
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment