send_data() in keyboard.c (2.0.27)

Dirk Staneker (zxmjy04@student.uni-tuebingen.de)
Mon, 13 Jan 1997 21:40:54 +0000 (GMT)


Hi *,

the smp-kernel has a bug with the keyboard-LEDs (the machine
could freeze, if the keyboard-LEDs are changed).

Now a short question:
The for()-loop (line 1080) in send_data(), drivers/char/keyboard.c runs
0x200000 times if acknowledge or resend isn't set. Why so often?

My machine (2xP100, Triton II) leaves the loop normally between i=950 and
1050 (decimal), so I decided to reduce the value of 0x200000 to 2000!
This works well (for me) and if the smp-error occur, the freeze is
much shorter.

Dirk

PS: Sorry about my english and my stupid questions about the kernel,
but I'm not a kernel-hacker... :-(

;-)

**
****
**
**********
EMail: ******
dirk.staneker@student.uni-tuebingen.de Windows **
**
Homepage: # # # # # * *
http://www.jura.uni-tuebingen.de/staneker/ # # # # * *
# # # * *
### * *

Mach mit!