repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Linux 5.8-rc4
[linux/fpc-iii.git]
/
arch
/
m68k
/
sun3
/
leds.c
blob
7c67b58ebf13fa4aa7f89d32bd6f5f9d66036792
1
// SPDX-License-Identifier: GPL-2.0
2
#include <asm/contregs.h>
3
#include <asm/sun3mmu.h>
4
#include <asm/io.h>
5
6
void
sun3_leds
(
unsigned char
byte
)
7
{
8
unsigned char
dfc
;
9
10
GET_DFC
(
dfc
);
11
SET_DFC
(
FC_CONTROL
);
12
SET_CONTROL_BYTE
(
AC_LEDS
,
byte
);
13
SET_DFC
(
dfc
);
14
}