blob: aad2e0a0682ec23116876fe10edcc92a83d3bf59 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#include <asm/contregs.h>
2#include <asm/sun3mmu.h>
3#include <asm/io.h>
4
5void sun3_leds(unsigned char byte)
6{
7 unsigned char dfc;
8
9 GET_DFC(dfc);
Andrea Gelmini2b9e12d2010-05-23 22:01:56 +020010 SET_DFC(FC_CONTROL);
11 SET_CONTROL_BYTE(AC_LEDS, byte);
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 SET_DFC(dfc);
13}