Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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); | ||||
Andrea Gelmini | 2b9e12d | 2010-05-23 22:01:56 +0200 | [diff] [blame] | 10 | SET_DFC(FC_CONTROL); |
11 | SET_CONTROL_BYTE(AC_LEDS, byte); | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | SET_DFC(dfc); |
13 | } |