eb343a95dc7d30c56146e3c3e072a11c0fe12e11
[dragonfly.git] / sys / dev / virtual / virtio / pci / virtio_if.h
1 /*
2  * This file is produced automatically.
3  * Do not modify anything in here by hand.
4  *
5  * Created from source file
6  *   @/dev/virtio/virtio_if.m
7  * with
8  *   makeobjops.awk
9  *
10  * See the source file for legal information
11  */
12
13 #ifndef _virtio_if_h_
14 #define _virtio_if_h_
15
16 extern struct kobjop_desc virtio_config_change_desc;
17 typedef int virtio_config_change_t(device_t dev);
18 static __inline int VIRTIO_CONFIG_CHANGE(device_t dev)
19 {
20         kobjop_t _m;
21         KOBJOPLOOKUP(((kobj_t)dev)->ops, virtio_config_change);
22         return ((virtio_config_change_t *) _m)(dev);
23 }
24
25 #endif /* _virtio_if_h_ */