1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
14 lines
224 B
C
14 lines
224 B
C
#include <asm/contregs.h>
|
|
#include <asm/sun3mmu.h>
|
|
#include <asm/io.h>
|
|
|
|
void sun3_leds(unsigned char byte)
|
|
{
|
|
unsigned char dfc;
|
|
|
|
GET_DFC(dfc);
|
|
SET_DFC(FC_CONTROL);
|
|
SET_CONTROL_BYTE(AC_LEDS,byte);
|
|
SET_DFC(dfc);
|
|
}
|