From: James S. <jsi...@us...> - 2001-10-18 20:52:52
|
Update of /cvsroot/linuxconsole/ruby/linux/drivers/input In directory usw-pr-cvs1:/tmp/cvs-serv13614 Modified Files: analog.c Log Message: Applied joypad bug fix. Index: analog.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/input/analog.c,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- analog.c 2001/09/25 10:15:22 1.65 +++ analog.c 2001/10/18 20:52:48 1.66 @@ -500,7 +500,8 @@ else printk(" [%s timer, %d %sHz clock, %d ns res]\n", TIME_NAME, port->speed > 10000 ? (port->speed + 800) / 1000 : port->speed, - port->speed > 10000 ? "M" : "k", (port->loop * 1000000) / port->speed); + port->speed > 10000 ? "M" : "k", + port->speed > 10000 ? (port->loop * 1000) / (port->speed / 1000) : (port->loop * 1000000) / port->speed); } /* |