FreeBSD Bugzilla – Attachment 63610 Details for
Bug 94822
[kbd] [patch] Fix keyboard hang for IBM / Intel blade servers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 822 bytes, created by
Devon H. O'Dell
on 2006-03-22 06:50:09 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Devon H. O'Dell
Created:
2006-03-22 06:50:09 UTC
Size:
822 bytes
patch
obsolete
>Index: atkbdc.c >=================================================================== >RCS file: /home/ncvs/src/sys/dev/atkbdc/atkbdc.c,v >retrieving revision 1.22 >diff -u -r1.22 atkbdc.c >--- atkbdc.c 4 Dec 2005 02:12:40 -0000 1.22 >+++ atkbdc.c 22 Mar 2006 06:29:01 -0000 >@@ -835,6 +835,7 @@ > { > int t; > int f; >+ int waited = 0; > #if KBDIO_DEBUG >= 2 > int c1 = 0; > int c2 = 0; >@@ -855,6 +856,16 @@ > } else { > t -= delta; > } >+ >+ /* >+ * Some systems (Intel/IBM blades) do not have keyboard devices and >+ * will thus hang in this procedure. Time out after delta seconds to >+ * avoid this hang -- the keyboard attach will fail later on. >+ */ >+ waited += (delta * 1000); >+ if (waited == (delta * 1000000)) >+ return; >+ > DELAY(delta*1000); > } > #if KBDIO_DEBUG >= 2 >-- end patch --
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 94822
: 63610