Subject: CVS commit: src/sys/dev/sun
To: None <source-changes@NetBSD.org>
From: john heasley <heas@netbsd.org>
List: source-changes
Date: 02/21/2005 03:37:39
Module Name:	src
Committed By:	heas
Date:		Mon Feb 21 03:37:39 UTC 2005

Modified Files:
	src/sys/dev/sun: kbdsun.c

Log Message:
Place busy loops around the tsleep()s for keyboard ID and layout codes in
the attach routine.  In autoconf or "cold" state, tsleep does not wait for
a wakeup and my type 5 keyboard takes around 70ms to reset, so the keyboard
ID was being missed (read much later on) and key translation would be wrong.
Thanks Martin, Jochen, and Jason for help.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/dev/sun/kbdsun.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.