summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-02-21 13:30:36 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-02-21 13:30:36 +0000
commit49a3beac398bd3e89dc4c8a5caff106cbd1e0cff (patch)
tree4f9a8bfdbe571a81ca63b73ae45c0b466661fb35 /arch/mips/lib
parentb8d3cc7ceb61a07b865b420139477b91a4be202f (diff)
ITE 8172 patches from Pete Popov slightly hacked by me.
Diffstat (limited to 'arch/mips/lib')
-rw-r--r--arch/mips/lib/kbd-std.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/lib/kbd-std.c b/arch/mips/lib/kbd-std.c
index 8e7e69ecc..ce75371d5 100644
--- a/arch/mips/lib/kbd-std.c
+++ b/arch/mips/lib/kbd-std.c
@@ -19,11 +19,17 @@
static void std_kbd_request_region(void)
{
+#ifdef CONFIG_MIPS_ITE8172
+ printk("std_kbd_request_region\n");
+ request_region(0x14000060, 16, "keyboard");
+#else
request_region(0x60, 16, "keyboard");
+#endif
}
static int std_kbd_request_irq(void (*handler)(int, void *, struct pt_regs *))
{
+ printk("std_kbd_request_irq\n");
return request_irq(KEYBOARD_IRQ, handler, 0, "keyboard", NULL);
}