2 .\" Copyright (c) 2000 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 TRAN_QUIESCE 9E "Jan 31, 1999"
8 tran_quiesce, tran_unquiesce \- quiesce and unquiesce a SCSI bus
12 #include <sys/scsi/scsi.h>
14 \fBint prefix\fR\fBtran_quiesce\fR(\fBdev_info_t\fR \fI*hba_dip\fR);
19 \fBint prefix\fR\fBtran_unquiesce\fR(\fBdev_info_t\fR \fI*hba_dip\fR);
33 The \fBdev_info_t\fR pointer associated with the SCSI HBA.
39 The \fBtran_quiesce()\fR and \fBtran_unquiesce()\fR vectors in the
40 \fBscsi_hba_tran\fR(9S) structure should be initialized during the HBA driver's
41 \fBattach\fR(9E). They are HBA entry points to be called when a user initiates
42 quiesce and unquiesce operations through device control interfaces.
45 \fBtran_quiesce()\fR should wait for all outstanding commands to complete and
46 blocks (or queues) any I/O requests issued. \fBtran_unquiesce()\fR should allow
47 I/O activities to resume on the SCSI bus.
50 Implementation is hardware specific.
54 \fBtran_quiesce()\fR and \fBtran_unquiesce()\fR should return:
61 Successful completion.
76 See \fBattributes\fR(5) for a description of the following attributes:
84 ATTRIBUTE TYPE ATTRIBUTE VALUE
86 Interface Stability Committed
92 \fBattributes\fR(5), \fBtran_bus_reset\fR(9E), \fBscsi_hba_tran\fR(9S)