PERFORCE change 92825 for review
Scott Long
scottl at FreeBSD.org
Sun Mar 5 16:24:11 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=92825
Change 92825 by scottl at 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) ====
More information about the p4-projects
mailing list