From: Vojtech P. <vo...@us...> - 2002-02-12 09:34:38
|
Update of /cvsroot/linuxconsole/ruby/linux/drivers/input/keyboard In directory usw-pr-cvs1:/tmp/cvs-serv14171/keyboard Modified Files: atkbd.c Log Message: Fixes to make more mice and keyboards work ... Index: atkbd.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/input/keyboard/atkbd.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- atkbd.c 2 Feb 2002 22:23:35 -0000 1.32 +++ atkbd.c 12 Feb 2002 09:34:34 -0000 1.33 @@ -203,7 +203,7 @@ static int atkbd_sendbyte(struct atkbd *atkbd, unsigned char byte) { - int timeout = 1000; /* 10 msec */ + int timeout = 10000; /* 100 msec */ atkbd->ack = 0; #ifdef ATKBD_DEBUG @@ -222,7 +222,7 @@ static int atkbd_command(struct atkbd *atkbd, unsigned char *param, int command) { - int timeout = 10000; /* 100 msec */ + int timeout = 50000; /* 500 msec */ int send = (command >> 12) & 0xf; int receive = (command >> 8) & 0xf; int i; @@ -258,7 +258,7 @@ struct atkbd *atkbd = dev->private; char param[2]; - if (!serio->write) + if (!atkbd->serio->write) return -1; switch (type) { |