Subject: CVS commit: [netbsd-1-6] src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 04/06/2004 07:59:18
Module Name:	src
Committed By:	tron
Date:		Tue Apr  6 07:59:18 UTC 2004

Modified Files:
	src/sys/dev/ic [netbsd-1-6]: com.c

Log Message:
Pull up revision 1.225 (requested by enami in ticket #1658):
Fix race condition introduced in rev 1.189; after the change, if there is
THRE interrupt occurs between the LSR read and IIR read, we won't see the
LSR_TXRDY bit when testing it in the variable `lsr' and we don't interrupted
again (as the corresponding bit in the IIR is cleared by reading, except
for some broken device).
Tested by Matthias Scheler and me, reviewed by Allen Briggs.
Closes PR#25010.


To generate a diff of this commit:
cvs rdiff -r1.196 -r1.196.4.1 src/sys/dev/ic/com.c

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