xref: /onnv-gate/usr/src/lib/fm/libdiskstatus/common/ds_scsi_sim.h (revision 4198:6bdfb19526db)
1*4198Seschrock /*
2*4198Seschrock  * CDDL HEADER START
3*4198Seschrock  *
4*4198Seschrock  * The contents of this file are subject to the terms of the
5*4198Seschrock  * Common Development and Distribution License (the "License").
6*4198Seschrock  * You may not use this file except in compliance with the License.
7*4198Seschrock  *
8*4198Seschrock  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*4198Seschrock  * or http://www.opensolaris.org/os/licensing.
10*4198Seschrock  * See the License for the specific language governing permissions
11*4198Seschrock  * and limitations under the License.
12*4198Seschrock  *
13*4198Seschrock  * When distributing Covered Code, include this CDDL HEADER in each
14*4198Seschrock  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*4198Seschrock  * If applicable, add the following below this CDDL HEADER, with the
16*4198Seschrock  * fields enclosed by brackets "[]" replaced with your own identifying
17*4198Seschrock  * information: Portions Copyright [yyyy] [name of copyright owner]
18*4198Seschrock  *
19*4198Seschrock  * CDDL HEADER END
20*4198Seschrock  */
21*4198Seschrock /*
22*4198Seschrock  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*4198Seschrock  * Use is subject to license terms.
24*4198Seschrock  */
25*4198Seschrock 
26*4198Seschrock #ifndef	_DS_SCSI_SIM_H
27*4198Seschrock #define	_DS_SCSI_SIM_H
28*4198Seschrock 
29*4198Seschrock #pragma ident	"%Z%%M%	%I%	%E% SMI"
30*4198Seschrock 
31*4198Seschrock #ifdef	__cplusplus
32*4198Seschrock extern "C" {
33*4198Seschrock #endif
34*4198Seschrock 
35*4198Seschrock int simscsi_mode_sense(void *, int, int, caddr_t, int, scsi_ms_header_t *,
36*4198Seschrock     void *, int *);
37*4198Seschrock int simscsi_mode_sense_10(void *, int, int, caddr_t, int,
38*4198Seschrock     scsi_ms_header_g1_t *, void *, int *);
39*4198Seschrock int simscsi_mode_select(void *, int, int, caddr_t, int,
40*4198Seschrock     scsi_ms_header_t *, void *, int *);
41*4198Seschrock int simscsi_mode_select_10(void *, int, int, caddr_t, int,
42*4198Seschrock     scsi_ms_header_g1_t *, void *, int *);
43*4198Seschrock int simscsi_log_sense(void *, int, int, caddr_t, int, void *, int *);
44*4198Seschrock int simscsi_request_sense(void *, caddr_t, int, void *, int *);
45*4198Seschrock 
46*4198Seschrock #ifdef	__cplusplus
47*4198Seschrock }
48*4198Seschrock #endif
49*4198Seschrock 
50*4198Seschrock #endif	/* _DS_SCSI_SIM_H */
51