This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 1d6a61c0343794a291bb355060a7b3085cf2ec8b
Author: Masayuki Ishikawa <[email protected]>
AuthorDate: Fri May 12 11:19:17 2023 +0900

    include: virtio: Add VIRTIO_DEV_BLK definition to virtio-mmio.h
    
    Signed-off-by: Masayuki Ishikawa <[email protected]>
---
 include/nuttx/virtio/virtio-mmio.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/nuttx/virtio/virtio-mmio.h 
b/include/nuttx/virtio/virtio-mmio.h
index a922aadf23..5bf53ab029 100644
--- a/include/nuttx/virtio/virtio-mmio.h
+++ b/include/nuttx/virtio/virtio-mmio.h
@@ -39,6 +39,7 @@
 #define VIRTIO_VERSION  0x2    /* NOTE: Legacy devices used 0x1 */
 
 #define VIRTIO_DEV_NET  0x1
+#define VIRTIO_DEV_BLK  0x2
 
 #define VIRTIO_STATUS_ACKNOWLEDGE   (1)
 #define VIRTIO_STATUS_DRIVER        (2)

Reply via email to