summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2005-01-17 22:59:58 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2005-01-17 22:59:58 +0000
commit69300850e87662edf04565edeae3510b96ead8f9 (patch)
tree885067c74b9305f6473d30aeef71b68fe61cabc7 /sys
parentd568a3d0982d3e1d918994790017b52a789440af (diff)
Wait for disk to spin down before reboot. Should avoid unexpected fscks.
ok drahn@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/zaurus/zaurus/zaurus_machdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/zaurus/zaurus/zaurus_machdep.c b/sys/arch/zaurus/zaurus/zaurus_machdep.c
index 90af88b1c97..d05b1e2ed6e 100644
--- a/sys/arch/zaurus/zaurus/zaurus_machdep.c
+++ b/sys/arch/zaurus/zaurus/zaurus_machdep.c
@@ -342,6 +342,7 @@ boot(int howto)
cngetc();
}
printf("rebooting...\n");
+ delay(500000);
zaurus_reset();
printf("reboot failed; spinning\n");
while(1);
@@ -388,6 +389,7 @@ boot(int howto)
}
printf("rebooting...\n");
+ delay(500000);
zaurus_reset();
printf("reboot failed; spinning\n");
while(1);