xref: /utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/virtio_config.h (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1 #ifndef _LINUX_VIRTIO_CONFIG_H
2 #define _LINUX_VIRTIO_CONFIG_H
3 /* Virtio devices use a standardized configuration space to define their
4  * features and pass configuration information, but each implementation can
5  * store and access that space differently. */
6 #include <linux/types.h>
7 
8 /* Status byte for guest to report progress, and synchronize features. */
9 /* We have seen device and processed generic fields (VIRTIO_CONFIG_F_VIRTIO) */
10 #define VIRTIO_CONFIG_S_ACKNOWLEDGE	1
11 /* We have found a driver for the device. */
12 #define VIRTIO_CONFIG_S_DRIVER		2
13 /* Driver has used its parts of the config, and is happy */
14 #define VIRTIO_CONFIG_S_DRIVER_OK	4
15 /* We've given up on this device. */
16 #define VIRTIO_CONFIG_S_FAILED		0x80
17 
18 /* Do we get callbacks when the ring is completely used, even if we've
19  * suppressed them? */
20 #define VIRTIO_F_NOTIFY_ON_EMPTY	24
21 
22 #endif /* _LINUX_VIRTIO_CONFIG_H */
23