xref: /titanic_41/usr/src/lib/storage/liba5k/common/llib-la5k (revision aaed89e7bd1f272cf30bdd7890911a70a9167104)
1*aaed89e7SJohn Forte/*
2*aaed89e7SJohn Forte * CDDL HEADER START
3*aaed89e7SJohn Forte *
4*aaed89e7SJohn Forte * The contents of this file are subject to the terms of the
5*aaed89e7SJohn Forte * Common Development and Distribution License (the "License").
6*aaed89e7SJohn Forte * You may not use this file except in compliance with the License.
7*aaed89e7SJohn Forte *
8*aaed89e7SJohn Forte * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*aaed89e7SJohn Forte * or http://www.opensolaris.org/os/licensing.
10*aaed89e7SJohn Forte * See the License for the specific language governing permissions
11*aaed89e7SJohn Forte * and limitations under the License.
12*aaed89e7SJohn Forte *
13*aaed89e7SJohn Forte * When distributing Covered Code, include this CDDL HEADER in each
14*aaed89e7SJohn Forte * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*aaed89e7SJohn Forte * If applicable, add the following below this CDDL HEADER, with the
16*aaed89e7SJohn Forte * fields enclosed by brackets "[]" replaced with your own identifying
17*aaed89e7SJohn Forte * information: Portions Copyright [yyyy] [name of copyright owner]
18*aaed89e7SJohn Forte *
19*aaed89e7SJohn Forte * CDDL HEADER END
20*aaed89e7SJohn Forte */
21*aaed89e7SJohn Forte/*
22*aaed89e7SJohn Forte * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*aaed89e7SJohn Forte * Use is subject to license terms.
24*aaed89e7SJohn Forte */
25*aaed89e7SJohn Forte
26*aaed89e7SJohn Forte/*LINTLIBRARY*/
27*aaed89e7SJohn Forte/*PROTOLIB1*/
28*aaed89e7SJohn Forte
29*aaed89e7SJohn Forte#include	<stdlib.h>
30*aaed89e7SJohn Forte#include	<stdio.h>
31*aaed89e7SJohn Forte#include	<sys/file.h>
32*aaed89e7SJohn Forte#include	<sys/types.h>
33*aaed89e7SJohn Forte#include	<sys/param.h>
34*aaed89e7SJohn Forte#include	<fcntl.h>
35*aaed89e7SJohn Forte#include	<unistd.h>
36*aaed89e7SJohn Forte#include	<errno.h>
37*aaed89e7SJohn Forte#include	<string.h>
38*aaed89e7SJohn Forte#include	<sys/scsi/scsi.h>
39*aaed89e7SJohn Forte#include	<nl_types.h>
40*aaed89e7SJohn Forte#include	<strings.h>
41*aaed89e7SJohn Forte#include	<sys/ddi.h>	/* for max */
42*aaed89e7SJohn Forte#include	<l_common.h>
43*aaed89e7SJohn Forte#include	<stgcom.h>
44*aaed89e7SJohn Forte#include	<l_error.h>
45*aaed89e7SJohn Forte#include	<a_state.h>
46*aaed89e7SJohn Forte#include	<a5k.h>
47