From 69300850e87662edf04565edeae3510b96ead8f9 Mon Sep 17 00:00:00 2001 From: Uwe Stuehler Date: Mon, 17 Jan 2005 22:59:58 +0000 Subject: Wait for disk to spin down before reboot. Should avoid unexpected fscks. ok drahn@ --- sys/arch/zaurus/zaurus/zaurus_machdep.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys') 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); -- cgit v1.2.3