| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH][2.6] add smp.h in processor.h, Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH][2.4] cache workaround for VR4131, Yoichi Yuasa |
| Previous by Thread: | [PATCH][2.6] cache workaround for VR4131, Yoichi Yuasa |
| Next by Thread: | Re: CONFIG_MAGIC_SYSRQ and CONFIG_DUMMY_KEYB, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |