patch-2.3.17 linux/arch/m68k/sun3/leds.c
Next file: linux/arch/m68k/sun3/mmu_emu.c
Previous file: linux/arch/m68k/sun3/idprom.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sat Sep 4 13:06:41 1999
- Orig file:
v2.3.16/linux/arch/m68k/sun3/leds.c
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.3.16/linux/arch/m68k/sun3/leds.c linux/arch/m68k/sun3/leds.c
@@ -0,0 +1,16 @@
+#include <asm/contregs.h>
+#include <asm/sun3mmu.h>
+#include <asm/io.h>
+#include <asm/movs.h>
+
+#define FC_CONTROL 3 /* This should go somewhere else... */
+
+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);
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)