]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r315673, r315674: Make CAM SIM lock optional.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Apr 2017 18:01:35 +0000 (18:01 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Apr 2017 18:01:35 +0000 (18:01 +0000)
commit6845739b43782a1e9e8819d1d0cf03d18af10af9
tree761e4b7cfabe0dc5a63347bc6acf125f40c4bfc2
parentb3e70f384a2d43e25096748ead0812098b0e6ec6
MFC r315673, r315674: Make CAM SIM lock optional.

For three years now CAM does not use SIM lock, but still enforces SIM to
use it.  Remove this requirement, allowing SIMs to have any locking they
prefer, if they pass no mutex to cam_sim_alloc().

git-svn-id: svn://svn.freebsd.org/base/stable/10@316499 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/cam_sim.c
sys/cam/cam_xpt.c
sys/sys/param.h