Commit 1f67bb2a authored by Russell King's avatar Russell King

Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk-patchtest

into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
parents 63038e5f 9492f0de
...@@ -187,9 +187,9 @@ fixup_badge4(struct machine_desc *desc, struct param_struct *params, ...@@ -187,9 +187,9 @@ fixup_badge4(struct machine_desc *desc, struct param_struct *params,
static struct map_desc badge4_io_desc[] __initdata = { static struct map_desc badge4_io_desc[] __initdata = {
/* virtual physical length domain r w c b */ /* virtual physical length domain r w c b */
{0xf1000000, 0x08000000, 0x00100000, DOMAIN_IO, 1,1,0,0},/* SRAM bank 1 */ {0xf1000000, 0x08000000, 0x00100000, DOMAIN_IO, 0,1,0,0},/* SRAM bank 1 */
{0xf2000000, 0x10000000, 0x00100000, DOMAIN_IO, 1,1,0,0},/* SRAM bank 2 */ {0xf2000000, 0x10000000, 0x00100000, DOMAIN_IO, 0,1,0,0},/* SRAM bank 2 */
{0xf4000000, 0x48000000, 0x00100000, DOMAIN_IO, 1,1,0,0},/* SA-1111 */ {0xf4000000, 0x48000000, 0x00100000, DOMAIN_IO, 0,1,0,0},/* SA-1111 */
LAST_DESC LAST_DESC
}; };
......
...@@ -17,6 +17,8 @@ sa1100_leds_init(void) ...@@ -17,6 +17,8 @@ sa1100_leds_init(void)
{ {
if (machine_is_assabet()) if (machine_is_assabet())
leds_event = assabet_leds_event; leds_event = assabet_leds_event;
if (machine_is_consus())
leds_event = consus_leds_event;
if (machine_is_brutus()) if (machine_is_brutus())
leds_event = brutus_leds_event; leds_event = brutus_leds_event;
if (machine_is_cerf()) if (machine_is_cerf())
......
extern void assabet_leds_event(led_event_t evt); 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 brutus_leds_event(led_event_t evt);
extern void cerf_leds_event(led_event_t evt); extern void cerf_leds_event(led_event_t evt);
extern void flexanet_leds_event(led_event_t evt); extern void flexanet_leds_event(led_event_t evt);
......
...@@ -23,12 +23,16 @@ typedef enum { ...@@ -23,12 +23,16 @@ typedef enum {
led_stop, led_stop,
led_claim, /* override idle & timer leds */ led_claim, /* override idle & timer leds */
led_release, /* restore idle & timer leds */ led_release, /* restore idle & timer leds */
led_start_timer_mode,
led_stop_timer_mode,
led_green_on, led_green_on,
led_green_off, led_green_off,
led_amber_on, led_amber_on,
led_amber_off, led_amber_off,
led_red_on, led_red_on,
led_red_off, led_red_off,
led_blue_on,
led_blue_off,
/* /*
* I want this between led_timer and led_start, but * I want this between led_timer and led_start, but
* someone has decided to export this to user space * 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