You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/05/13 05:58:16 UTC

[nuttx] 01/03: include: virtio: Add VIRTIO_DEV_BLK definition to virtio-mmio.h

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 <ma...@gmail.com>
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 <Ma...@jp.sony.com>
---
 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)