virtio_if.m revision 227652
1227652Sgrehan#-
2227652Sgrehan# Copyright (c) 2011, Bryan Venteicher <bryanv@daemoninthecloset.org>
3227652Sgrehan# All rights reserved.
4227652Sgrehan#
5227652Sgrehan# Redistribution and use in source and binary forms, with or without
6227652Sgrehan# modification, are permitted provided that the following conditions
7227652Sgrehan# are met:
8227652Sgrehan# 1. Redistributions of source code must retain the above copyright
9227652Sgrehan#    notice, this list of conditions and the following disclaimer.
10227652Sgrehan# 2. Redistributions in binary form must reproduce the above copyright
11227652Sgrehan#    notice, this list of conditions and the following disclaimer in the
12227652Sgrehan#    documentation and/or other materials provided with the distribution.
13227652Sgrehan#
14227652Sgrehan# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15227652Sgrehan# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16227652Sgrehan# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17227652Sgrehan# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18227652Sgrehan# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19227652Sgrehan# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20227652Sgrehan# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21227652Sgrehan# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22227652Sgrehan# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23227652Sgrehan# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24227652Sgrehan# SUCH DAMAGE.
25227652Sgrehan#
26227652Sgrehan# $FreeBSD: head/sys/dev/virtio/virtio_if.m 227652 2011-11-18 05:43:43Z grehan $
27227652Sgrehan
28227652Sgrehan#include <sys/bus.h>
29227652Sgrehan
30227652SgrehanINTERFACE virtio;
31227652Sgrehan
32227652SgrehanCODE {
33227652Sgrehan	static int
34227652Sgrehan	virtio_default_config_change(device_t dev)
35227652Sgrehan	{
36227652Sgrehan		/* Return that we've handled the change. */
37227652Sgrehan		return (1);
38227652Sgrehan	}
39227652Sgrehan};
40227652Sgrehan
41227652SgrehanMETHOD int config_change {
42227652Sgrehan	device_t	dev;
43227652Sgrehan} DEFAULT virtio_default_config_change;
44