xref: /netbsd-src/tests/dev/scsipi/libscsitest/scsitest.h (revision 0159a35e80faa75608b4f3331587a13aff88a8f2)
1*0159a35eSpooka /*	$NetBSD: scsitest.h,v 1.1 2014/04/25 00:24:39 pooka Exp $	*/
2*0159a35eSpooka 
3*0159a35eSpooka /*
4*0159a35eSpooka  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
5*0159a35eSpooka  *
6*0159a35eSpooka  * Redistribution and use in source and binary forms, with or without
7*0159a35eSpooka  * modification, are permitted provided that the following conditions
8*0159a35eSpooka  * are met:
9*0159a35eSpooka  * 1. Redistributions of source code must retain the above copyright
10*0159a35eSpooka  *    notice, this list of conditions and the following disclaimer.
11*0159a35eSpooka  * 2. Redistributions in binary form must reproduce the above copyright
12*0159a35eSpooka  *    notice, this list of conditions and the following disclaimer in the
13*0159a35eSpooka  *    documentation and/or other materials provided with the distribution.
14*0159a35eSpooka  *
15*0159a35eSpooka  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
16*0159a35eSpooka  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17*0159a35eSpooka  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18*0159a35eSpooka  * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19*0159a35eSpooka  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*0159a35eSpooka  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21*0159a35eSpooka  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*0159a35eSpooka  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*0159a35eSpooka  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*0159a35eSpooka  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*0159a35eSpooka  * SUCH DAMAGE.
26*0159a35eSpooka  */
27*0159a35eSpooka 
28*0159a35eSpooka #ifndef _RUMP_SCSITEST_H_
29*0159a35eSpooka #define _RUMP_SCSITEST_H_
30*0159a35eSpooka 
31*0159a35eSpooka enum {
32*0159a35eSpooka 	RUMP_SCSITEST_NOISYSYNC,
33*0159a35eSpooka 	RUMP_SCSITEST_MAXERROR
34*0159a35eSpooka };
35*0159a35eSpooka 
36*0159a35eSpooka extern unsigned rump_scsitest_err[RUMP_SCSITEST_MAXERROR];
37*0159a35eSpooka 
38*0159a35eSpooka #endif /* _RUMP_SCSITEST_H_ */
39