patch-2.1.123 linux/drivers/char/pc_keyb.c
Next file: linux/drivers/char/psaux.c
Previous file: linux/drivers/char/misc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Sep 27 19:20:20 1998
- Orig file:
v2.1.122/linux/drivers/char/pc_keyb.c
- Orig date:
Wed Sep 9 14:51:07 1998
diff -u --recursive --new-file v2.1.122/linux/drivers/char/pc_keyb.c linux/drivers/char/pc_keyb.c
@@ -611,6 +611,9 @@
void __init pckbd_init_hw(void)
{
+ /* Get the keyboard controller registers (incomplete decode) */
+ request_region(0x60, 16, "keyboard");
+
/* Flush any pending input. */
kbd_clear_input();
@@ -620,6 +623,6 @@
printk(KERN_WARNING "initialize_kbd: %s\n", msg);
}
+ /* Ok, finally allocate the IRQ, and off we go.. */
request_irq(KEYBOARD_IRQ, keyboard_interrupt, 0, "keyboard", NULL);
- request_region(0x60, 16, "keyboard");
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov