xref: /netbsd-src/sys/rump/dev/lib/libdisk/disk_component.c (revision 6bb51422881aa32822c80737814503e72f496e36)
1*6bb51422Spooka /*	$NetBSD: disk_component.c,v 1.2 2016/01/26 23:12:15 pooka Exp $	*/
261248571Spooka 
361248571Spooka /*
461248571Spooka  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
561248571Spooka  *
661248571Spooka  * Redistribution and use in source and binary forms, with or without
761248571Spooka  * modification, are permitted provided that the following conditions
861248571Spooka  * are met:
961248571Spooka  * 1. Redistributions of source code must retain the above copyright
1061248571Spooka  *    notice, this list of conditions and the following disclaimer.
1161248571Spooka  * 2. Redistributions in binary form must reproduce the above copyright
1261248571Spooka  *    notice, this list of conditions and the following disclaimer in the
1361248571Spooka  *    documentation and/or other materials provided with the distribution.
1461248571Spooka  *
1561248571Spooka  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
1661248571Spooka  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1761248571Spooka  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1861248571Spooka  * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1961248571Spooka  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2061248571Spooka  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2161248571Spooka  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2261248571Spooka  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2361248571Spooka  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2461248571Spooka  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2561248571Spooka  * SUCH DAMAGE.
2661248571Spooka  */
2761248571Spooka 
2861248571Spooka #include <sys/cdefs.h>
29*6bb51422Spooka __KERNEL_RCSID(0, "$NetBSD: disk_component.c,v 1.2 2016/01/26 23:12:15 pooka Exp $");
3061248571Spooka 
3161248571Spooka #include <sys/param.h>
3261248571Spooka #include <sys/conf.h>
3361248571Spooka #include <sys/device.h>
3461248571Spooka #include <sys/disk.h>
3561248571Spooka 
36*6bb51422Spooka #include <rump-sys/kern.h>
3761248571Spooka 
RUMP_COMPONENT(RUMP_COMPONENT_DEV)3861248571Spooka RUMP_COMPONENT(RUMP_COMPONENT_DEV)
3961248571Spooka {
4061248571Spooka 
4161248571Spooka 	dkwedge_init();
4261248571Spooka }
43