Date: Mon, 1 Dec 2003 11:03:50 -0800 (PST) From: Don Lewis <truckman@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/bktr bktr_core.c bktr_os.c bktr_os.h bktr_reg.h Message-ID: <200312011903.hB1J3pbh055635@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312011903.hB1J3pbh055635>