blob: b31ed93ea4688405c361b21da3691d99533060f9 [file] [log] [blame]
Nick Kralevicha67e4de2013-01-14 11:28:26 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
Ben Cheng655a7c02013-10-16 16:09:24 -070019#ifndef _LINUX_VIRTIO_IDS_H
20#define _LINUX_VIRTIO_IDS_H
21#define VIRTIO_ID_NET 1
22#define VIRTIO_ID_BLOCK 2
Ben Cheng655a7c02013-10-16 16:09:24 -070023#define VIRTIO_ID_CONSOLE 3
24#define VIRTIO_ID_RNG 4
25#define VIRTIO_ID_BALLOON 5
Christopher Ferris05667cd2021-02-16 16:01:34 -080026#define VIRTIO_ID_IOMEM 6
Ben Cheng655a7c02013-10-16 16:09:24 -070027#define VIRTIO_ID_RPMSG 7
Ben Cheng655a7c02013-10-16 16:09:24 -070028#define VIRTIO_ID_SCSI 8
29#define VIRTIO_ID_9P 9
Christopher Ferris05667cd2021-02-16 16:01:34 -080030#define VIRTIO_ID_MAC80211_WLAN 10
Ben Cheng655a7c02013-10-16 16:09:24 -070031#define VIRTIO_ID_RPROC_SERIAL 11
32#define VIRTIO_ID_CAIF 12
Christopher Ferris05667cd2021-02-16 16:01:34 -080033#define VIRTIO_ID_MEMORY_BALLOON 13
Christopher Ferris05d08e92016-02-04 13:16:38 -080034#define VIRTIO_ID_GPU 16
Christopher Ferris05667cd2021-02-16 16:01:34 -080035#define VIRTIO_ID_CLOCK 17
Christopher Ferris05d08e92016-02-04 13:16:38 -080036#define VIRTIO_ID_INPUT 18
Christopher Ferris49f525c2016-12-12 14:55:36 -080037#define VIRTIO_ID_VSOCK 19
Christopher Ferris48af7cb2017-02-21 12:35:09 -080038#define VIRTIO_ID_CRYPTO 20
Christopher Ferris05667cd2021-02-16 16:01:34 -080039#define VIRTIO_ID_SIGNAL_DIST 21
40#define VIRTIO_ID_PSTORE 22
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070041#define VIRTIO_ID_IOMMU 23
Christopher Ferris8177cdf2020-08-03 11:53:55 -070042#define VIRTIO_ID_MEM 24
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000043#define VIRTIO_ID_SOUND 25
Christopher Ferris9584fa42019-12-09 15:36:13 -080044#define VIRTIO_ID_FS 26
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070045#define VIRTIO_ID_PMEM 27
Christopher Ferris2abfa9e2021-11-01 16:26:06 -070046#define VIRTIO_ID_RPMB 28
Christopher Ferrisaf09c702020-06-01 20:29:29 -070047#define VIRTIO_ID_MAC80211_HWSIM 29
Christopher Ferris2abfa9e2021-11-01 16:26:06 -070048#define VIRTIO_ID_VIDEO_ENCODER 30
49#define VIRTIO_ID_VIDEO_DECODER 31
50#define VIRTIO_ID_SCMI 32
51#define VIRTIO_ID_NITRO_SEC_MOD 33
52#define VIRTIO_ID_I2C_ADAPTER 34
53#define VIRTIO_ID_WATCHDOG 35
54#define VIRTIO_ID_CAN 36
55#define VIRTIO_ID_DMABUF 37
56#define VIRTIO_ID_PARAM_SERV 38
57#define VIRTIO_ID_AUDIO_POLICY 39
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000058#define VIRTIO_ID_BT 40
Christopher Ferris2abfa9e2021-11-01 16:26:06 -070059#define VIRTIO_ID_GPIO 41
Christopher Ferris10a76e62022-06-08 13:31:52 -070060#define VIRTIO_TRANS_ID_NET 0x1000
61#define VIRTIO_TRANS_ID_BLOCK 0x1001
62#define VIRTIO_TRANS_ID_BALLOON 0x1002
63#define VIRTIO_TRANS_ID_CONSOLE 0x1003
64#define VIRTIO_TRANS_ID_SCSI 0x1004
65#define VIRTIO_TRANS_ID_RNG 0x1005
66#define VIRTIO_TRANS_ID_9P 0x1009
Christopher Ferris48af7cb2017-02-21 12:35:09 -080067#endif