diff options
Diffstat (limited to 'src/pc80')
-rw-r--r-- | src/pc80/keyboard.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/pc80/keyboard.c b/src/pc80/keyboard.c index c025c889fb..04abe043cb 100644 --- a/src/pc80/keyboard.c +++ b/src/pc80/keyboard.c @@ -159,7 +159,7 @@ static u8 send_keyboard(u8 command) return regval; } -static void pc_keyboard_init(struct pc_keyboard *keyboard) +void pc_keyboard_init(struct pc_keyboard *keyboard) { u8 regval; printk_debug("Keyboard init...\n"); @@ -242,16 +242,6 @@ static void pc_keyboard_init(struct pc_keyboard *keyboard) } } - -void init_pc_keyboard(unsigned port0, unsigned port1, struct pc_keyboard *kbd) -{ - if ((port0 == 0x60) && (port1 == 0x64)) { - pc_keyboard_init(kbd); - } else { - printk_warning("Unsupported keyboard controller.\n"); - } -} - /* * Support PS/2 mode - oddball SIOs(KBC) need this setup * Not well documented. Google - 0xcb keyboard controller |