2 .\" Copyright (c) 1996 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_BUS_RESET 9E "Mar 17, 1999"
8 tran_bus_reset \- reset a SCSI bus
12 #include <sys/scsi/scsi.h> int \fIprefix\fR
14 \fB\fR\fBtran_bus_reset\fR(\fBdev_info_t\fR \fI*hba_dip\fR, \fBint\fR \fIlevel\fR);
28 The \fBdev_info_t\fR pointer associated with the SCSI HBA.
37 The level of reset required.
43 The \fBtran_bus_reset()\fR vector in the \fBscsi_hba_tran\fR(9S) structure
44 should be initialized during the HBA driver's \fBattach\fR(9E). It is an HBA
45 entry point to be called when a user initiates a bus reset through device
49 \fBtran_bus_reset()\fR must reset the SCSI bus without resetting targets.
52 \fIlevel\fR will be one of the following:
59 Reset the SCSI bus only, not the targets.
64 Implementation is hardware specific. If it is not possible to reset the SCSI
65 bus without changing the state and operating mode of the targets, the HBA
66 driver should not initialize this vector or return failure.
70 \fBtran_bus_reset()\fR should return:
92 See \fBattributes\fR(5) for a description of the following attributes:
100 ATTRIBUTE TYPE ATTRIBUTE VALUE
102 Interface Stability Committed
108 \fBattributes\fR(5), \fBtran_quiesce\fR(9E), \fBscsi_hba_tran\fR(9S)