mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
3ca4f5ca73
Virtio IDs are spread all over the tree which makes assigning new IDs bothersome. Putting them together should make the process less error-prone. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
18 lines
501 B
C
18 lines
501 B
C
#ifndef _LINUX_VIRTIO_IDS_H
|
|
#define _LINUX_VIRTIO_IDS_H
|
|
/*
|
|
* Virtio IDs
|
|
*
|
|
* This header is BSD licensed so anyone can use the definitions to implement
|
|
* compatible drivers/servers.
|
|
*/
|
|
|
|
#define VIRTIO_ID_NET 1 /* virtio net */
|
|
#define VIRTIO_ID_BLOCK 2 /* virtio block */
|
|
#define VIRTIO_ID_CONSOLE 3 /* virtio console */
|
|
#define VIRTIO_ID_RNG 4 /* virtio ring */
|
|
#define VIRTIO_ID_BALLOON 5 /* virtio balloon */
|
|
#define VIRTIO_ID_9P 9 /* 9p virtio console */
|
|
|
|
#endif /* _LINUX_VIRTIO_IDS_H */
|