1 --- linux-2.6.19.2.old/arch/arm/mach-at91rm9200/vlink_leds.c 2007-03-25 19:36:45.000000000 +0200
2 +++ linux-2.6.19.2/arch/arm/mach-at91rm9200/vlink_leds.c 2007-03-29 09:17:39.000000000 +0200
5 static inline void at91_led_toggle(unsigned int led)
7 - unsigned long is_off = at91_get_gpio_value(AT91_PIN_PC7);
8 + unsigned long is_off = at91_get_gpio_value(AT91_PIN_PC14);
10 - at91_set_gpio_value(AT91_PIN_PC7, 0);
11 - at91_set_gpio_value(AT91_PIN_PC8, 1);
12 + at91_set_gpio_value(AT91_PIN_PC14, 0);
13 + at91_set_gpio_value(AT91_PIN_PC15, 1);
15 - at91_set_gpio_value(AT91_PIN_PC7, 1);
16 - at91_set_gpio_value(AT91_PIN_PC8, 0);
17 + at91_set_gpio_value(AT91_PIN_PC14, 1);
18 + at91_set_gpio_value(AT91_PIN_PC15, 0);
25 case led_start: /* System startup */
26 -// at91_led_on(at91_leds_cpu);
27 at91_led_toggle(at91_leds_timer);
29 - at91_set_gpio_value(AT91_PIN_PC7, 0);
30 - at91_set_gpio_value(AT91_PIN_PC8, 1);
34 case led_stop: /* System stop / suspend */
35 at91_led_toggle(at91_leds_timer);
37 - at91_set_gpio_value(AT91_PIN_PC7, 1);
38 - at91_set_gpio_value(AT91_PIN_PC8, 0);
42 #ifdef CONFIG_LEDS_TIMER
44 #ifdef CONFIG_LEDS_CPU
45 case led_idle_start: /* Entering idle state */
46 at91_led_toggle(at91_leds_timer);
48 - at91_set_gpio_value(AT91_PIN_PC7, 1);
49 - at91_set_gpio_value(AT91_PIN_PC8, 0);
53 case led_idle_end: /* Exit idle state */
54 at91_led_toggle(at91_leds_timer);
56 - at91_set_gpio_value(AT91_PIN_PC7, 0);
57 - at91_set_gpio_value(AT91_PIN_PC8, 1);