summaryrefslogtreecommitdiffstats
path: root/arch/mips/jazz
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>1997-07-30 17:28:48 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>1997-07-30 17:28:48 +0000
commit5fd44fa07fcc1a00e75622a2ae5f6463a6c06be0 (patch)
tree49818ff37fa45f48e24c4be3413af76c815d76c2 /arch/mips/jazz
parent4cb06d704b3e730c2517ec5c6b55010d93be4b0a (diff)
enable keyboard interrupt
Diffstat (limited to 'arch/mips/jazz')
-rw-r--r--arch/mips/jazz/hw-access.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/jazz/hw-access.c b/arch/mips/jazz/hw-access.c
index 482e50cb2..4cb45ea89 100644
--- a/arch/mips/jazz/hw-access.c
+++ b/arch/mips/jazz/hw-access.c
@@ -148,7 +148,7 @@ struct feature jazz_feature = {
rtc_write_data
};
-static volatile keyboard_hardware *jazz_kh = JAZZ_KEYBOARD_ADDRESS;
+static volatile keyboard_hardware *jazz_kh = (keyboard_hardware *)JAZZ_KEYBOARD_ADDRESS;
static unsigned char jazz_read_input(void)
{
@@ -177,4 +177,5 @@ void jazz_keyboard_setup(void)
kbd_write_command = jazz_write_command;
kbd_read_status = jazz_read_status;
request_region(0x60, 16, "keyboard");
+ r4030_write_reg16(JAZZ_IO_IRQ_ENABLE, r4030_read_reg16(JAZZ_IO_IRQ_ENABLE) | JAZZ_IE_KEYBOARD);
}