| 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); | ||||
| 10 | SET_DFC(FC_CONTROL); | ||||
| 11 | SET_CONTROL_BYTE(AC_LEDS,byte); | ||||
| 12 | SET_DFC(dfc); | ||||
| 13 | } | ||||