Date: Tue, 16 May 2006 00:01:43 GMT From: Scott Long <scottl@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 97221 for review Message-ID: <200605160001.k4G01hBX053502@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97221 Change 97221 by scottl@scottl-x64 on 2006/05/16 00:00:43 Add callout storage in the CCB for MPSAFE drivers to use. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/cam_ccb.h#7 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/cam_ccb.h#7 (text+ko) ==== @@ -278,8 +278,15 @@ ccb_ppriv_area periph_priv; ccb_spriv_area sim_priv; u_int32_t timeout; /* Timeout value */ + + /* + * CAM does not manage CCB timeouts itself, but provides convenient + * storage for drivers to use for their own management of timeouts. + * Drivers that are not yet MPSAFE should use the timeout_ch. + * Drivers that are MPSAFE should use the callout. + */ struct callout_handle timeout_ch; - /* Callout handle used for timeouts */ + struct callout callout; }; /* Get Device Information CCB */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605160001.k4G01hBX053502>