diff --git a/virtio_sys/bindgen.sh b/virtio_sys/bindgen.sh index 0cb5973107..b3d9609c64 100755 --- a/virtio_sys/bindgen.sh +++ b/virtio_sys/bindgen.sh @@ -59,7 +59,7 @@ VIRTIO_IDS_EXTRAS=" // TODO(b/236144983): Fix this id when an official virtio-id is assigned to this device. pub const VIRTIO_ID_PVCLOCK: u32 = 61; // TODO: Remove this once the ID is included in the Linux headers. -pub const VIRTIO_ID_MEDIA: u32 = 49; +pub const VIRTIO_ID_MEDIA: u32 = 48; " bindgen_generate \ diff --git a/virtio_sys/src/virtio_ids.rs b/virtio_sys/src/virtio_ids.rs index ef2979a587..f77fea9556 100644 --- a/virtio_sys/src/virtio_ids.rs +++ b/virtio_sys/src/virtio_ids.rs @@ -15,7 +15,7 @@ // TODO(b/236144983): Fix this id when an official virtio-id is assigned to this device. pub const VIRTIO_ID_PVCLOCK: u32 = 61; // TODO: Remove this once the ID is included in the Linux headers. -pub const VIRTIO_ID_MEDIA: u32 = 49; +pub const VIRTIO_ID_MEDIA: u32 = 48; pub const VIRTIO_ID_NET: u32 = 1; pub const VIRTIO_ID_BLOCK: u32 = 2;