Skip to content

Commit 1f2dd43

Browse files
Erik Schillingepilys
authored andcommitted
bindings: add bindings for virtio_ids.h
Generated from Linux v6.4.3. Signed-off-by: Erik Schilling <[email protected]>
1 parent ab75249 commit 1f2dd43

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

crates/virtio-bindings/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Upcoming Release
22

33
- Regenerate bindings with Linux 6.4.
4+
- Added bindings for virtio_ids.h
45

56
# v0.2.1
67

crates/virtio-bindings/CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ for i in \
3838
virtio_blk \
3939
virtio_config \
4040
virtio_gpu \
41+
virtio_ids \
4142
virtio_mmio \
4243
virtio_net \
4344
virtio_ring \
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/* automatically generated by rust-bindgen 0.63.0 */
2+
3+
pub const VIRTIO_ID_NET: u32 = 1;
4+
pub const VIRTIO_ID_BLOCK: u32 = 2;
5+
pub const VIRTIO_ID_CONSOLE: u32 = 3;
6+
pub const VIRTIO_ID_RNG: u32 = 4;
7+
pub const VIRTIO_ID_BALLOON: u32 = 5;
8+
pub const VIRTIO_ID_IOMEM: u32 = 6;
9+
pub const VIRTIO_ID_RPMSG: u32 = 7;
10+
pub const VIRTIO_ID_SCSI: u32 = 8;
11+
pub const VIRTIO_ID_9P: u32 = 9;
12+
pub const VIRTIO_ID_MAC80211_WLAN: u32 = 10;
13+
pub const VIRTIO_ID_RPROC_SERIAL: u32 = 11;
14+
pub const VIRTIO_ID_CAIF: u32 = 12;
15+
pub const VIRTIO_ID_MEMORY_BALLOON: u32 = 13;
16+
pub const VIRTIO_ID_GPU: u32 = 16;
17+
pub const VIRTIO_ID_CLOCK: u32 = 17;
18+
pub const VIRTIO_ID_INPUT: u32 = 18;
19+
pub const VIRTIO_ID_VSOCK: u32 = 19;
20+
pub const VIRTIO_ID_CRYPTO: u32 = 20;
21+
pub const VIRTIO_ID_SIGNAL_DIST: u32 = 21;
22+
pub const VIRTIO_ID_PSTORE: u32 = 22;
23+
pub const VIRTIO_ID_IOMMU: u32 = 23;
24+
pub const VIRTIO_ID_MEM: u32 = 24;
25+
pub const VIRTIO_ID_SOUND: u32 = 25;
26+
pub const VIRTIO_ID_FS: u32 = 26;
27+
pub const VIRTIO_ID_PMEM: u32 = 27;
28+
pub const VIRTIO_ID_RPMB: u32 = 28;
29+
pub const VIRTIO_ID_MAC80211_HWSIM: u32 = 29;
30+
pub const VIRTIO_ID_VIDEO_ENCODER: u32 = 30;
31+
pub const VIRTIO_ID_VIDEO_DECODER: u32 = 31;
32+
pub const VIRTIO_ID_SCMI: u32 = 32;
33+
pub const VIRTIO_ID_NITRO_SEC_MOD: u32 = 33;
34+
pub const VIRTIO_ID_I2C_ADAPTER: u32 = 34;
35+
pub const VIRTIO_ID_WATCHDOG: u32 = 35;
36+
pub const VIRTIO_ID_CAN: u32 = 36;
37+
pub const VIRTIO_ID_DMABUF: u32 = 37;
38+
pub const VIRTIO_ID_PARAM_SERV: u32 = 38;
39+
pub const VIRTIO_ID_AUDIO_POLICY: u32 = 39;
40+
pub const VIRTIO_ID_BT: u32 = 40;
41+
pub const VIRTIO_ID_GPIO: u32 = 41;
42+
pub const VIRTIO_TRANS_ID_NET: u32 = 4096;
43+
pub const VIRTIO_TRANS_ID_BLOCK: u32 = 4097;
44+
pub const VIRTIO_TRANS_ID_BALLOON: u32 = 4098;
45+
pub const VIRTIO_TRANS_ID_CONSOLE: u32 = 4099;
46+
pub const VIRTIO_TRANS_ID_SCSI: u32 = 4100;
47+
pub const VIRTIO_TRANS_ID_RNG: u32 = 4101;
48+
pub const VIRTIO_TRANS_ID_9P: u32 = 4105;

0 commit comments

Comments
 (0)