1 | // SPDX-License-Identifier: GPL-2.0 |
---|---|
2 | #include <asm/contregs.h> |
3 | #include <asm/sun3mmu.h> |
4 | #include <asm/io.h> |
5 | |
6 | #include "sun3.h" |
7 | |
8 | void sun3_leds(unsigned char byte) |
9 | { |
10 | unsigned char dfc; |
11 | |
12 | GET_DFC(dfc); |
13 | SET_DFC(FC_CONTROL); |
14 | SET_CONTROL_BYTE(AC_LEDS, byte); |
15 | SET_DFC(dfc); |
16 | } |
17 |