Date: Sun, 5 Mar 2006 18:18:34 GMT From: Scott Long <scottl@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 92800 for review Message-ID: <200603051818.k25IIYNp073917@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92800 Change 92800 by scottl@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603051818.k25IIYNp073917>