]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Switch to linker sets to find the xport callback object. This
authorWarner Losh <imp@FreeBSD.org>
Thu, 28 Jul 2016 22:55:14 +0000 (22:55 +0000)
committerWarner Losh <imp@FreeBSD.org>
Thu, 28 Jul 2016 22:55:14 +0000 (22:55 +0000)
commitded2b70617bc77cc5542033563c92b05414e4621
tree31ed74ed27d45c49b9f6f266fdd40d717ff9c15e
parent34dc8f1bb47c76c1df69ba23da3b9700e566429b
Switch to linker sets to find the xport callback object.  This
eliminates the need to special case everything in cam_xpt for new
transports. It is now a failure to not have a transport object when
registering the bus as well. You can still, however, create a
transport that's unspecified (XPT_)

Differential Revision: https://reviews.freebsd.org/D7289
sys/cam/ata/ata_xpt.c
sys/cam/cam_xpt.c
sys/cam/cam_xpt_internal.h
sys/cam/nvme/nvme_xpt.c
sys/cam/scsi/scsi_xpt.c