Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / include / asm-parisc / led.h
blobe4c9b2cc595871f490cf9c2b8d2523ca8a3d11de
1 #ifndef LED_H
2 #define LED_H
5 #define LED7 0x80 /* top (or furthest right) LED */
6 #define LED6 0x40
7 #define LED5 0x20
8 #define LED4 0x10
9 #define LED3 0x08
10 #define LED2 0x04
11 #define LED1 0x02
12 #define LED0 0x01 /* bottom (or furthest left) LED */
14 #define LED_LAN_TX LED0 /* for LAN transmit activity */
15 #define LED_LAN_RCV LED1 /* for LAN receive activity */
16 #define LED_DISK_IO LED2 /* for disk activity */
17 #define LED_HEARTBEAT LED3 /* heartbeat */
20 /* irq function */
21 extern void led_interrupt_func(void);
23 /* LASI & ASP specific LED initialization funcs */
24 extern void __init lasi_led_init( unsigned long lasi_hpa );
25 extern void __init asp_led_init( unsigned long led_ptr );
27 /* registers the LED regions for procfs */
28 extern void __init register_led_regions(void);
30 /* main LED initialization function (uses the PDC) */
31 extern int __init led_init(void);
33 #endif /* LED_H */