Subject: CVS commit: src/sys/dev/sun
To: None <source-changes@NetBSD.org>
From: john heasley <heas@netbsd.org>
List: source-changes
Date: 02/20/2005 22:17:28
Module Name:	src
Committed By:	heas
Date:		Sun Feb 20 22:17:28 UTC 2005

Modified Files:
	src/sys/dev/sun: kbdsun.c kbdsunvar.h sunkbd.c

Log Message:
Return 0, not return -1, to the serial chip's input routine except when a
keyboard error is received.  For zs(4) and com(4), -1 causes the driver to
flush it's buffer.  This should eliminate missed keyboard codes, such as the
"key repeats forever until another key is hit" problem that happens because
the keyboard idle code gets flushed from the input buffer.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/dev/sun/kbdsun.c src/sys/dev/sun/kbdsunvar.h
cvs rdiff -r1.19 -r1.20 src/sys/dev/sun/sunkbd.c

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