patch-2.1.121 linux/include/asm-arm/arch-ebsa110/time.h

Next file: linux/include/asm-arm/arch-ebsa110/timex.h
Previous file: linux/include/asm-arm/arch-ebsa110/system.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.120/linux/include/asm-arm/arch-ebsa110/time.h linux/include/asm-arm/arch-ebsa110/time.h
@@ -7,9 +7,14 @@
  *
  * Changelog:
  *  10-Oct-1996	RMK	Created
- *  04-Dec-1997	RMK	Updated for new arch/arm/time.c
+ *  04-Dec-1997	RMK	Updated for new arch/arm/kernel/time.c
+ *  07-Aug-1998	RMK	Updated for arch/arm/kernel/leds.c
  */
 
+#include <asm/leds.h>
+
+#define IRQ_TIMER IRQ_EBSA110_TIMER0
+
 #define MCLK_47_8
 
 #if defined(MCLK_42_3)
@@ -49,7 +54,7 @@
 
 	if (--count == 0) {
 		count = 50;
-		*(volatile unsigned char *)0xf2400000 ^= 128;
+		leds_event(led_timer);
 	}
 
 	if (divisor == 0) {

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]