X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fps2port.c;h=25d45446808573ec3b0f8f457104d75b824ebf20;hb=89eb6241e51bc825cfbc1292802a960dcb48d778;hp=b72def6cbfb1bfef28db72cf76d3e2e0377857e7;hpb=7481a303b6b877911717aa90bab84ab18618c463;p=seabios.git diff --git a/src/ps2port.c b/src/ps2port.c index b72def6..25d4544 100644 --- a/src/ps2port.c +++ b/src/ps2port.c @@ -1,9 +1,9 @@ // Support for handling the PS/2 mouse/keyboard ports. // // Copyright (C) 2008 Kevin O'Connor -// Based on code Copyright (c) 1999-2004 Vojtech Pavlik +// Several ideas taken from code Copyright (c) 1999-2004 Vojtech Pavlik // -// This file may be distributed under the terms of the GNU GPLv3 license. +// This file may be distributed under the terms of the GNU LGPLv3 license. #include "ioport.h" // inb #include "util.h" // dprintf @@ -20,16 +20,10 @@ #define I8042_BUFFER_SIZE 16 -static void -udelay(int usecs) -{ - // XXX - implement real udelay - outb(0x00, PORT_DIAG); -} - static int i8042_wait_read(void) { + dprintf(7, "i8042_wait_read\n"); int i; for (i=0; i