Subject: CVS commit: [netbsd-2-0] src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 04/06/2004 04:01:40
Module Name: src
Committed By: jmc
Date: Tue Apr 6 04:01:40 UTC 2004
Modified Files:
src/sys/dev/ic [netbsd-2-0]: com.c
Log Message:
Pullup rev 1.225 (requested by enami in ticket #70)
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 get
interrupted again (as the corresponding bit in the IIR is cleared by reading,
except for some broken devices). PR#25010
To generate a diff of this commit:
cvs rdiff -r1.224 -r1.224.2.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.