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