Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 12/12/2003 14:30:16
Module Name:	src
Committed By:	martin
Date:		Fri Dec 12 14:30:16 UTC 2003

Modified Files:
	src/sys/dev/ic: pckbc.c pckbcvar.h

Log Message:
In parallel to the interrupt handler pckbcintr provide two functions
pckbcintr_hard and pckbcintr_soft, which, together, do the same as
pckbcintr. The first is called from the interrupt handler, the second
from a softinterrupt at arbitrary protection level (lower or equal to
IPL_TTY). They pass data via a small ringbuffer.

The new functions are intended for platforms that, due to
hardware/firmware restrictions are not able to make pckbcintr called at
IPL_TTY, like Krups javastations. Using the monolithic pckbcintr on
these plattforms leads to the input handlers for the slot data to be
run at elevated priority, causing various race conditions.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/dev/ic/pckbc.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/ic/pckbcvar.h

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