Add mechanism to unload CAM periph drivers.
authormav <mav@FreeBSD.org>
Tue, 7 Mar 2017 17:41:08 +0000 (17:41 +0000)
committermav <mav@FreeBSD.org>
Tue, 7 Mar 2017 17:41:08 +0000 (17:41 +0000)
commit86a7bcea6018c84f894a399d344ea44668aad549
tree1ef210bf89b37e92e836374c70afa9f3b7a7ca60
parent3554c81d66496c35d217c86fb7388f53d765dd61
Add mechanism to unload CAM periph drivers.

For now it allows to unload CTL kernel module if there are no target-capable
SIMs in CAM.  As next step full teardown of CAM targets can be implemented.
sys/cam/cam_periph.c
sys/cam/cam_periph.h
sys/cam/ctl/scsi_ctl.c