All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Zimmermann <madroach@zakweb.de>
To: sparclinux@vger.kernel.org
Subject: Ultra2 poweroff patch
Date: Sat, 24 Sep 2005 09:20:14 +0000	[thread overview]
Message-ID: <20050924092014.GA852@sparc> (raw)

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

Hi,

I don't know why, but the following change lets my Ultra2 poweroff.

Christopher

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 540 bytes --]

--- linux-2.6.13.1/arch/sparc64/prom/misc.c	2005-09-10 04:42:58.000000000 +0200
+++ linux-2.6.13.1_patched/arch/sparc64/prom/misc.c	2005-09-24 11:10:46.000000000 +0200
@@ -83,17 +83,17 @@
 #endif
 again:
 	p1275_cmd("exit", P1275_INOUT(0, 0));
 	goto again; /* PROM is out to get me -DaveM */
 }
 
 void prom_halt_power_off(void)
 {
-#ifdef CONFIG_SMP
+#ifdef 0 /*CONFIG_SMP*/
 	smp_promstop_others();
 	udelay(8000);
 #endif
 	p1275_cmd("SUNW,power-off", P1275_INOUT(0, 0));
 
 	/* if nothing else helps, we just halt */
 	prom_halt();
 }

             reply	other threads:[~2005-09-24  9:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-24  9:20 Christopher Zimmermann [this message]
2005-09-27 22:58 ` Ultra2 poweroff patch David S. Miller
2005-10-14 22:27 ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050924092014.GA852@sparc \
    --to=madroach@zakweb.de \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.