110c40180SBryan Venteicher#
210c40180SBryan Venteicher# $FreeBSD$
310c40180SBryan Venteicher#
410c40180SBryan Venteicher# Redistribution and use in source and binary forms, with or without
510c40180SBryan Venteicher# modification, are permitted provided that the following conditions
610c40180SBryan Venteicher# are met:
710c40180SBryan Venteicher# 1. Redistributions of source code must retain the above copyright
810c40180SBryan Venteicher#    notice, this list of conditions and the following disclaimer.
910c40180SBryan Venteicher# 2. Redistributions in binary form must reproduce the above copyright
1010c40180SBryan Venteicher#    notice, this list of conditions and the following disclaimer in the
1110c40180SBryan Venteicher#    documentation and/or other materials provided with the distribution.
1210c40180SBryan Venteicher#
1310c40180SBryan Venteicher# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1410c40180SBryan Venteicher# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1510c40180SBryan Venteicher# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1610c40180SBryan Venteicher# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1710c40180SBryan Venteicher# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1810c40180SBryan Venteicher# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1910c40180SBryan Venteicher# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2010c40180SBryan Venteicher# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2110c40180SBryan Venteicher# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2210c40180SBryan Venteicher# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2310c40180SBryan Venteicher# SUCH DAMAGE.
2410c40180SBryan Venteicher#
2510c40180SBryan Venteicher
26*193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/virtio/random
2710c40180SBryan Venteicher
2810c40180SBryan VenteicherKMOD=	virtio_random
2910c40180SBryan VenteicherSRCS=	virtio_random.c
3010c40180SBryan VenteicherSRCS+=	virtio_bus_if.h virtio_if.h
3110c40180SBryan VenteicherSRCS+=	bus_if.h device_if.h
3210c40180SBryan Venteicher
3310c40180SBryan Venteicher.include <bsd.kmod.mk>
34