Switch to linker sets to find the xport callback object. This
authorimp <imp@FreeBSD.org>
Thu, 28 Jul 2016 22:55:14 +0000 (22:55 +0000)
committerimp <imp@FreeBSD.org>
Thu, 28 Jul 2016 22:55:14 +0000 (22:55 +0000)
commitf5d7fe30e9fbea8d5cd1c8494affe7ff2fc1ae8b
tree31ed74ed27d45c49b9f6f266fdd40d717ff9c15e
parent6bc4397d0d39a344d5f6e29b8c1e4c403762696a
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