patch-2.3.9 linux/arch/mips/dec/reset.c

Next file: linux/arch/mips/dec/rtc-dec.c
Previous file: linux/arch/mips/dec/promcon.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.8/linux/arch/mips/dec/reset.c linux/arch/mips/dec/reset.c
@@ -0,0 +1,25 @@
+/*
+ *  $Id: reset.c,v 1.4 1999/04/11 17:06:16 harald Exp $
+ *
+ *  Reset a DECstation machine.
+ *
+ */
+
+void (*back_to_prom)(void) = (void (*)(void))0xBFC00000;
+
+void dec_machine_restart(char *command)
+{
+	back_to_prom();
+}
+
+void dec_machine_halt(void)
+{
+	back_to_prom();
+}
+
+void dec_machine_power_off(void)
+{
+    /* DECstations don't have a software power switch */
+	back_to_prom();
+}
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)