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

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)