xref: /illumos-gate/usr/src/man/man9f/scsi_unprobe.9f (revision 2a6e99a0f1f7d22c0396e8b2ce9b9babbd1056cf)
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]
SCSI_UNPROBE 9F "Sep 27, 2002"
NAME
scsi_unprobe, scsi_unslave - free resources allocated during initial probing
SYNOPSIS

#include <sys/scsi/scsi.h>



void scsi_unslave(struct scsi_device *devp);

void scsi_unprobe(struct scsi_device *devp);
INTERFACE LEVEL

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

PARAMETERS
devp

Pointer to a scsi_device(9S) structure.

DESCRIPTION

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.

CONTEXT

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

SEE ALSO

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

Writing Device Drivers

NOTES

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