1 // SPDX-License-Identifier: GPL-2.0 << 2 #include <asm/contregs.h> 1 #include <asm/contregs.h> 3 #include <asm/sun3mmu.h> 2 #include <asm/sun3mmu.h> 4 #include <asm/io.h> 3 #include <asm/io.h> >> 4 #include <asm/movs.h> 5 5 6 #include "sun3.h" !! 6 #define FC_CONTROL 3 /* This should go somewhere else... */ 7 7 8 void sun3_leds(unsigned char byte) 8 void sun3_leds(unsigned char byte) 9 { 9 { 10 unsigned char dfc; 10 unsigned char dfc; 11 !! 11 12 GET_DFC(dfc); 12 GET_DFC(dfc); 13 SET_DFC(FC_CONTROL); !! 13 SET_DFC(FC_CONTROL); 14 SET_CONTROL_BYTE(AC_LEDS, byte); !! 14 SET_CONTROL_BYTE(AC_LEDS,byte); 15 SET_DFC(dfc); 15 SET_DFC(dfc); 16 } 16 } 17 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.