sdprobe
struct scsi_device *sdprobe, dev_info_t **dchildp, mdi_pathinfo_t **pchildp)
dev_info_t *probe = sdprobe->sd_dev;
struct scsi_inquiry *inq = sdprobe->sd_inq;
(mdi_is_dev_supported(MDI_HCI_CLASS_SCSI, self, sdprobe) !=
struct scsi_device *sdprobe, int *ppi)
child_type = scsi_device_createchild(self, addr, se, sdprobe,
scsi_hba_barrier_tran_tgt_free(sdprobe->sd_dev);
struct scsi_device *sdprobe;
sdprobe = ddi_get_driver_private(probe);
ASSERT(sdprobe && self);
tran = sdprobe->sd_address.a_hba_tran;
if (!sdprobe->sd_tran_tgt_free_done) {
(*tran->tran_tgt_free) (self, probe, tran, sdprobe);
sdprobe->sd_tran_tgt_free_done = 1;
struct scsi_device *sdprobe;
sdprobe = ddi_get_driver_private(probe);
ASSERT(sdprobe);
sdprobe->sd_uninit_prevent++;
sp = scsi_probe(sdprobe, SLEEP_FUNC);
if (scsi_device_identity(sdprobe, SLEEP_FUNC)) {
sdprobe->sd_uninit_prevent--;
if ((child = scsi_device_configchild(self, addr, se, sdprobe,
sdchild->sd_inq = sdprobe->sd_inq;
sdprobe->sd_inq = NULL;
sdprobe, /* probe */
static int sdprobe(dev_info_t *devi);