From 1117c8c3561572b3e836d8045396c626433b3ed0 Mon Sep 17 00:00:00 2001 From: Michalis Pappas Date: Tue, 26 Sep 2023 17:35:05 +0200 Subject: [PATCH] drivers/virtio: Add definition of VIRTIO_CONFIG_STATUS_FEATURES_OK MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add definition of VIRTIO_CONFIG_STATUS_FEATURES_OK in anticipation of support for modern virtio. Signed-off-by: Andrei Tudor Topală Signed-off-by: Michalis Pappas Reviewed-by: Marco Schlumpp Approved-by: Razvan Deaconescu GitHub-Closes: #1115 --- drivers/virtio/include/virtio/virtio_config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/virtio/include/virtio/virtio_config.h b/drivers/virtio/include/virtio/virtio_config.h index 78bf6240e..05f632467 100644 --- a/drivers/virtio/include/virtio/virtio_config.h +++ b/drivers/virtio/include/virtio/virtio_config.h @@ -47,6 +47,7 @@ extern "C" { #define VIRTIO_CONFIG_STATUS_ACK 0x1 /* device is virtio */ #define VIRTIO_CONFIG_STATUS_DRIVER 0x2 /* driver found */ #define VIRTIO_CONFIG_STATUS_DRIVER_OK 0x4 /* init complete */ +#define VIRTIO_CONFIG_STATUS_FEATURES_OK 0x8 /* feat negot complete */ #define VIRTIO_CONFIG_STATUS_NEEDS_RESET 0x40 /* device needs reset */ #define VIRTIO_CONFIG_STATUS_FAIL 0x80 /* device failure */ -- 2.39.5