summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/console/pc_keyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/console/pc_keyb.c')
-rw-r--r--c/src/lib/libbsp/i386/pc386/console/pc_keyb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/console/pc_keyb.c b/c/src/lib/libbsp/i386/pc386/console/pc_keyb.c
index 074d84e38a..90dc6ed86c 100644
--- a/c/src/lib/libbsp/i386/pc386/console/pc_keyb.c
+++ b/c/src/lib/libbsp/i386/pc386/console/pc_keyb.c
@@ -165,7 +165,6 @@ static unsigned char e0_keys[128] = {
0, 0, 0, 0, 0, 0, 0, 0 /* 0x78-0x7f */
};
-
static void mdelay( unsigned long t )
{
Wait_X_ms( t );
@@ -218,7 +217,6 @@ int pckbd_translate(unsigned char scancode, unsigned char *keycode,
{
static int prev_scancode = 0;
-
/* special prefix scancodes.. */
if (scancode == 0xe0 || scancode == 0xe1) {
prev_scancode = scancode;
@@ -318,8 +316,6 @@ char pckbd_unexpected_up(unsigned char keycode)
return 0200;
}
-
-
static void kb_wait(void)
{
unsigned long timeout = KBC_TIMEOUT;
@@ -341,7 +337,6 @@ static void kb_wait(void)
#endif
}
-
/*
* This reads the keyboard status port, and does the
* appropriate action.
@@ -389,7 +384,6 @@ static unsigned char handle_kbd_event(void)
return status;
}
-
void keyboard_interrupt( void )
{
handle_kbd_event();
@@ -595,7 +589,6 @@ static char * initialize_kbd(void)
kbd_wait_for_input();
}
-
kbd_write_output_w(KBD_CMD_ENABLE);
if (kbd_wait_for_input() != KBD_REPLY_ACK)
return "Enable keyboard: no ACK";
@@ -611,7 +604,6 @@ static char * initialize_kbd(void)
return NULL;
}
-
void pckbd_init_hw(void)
{
/* kbd_request_region(); */