diff options
Diffstat (limited to 'arch/m68k/sun3/leds.c')
-rw-r--r-- | arch/m68k/sun3/leds.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/m68k/sun3/leds.c b/arch/m68k/sun3/leds.c new file mode 100644 index 000000000000..a3e948463982 --- /dev/null +++ b/arch/m68k/sun3/leds.c | |||
@@ -0,0 +1,13 @@ | |||
1 | #include <asm/contregs.h> | ||
2 | #include <asm/sun3mmu.h> | ||
3 | #include <asm/io.h> | ||
4 | |||
5 | void sun3_leds(unsigned char byte) | ||
6 | { | ||
7 | unsigned char dfc; | ||
8 | |||
9 | GET_DFC(dfc); | ||
10 | SET_DFC(FC_CONTROL); | ||
11 | SET_CONTROL_BYTE(AC_LEDS,byte); | ||
12 | SET_DFC(dfc); | ||
13 | } | ||