From: Piotr Kaczuba <pepe@attika.ath.cx>
To: linux-kernel@vger.kernel.org
Subject: Re: [x86_64] PC speaker doesn't work
Date: Wed, 21 Jun 2006 13:14:30 +0200 [thread overview]
Message-ID: <20060621111430.GA5753@attika.ath.cx> (raw)
In-Reply-To: <20060619171544.GA4363@attika.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 108 bytes --]
It turned out that the following change is needed when the speaker is
compiled as a module.
Piotr Kaczuba
[-- Attachment #2: pcspkr.diff --]
[-- Type: text/plain, Size: 459 bytes --]
diff -u -r linux.old/arch/x86_64/kernel/setup.c linux/arch/x86_64/kernel/setup.c
--- linux.old/arch/x86_64/kernel/setup.c 2006-06-21 13:01:39.671274579 +0200
+++ linux/arch/x86_64/kernel/setup.c 2006-06-21 12:46:59.805517772 +0200
@@ -1440,7 +1440,7 @@
.show = show_cpuinfo,
};
-#ifdef CONFIG_INPUT_PCSPKR
+#if defined(CONFIG_INPUT_PCSPKR) || defined(CONFIG_INPUT_PCSPKR_MODULE)
#include <linux/platform_device.h>
static __init int add_pcspkr(void)
{
next prev parent reply other threads:[~2006-06-21 11:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-19 17:15 Piotr Kaczuba
2006-06-21 11:14 ` Piotr Kaczuba [this message]
2006-06-21 19:00 ` Nick Warne
2006-06-22 9:02 ` [x86_64] " Andi Kleen
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=20060621111430.GA5753@attika.ath.cx \
--to=pepe@attika.ath.cx \
--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®