diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-01-07 08:58:44 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-07 08:58:44 +0000 |
commit | 8fb6b2d3d410ad2badf0c99ed7a66b698aafaa17 (patch) | |
tree | 8a700d795bdf33061b8bccc353fe0aaffa044036 /packages/slugos-init/files/leds.h | |
parent | 0b67482ddc4fe571d16fa094627abb447b9a8edb (diff) |
slugos: Major rename of common SlugOS files and directories from openslug to slugos.
Diffstat (limited to 'packages/slugos-init/files/leds.h')
-rw-r--r-- | packages/slugos-init/files/leds.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/slugos-init/files/leds.h b/packages/slugos-init/files/leds.h new file mode 100644 index 0000000000..0b236dd6c0 --- /dev/null +++ b/packages/slugos-init/files/leds.h @@ -0,0 +1,21 @@ + void init_leds(void); + void led_on(int); + void led_off( int ); + void led_toggle(int num); + + // ioctls -- 'M" is used for sound cards...we don't got one so it seems safe + #define N2_LM_OFF _IOW('M',32,long) + #define N2_LM_ON _IOW('M',33,long) + #define N2_LM_BLINK _IOW('M',34,long) + #define N2_LM_ALT _IOW('M',35,long) + #define N2_LM_ALL_ON _IO('M',36) + #define N2_LM_ALL_OFF _IO('M',37) + + // The LED names for switches + #define LED_RS_RED 0 + #define LED_RS_GRN 1 + #define LED_DISK1 2 + #define LED_DISK2 3 + #define LED_ALL 4 + + #define PHYS_LEDS 4 |