diff --git a/sys/arch/amiga/amiga/machdep.c b/sys/arch/amiga/amiga/machdep.c index 0828b05c12b0..035079867c45 100644 --- a/sys/arch/amiga/amiga/machdep.c +++ b/sys/arch/amiga/amiga/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.240 2013/01/28 14:53:33 rkujawa Exp $ */ +/* $NetBSD: machdep.c,v 1.241 2013/01/28 16:36:10 rkujawa Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -50,7 +50,7 @@ #include "empm.h" #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.240 2013/01/28 14:53:33 rkujawa Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.241 2013/01/28 16:36:10 rkujawa Exp $"); #include #include @@ -430,14 +430,16 @@ cpu_reboot(register int howto, char *bootstr) if (howto & RB_DUMP) dumpsys(); - if (howto & RB_HALT) { #if NEMPM > 0 + if (howto & RB_POWERDOWN) { empmdev = device_find_by_xname("empm0"); if (empmdev != NULL) { empm_power_off(device_private(empmdev)); } + } #endif /* NEMPM > 0 */ + if (howto & RB_HALT) { printf("\n"); printf("The operating system has halted.\n"); printf("Please press any key to reboot.\n\n");