From: Magnus Damm <damm@opensource.se>
To: linuxppc-dev@lists.linuxppc.org
Subject: pmac: input layer as module and usb keyboard
Date: Sun, 9 Feb 2003 21:30:31 +0000 [thread overview]
Message-ID: <20030209213031.2b67933e.damm@opensource.se> (raw)
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
Hi all,
This patch makes it possible to use a usb keyboard with a kernel that has the
input layer compiled as a module.
Please apply.
thanks /
magnus
[-- Attachment #2: linux-2.4.20-pmac_input_module.patch --]
[-- Type: application/octet-stream, Size: 490 bytes --]
--- linux-2.4.20/arch/ppc/platforms/pmac_setup.c 2002-11-28 23:53:11.000000000 +0000
+++ linux-2.4.20-pmac_input_module/arch/ppc/platforms/pmac_setup.c 2003-02-09 14:48:55.000000000 +0000
@@ -851,7 +851,7 @@
select_adb_keyboard(void)
{
#ifdef CONFIG_VT
-#ifdef CONFIG_INPUT
+#if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
ppc_md.kbd_init_hw = mac_hid_init_hw;
ppc_md.kbd_translate = mac_hid_kbd_translate;
ppc_md.kbd_unexpected_up = mac_hid_kbd_unexpected_up;
next reply other threads:[~2003-02-09 21:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-09 21:30 Magnus Damm [this message]
2003-02-09 22:17 ` pmac: input layer as module and usb keyboard Benjamin Herrenschmidt
2003-02-09 22:33 ` Magnus Damm
2003-02-09 22:39 ` Benjamin Herrenschmidt
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=20030209213031.2b67933e.damm@opensource.se \
--to=damm@opensource.se \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).