PERFORCE change 92800 for review
Scott Long
scottl at FreeBSD.org
Sun Mar 5 10:18:36 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=92800
Change 92800 by scottl at scottl-x64 on 2006/03/05 18:17:49
Make the topo lock visible to the rest of CAM that needs it.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#19 edit
.. //depot/projects/scottl-camlock/src/sys/cam/cam_xpt_periph.h#6 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#19 (text+ko) ====
@@ -635,7 +635,7 @@
typedef TAILQ_HEAD(cam_isrq, ccb_hdr) cam_isrq_t;
static cam_isrq_t cam_bioq;
static struct mtx cam_bioq_lock;
-static struct mtx cam_topo_lock;
+struct mtx cam_topo_lock;
/* "Pool" of inactive ccbs managed by xpt_alloc_ccb and xpt_free_ccb */
static SLIST_HEAD(,ccb_hdr) ccb_freeq;
==== //depot/projects/scottl-camlock/src/sys/cam/cam_xpt_periph.h#6 (text+ko) ====
@@ -37,6 +37,9 @@
/* Functions accessed by the peripheral drivers */
#ifdef _KERNEL
+
+extern struct mtx cam_topo_lock;
+
void xpt_polled_action(union ccb *ccb);
union ccb *xpt_alloc_ccb(void);
union ccb *xpt_alloc_ccb_nowait(void);
More information about the p4-projects
mailing list