linux-mips
[Top] [All Lists]

CONFIG_MAGIC_SYSRQ and CONFIG_DUMMY_KEYB

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: CONFIG_MAGIC_SYSRQ and CONFIG_DUMMY_KEYB
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri, 09 Jan 2004 17:43:53 +0900 (JST)
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The 2.4 kernel could not be built with both CONFIG_MAGIC_SYSRQ and
CONFIG_DUMMY_KEYB enabled.  This configuration should be possible
since we can use Magic SysRq with serial driver.

Here is a patch.

diff -u linux-mips/drivers/char/dummy_keyb.c linux/drivers/char/dummy_keyb.c
--- linux-mips/drivers/char/dummy_keyb.c        Thu Jun 12 10:14:55 2003
+++ linux/drivers/char/dummy_keyb.c     Fri Jan  9 17:28:37 2004
@@ -140,3 +140,7 @@
 {
        printk("Dummy keyboard driver installed.\n");
 }
+#ifdef CONFIG_MAGIC_SYSRQ
+unsigned char kbd_sysrq_key;
+unsigned char kbd_sysrq_xlate[128];
+#endif
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>