mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Krennwallner <krennwallner@aon.at>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] apm, 2.4.9
Date: Mon, 10 Sep 2001 21:23:04 +0200	[thread overview]
Message-ID: <20010910212304.A1167@purple-haze> (raw)

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

Hi!

Just found out that either apm=on or apm=off supplied as bootparam
turns apm off. No bootparam enables apm.

So long
Thomas

-- 
  ___    Obviously we do not want to leave zombies around.
_/___\     - W. Richard Stevens
 ( ^ >
 /   \   Thomas Krennwallner <krennwallner at aon dot at>
(__\/_)_ Fingerprint: 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B

[-- Attachment #2: apm-bootparam-2.4.9.patch --]
[-- Type: text/plain, Size: 344 bytes --]

--- linux-2.4.9/arch/i386/kernel/apm.c	Tue Aug 14 01:39:28 2001
+++ linux/arch/i386/kernel/apm.c	Fri Sep  7 10:41:59 2001
@@ -1652,7 +1652,7 @@
 	if (realmode_power_off)
 		apm_info.realmode_power_off = 1;
 	/* User can override, but default is to trust DMI */
-	if (apm_disabled != -1)
+	if (apm_disabled > 0)
 		apm_info.disabled = 1;
 
 	/*

                 reply	other threads:[~2001-09-10 19:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010910212304.A1167@purple-haze \
    --to=krennwallner@aon.at \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®