]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r249468:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 8 Jul 2013 15:54:38 +0000 (15:54 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 8 Jul 2013 15:54:38 +0000 (15:54 +0000)
commitd7efc228d6b8d2d45feb32ee4e4afe568b4ca0d0
tree4aea4e51da65e3fd47f97d1d37d302f99a9a76f3
parent9637ae5d4fc34c00658628816a7ebce8e340335b
MFC r249468:
Stop abusing xpt_periph in random plases that really have no periph related
to CCB, for example, bus scanning.  NULL value is fine in such cases and it
is correctly logged in debug messages as "noperiph".  If at some point we
need some real XPT periphs (alike to pmpX now), quite likely they will be
per-bus, and not a single global instance as xpt_periph now.

git-svn-id: svn://svn.freebsd.org/base/stable/9@253037 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
25 files changed:
sys/cam/ata/ata_xpt.c
sys/cam/cam_xpt.c
sys/cam/ctl/ctl_frontend_cam_sim.c
sys/cam/scsi/scsi_xpt.c
sys/dev/aac/aac_cam.c
sys/dev/arcmsr/arcmsr.c
sys/dev/ata/atapi-cam.c
sys/dev/ciss/ciss.c
sys/dev/firewire/sbp.c
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
sys/dev/hptiop/hptiop.c
sys/dev/hptrr/hptrr_osm_bsd.c
sys/dev/isci/isci_controller.c
sys/dev/isci/isci_domain.c
sys/dev/isci/isci_remote_device.c
sys/dev/iscsi/initiator/isc_cam.c
sys/dev/isp/isp_freebsd.c
sys/dev/mfi/mfi_cam.c
sys/dev/mly/mly.c
sys/dev/mps/mps_sas.c
sys/dev/mpt/mpt_cam.c
sys/dev/mpt/mpt_raid.c
sys/dev/twa/tw_osl_cam.c
sys/dev/tws/tws_cam.c
sys/dev/virtio/scsi/virtio_scsi.c