linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* pmac: input layer as module and usb keyboard
@ 2003-02-09 21:30 Magnus Damm
  2003-02-09 22:17 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Magnus Damm @ 2003-02-09 21:30 UTC (permalink / raw)
  To: linuxppc-dev

[-- 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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-09 22:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-09 21:30 pmac: input layer as module and usb keyboard Magnus Damm
2003-02-09 22:17 ` Benjamin Herrenschmidt
2003-02-09 22:33   ` Magnus Damm
2003-02-09 22:39     ` Benjamin Herrenschmidt

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).