xref: /netbsd-src/tests/dev/scsipi/libscsitest/scsitest_component.c (revision 8fa17e4756e368a4bb460566b1ab6459c7cda9dd)
1*8fa17e47Spooka /*	$NetBSD: scsitest_component.c,v 1.1 2014/04/24 21:46:44 pooka Exp $	*/
2*8fa17e47Spooka 
3*8fa17e47Spooka /*
4*8fa17e47Spooka  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
5*8fa17e47Spooka  *
6*8fa17e47Spooka  * Redistribution and use in source and binary forms, with or without
7*8fa17e47Spooka  * modification, are permitted provided that the following conditions
8*8fa17e47Spooka  * are met:
9*8fa17e47Spooka  * 1. Redistributions of source code must retain the above copyright
10*8fa17e47Spooka  *    notice, this list of conditions and the following disclaimer.
11*8fa17e47Spooka  * 2. Redistributions in binary form must reproduce the above copyright
12*8fa17e47Spooka  *    notice, this list of conditions and the following disclaimer in the
13*8fa17e47Spooka  *    documentation and/or other materials provided with the distribution.
14*8fa17e47Spooka  *
15*8fa17e47Spooka  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
16*8fa17e47Spooka  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17*8fa17e47Spooka  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18*8fa17e47Spooka  * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19*8fa17e47Spooka  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20*8fa17e47Spooka  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21*8fa17e47Spooka  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22*8fa17e47Spooka  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23*8fa17e47Spooka  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24*8fa17e47Spooka  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25*8fa17e47Spooka  * SUCH DAMAGE.
26*8fa17e47Spooka  */
27*8fa17e47Spooka 
28*8fa17e47Spooka #include <sys/cdefs.h>
29*8fa17e47Spooka __KERNEL_RCSID(0, "$NetBSD: scsitest_component.c,v 1.1 2014/04/24 21:46:44 pooka Exp $");
30*8fa17e47Spooka 
31*8fa17e47Spooka #include <sys/param.h>
32*8fa17e47Spooka #include <sys/conf.h>
33*8fa17e47Spooka #include <sys/device.h>
34*8fa17e47Spooka #include <sys/mbuf.h>
35*8fa17e47Spooka #include <sys/stat.h>
36*8fa17e47Spooka 
37*8fa17e47Spooka #include "ioconf.c"
38*8fa17e47Spooka 
39*8fa17e47Spooka #include "rump_private.h"
40*8fa17e47Spooka 
RUMP_COMPONENT(RUMP_COMPONENT_DEV)41*8fa17e47Spooka RUMP_COMPONENT(RUMP_COMPONENT_DEV)
42*8fa17e47Spooka {
43*8fa17e47Spooka 
44*8fa17e47Spooka 	config_init_component(cfdriver_ioconf_scsitest,
45*8fa17e47Spooka 	    cfattach_ioconf_scsitest, cfdata_ioconf_scsitest);
46*8fa17e47Spooka }
47