Merge commit '9276b3991ba20d5a5660887ba81b0bc7bed25a0c'
[unleashed.git] / share / man / man9f / scsi_unprobe.9f
blob15efbebcf8c54bda60d3250233060caa56ce576a
1 '\" te
2 .\" Copyright (c) 2002, Sun Microsystems, Inc., All Rights Reserved
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH SCSI_UNPROBE 9F "Sep 27, 2002"
7 .SH NAME
8 scsi_unprobe, scsi_unslave \- free resources allocated during initial probing
9 .SH SYNOPSIS
10 .LP
11 .nf
12 #include <sys/scsi/scsi.h>
16 \fBvoid\fR \fBscsi_unslave\fR(\fBstruct scsi_device *\fR\fIdevp\fR);
17 .fi
19 .LP
20 .nf
21 \fBvoid\fR \fBscsi_unprobe\fR(\fBstruct scsi_device *\fR\fIdevp\fR);
22 .fi
24 .SH INTERFACE LEVEL
25 .sp
26 .LP
27 Solaris DDI specific (Solaris DDI). The \fBscsi_unslave()\fR interface is
28 obsolete. Use \fBscsi_unprobe()\fR instead.
29 .SH PARAMETERS
30 .sp
31 .ne 2
32 .na
33 \fB\fIdevp\fR \fR
34 .ad
35 .RS 9n
36 Pointer to a \fBscsi_device\fR(9S) structure.
37 .RE
39 .SH DESCRIPTION
40 .sp
41 .LP
42 \fBscsi_unprobe()\fR and \fBscsi_unslave()\fR are used to free any resources
43 that were allocated on the driver's behalf during \fBscsi_slave\fR(9F) and
44 \fBscsi_probe\fR(9F) activity.
45 .SH CONTEXT
46 .sp
47 .LP
48 \fBscsi_unprobe()\fR and \fBscsi_unslave()\fR must not be called from an
49 interrupt context.
50 .SH SEE ALSO
51 .sp
52 .LP
53 \fBscsi_probe\fR(9F), \fBscsi_slave\fR(9F), \fBscsi_device\fR(9S)
54 .sp
55 .LP
56 \fIWriting Device Drivers\fR
57 .SH NOTES
58 .sp
59 .LP
60 The \fBscsi_unslave()\fR function is obsolete and will be discontinued in a
61 future release. This function has been replaced by \fBscsi_unprobe()\fR.