Date: Mon, 6 Mar 2006 00:24:10 GMT From: Scott Long <scottl@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 92825 for review Message-ID: <200603060024.k260OA16098191@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92825 Change 92825 by scottl@scottl-junior on 2006/03/06 00:23:26 Define LOCKING_WORKED_AS_IT_SHOULD. It doesn't work, but this is a starting point. Note that the locking semantics in here are NOT how it will work in the future. Affected files ... .. //depot/projects/scottl-camlock/src/sys/dev/mpt/mpt.h#6 edit .. //depot/projects/scottl-camlock/src/sys/dev/mpt/mpt_pci.c#6 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/dev/mpt/mpt.h#6 (text+ko) ==== @@ -636,8 +636,8 @@ } #else +#define LOCKING_WORKED_AS_IT_SHOULD #ifdef LOCKING_WORKED_AS_IT_SHOULD -#error "Shouldn't Be Here!" #define MPT_IFLAGS INTR_TYPE_CAM | INTR_ENTROPY | INTR_MPSAFE #define MPT_LOCK_SETUP(mpt) \ mtx_init(&mpt->mpt_lock, "mpt", NULL, MTX_DEF); \ ==== //depot/projects/scottl-camlock/src/sys/dev/mpt/mpt_pci.c#6 (text+ko) ====
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603060024.k260OA16098191>