Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/sparc/dev pullup 1.10->1.11 (fair)



details:   https://anonhg.NetBSD.org/src/rev/efe3f1849d22
branches:  netbsd-1-4
changeset: 468529:efe3f1849d22
user:      perry <perry%NetBSD.org@localhost>
date:      Wed Apr 28 19:02:25 1999 +0000

description:
pullup 1.10->1.11 (fair)

diffstat:

 sys/arch/sparc/dev/power.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f5d9c77167e0 -r efe3f1849d22 sys/arch/sparc/dev/power.c
--- a/sys/arch/sparc/dev/power.c        Wed Apr 28 18:47:25 1999 +0000
+++ b/sys/arch/sparc/dev/power.c        Wed Apr 28 19:02:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: power.c,v 1.10 1998/06/06 21:40:20 thorpej Exp $ */
+/*     $NetBSD: power.c,v 1.10.8.1 1999/04/28 19:02:25 perry Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -107,4 +107,10 @@
        /* Only try if the power node was attached. */
        if (power_reg != NULL)
                *POWER_REG |= POWER_OFF;
+
+       /*
+        * don't return too quickly; the PROMs on some sparcs
+        * report the powerdown as failed if we do.
+        */
+       DELAY(1000000);
 }



Home | Main Index | Thread Index | Old Index