cvs commit: src/sys/dev/bktr bktr_core.c bktr_os.c bktr_os.h
bktr_reg.h
Don Lewis
truckman at FreeBSD.org
Mon Dec 1 11:05:29 PST 2003
truckman 2003/12/01 11:03:50 PST
FreeBSD src repository
Modified files:
sys/dev/bktr bktr_core.c bktr_os.c bktr_os.h
bktr_reg.h
Log:
Use a mutex to synchronize the driver top and bottom halves instead of
using critcal_enter() and critical_exit() to attempt to replace spl*()
calls. The critical section was calling selrecord(), which locks an
MTX_DEF mutex, which is not legal in a critical section.
Tested by: Stefan Ehmann <shoesoft at gmx.net> and "make universe"
Approved by: re (scottl)
Revision Changes Path
1.132 +44 -6 src/sys/dev/bktr/bktr_core.c
1.40 +5 -0 src/sys/dev/bktr/bktr_os.c
1.7 +10 -3 src/sys/dev/bktr/bktr_os.h
1.46 +3 -0 src/sys/dev/bktr/bktr_reg.h
More information about the cvs-src
mailing list