'\" te .\" Copyright (c) 2002, Sun Microsystems, Inc., All Rights Reserved .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] .TH SCSI_UNPROBE 9F "Sep 27, 2002" .SH NAME scsi_unprobe, scsi_unslave \- free resources allocated during initial probing .SH SYNOPSIS .nf #include \fBvoid\fR \fBscsi_unslave\fR(\fBstruct scsi_device *\fR\fIdevp\fR); .fi .LP .nf \fBvoid\fR \fBscsi_unprobe\fR(\fBstruct scsi_device *\fR\fIdevp\fR); .fi .SH INTERFACE LEVEL illumos DDI specific (illumos DDI). The \fBscsi_unslave()\fR interface is obsolete. Use \fBscsi_unprobe()\fR instead. .SH PARAMETERS .ne 2 .na \fB\fIdevp\fR \fR .ad .RS 9n Pointer to a \fBscsi_device\fR(9S) structure. .RE .SH DESCRIPTION \fBscsi_unprobe()\fR and \fBscsi_unslave()\fR are used to free any resources that were allocated on the driver's behalf during \fBscsi_slave\fR(9F) and \fBscsi_probe\fR(9F) activity. .SH CONTEXT \fBscsi_unprobe()\fR and \fBscsi_unslave()\fR must not be called from an interrupt context. .SH SEE ALSO .BR scsi_probe (9F), .BR scsi_slave (9F), .BR scsi_device (9S) .sp .LP \fIWriting Device Drivers\fR .SH NOTES The \fBscsi_unslave()\fR function is obsolete and will be discontinued in a future release. This function has been replaced by \fBscsi_unprobe()\fR.