summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-12-17 22:05:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-12-17 22:05:10 +0000
commitc6c1f5b10a45591a6841029e0ec7b400053f5cf1 (patch)
tree31a7a6515a34d0b2c64d8468564c616fa8af9e56 /sys/arch/sparc
parent80e1ee756ad722f2802ac1301e7beb97092535a8 (diff)
attempt to power down voyager (untested); miod ok
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index 6989366d264..5ad51d1b908 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.93 2003/06/02 23:27:55 millert Exp $ */
+/* $OpenBSD: machdep.c,v 1.94 2003/12/17 22:05:09 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */
/*
@@ -729,8 +729,9 @@ haltsys:
#if NTCTRL > 0
tadpole_powerdown();
#endif
- printf("WARNING: powerdown failed!\n");
#endif /* NPOWER || MTCTRL */
+ prom_interpret("power-off");
+ printf("WARNING: powerdown failed!\n");
}
#endif /* SUN4M */
printf("halted\n\n");