SCSI_UNPROBE(9F) Kernel Functions for Drivers SCSI_UNPROBE(9F)

scsi_unprobe, scsi_unslave - free resources allocated during initial probing

#include <sys/scsi/scsi.h>
void scsi_unslave(struct scsi_device *devp);

void scsi_unprobe(struct scsi_device *devp);

illumos DDI specific (illumos DDI). The scsi_unslave() interface is obsolete. Use scsi_unprobe() instead.

devp

Pointer to a scsi_device(9S) structure.

scsi_unprobe() and scsi_unslave() are used to free any resources that were allocated on the driver's behalf during scsi_slave(9F) and scsi_probe(9F) activity.

scsi_unprobe() and scsi_unslave() must not be called from an interrupt context.

scsi_probe(9F), scsi_slave(9F), scsi_device(9S)

Writing Device Drivers

The scsi_unslave() function is obsolete and will be discontinued in a future release. This function has been replaced by scsi_unprobe().

September 27, 2002 OmniOS