The branch main has been updated by bryanv:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=dc6f578a8f53167b8ed768e53dfe4721a282647c

commit dc6f578a8f53167b8ed768e53dfe4721a282647c
Author:     Bryan Venteicher <bry...@freebsd.org>
AuthorDate: 2022-08-04 03:54:36 +0000
Commit:     Bryan Venteicher <bry...@freebsd.org>
CommitDate: 2022-08-04 03:54:36 +0000

    virtio_mmio: correct offset of VIRTIO_MMIO_CONFIG_GENERATION
---
 sys/dev/virtio/mmio/virtio_mmio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/virtio/mmio/virtio_mmio.h 
b/sys/dev/virtio/mmio/virtio_mmio.h
index 5eb56d860780..fa51714c719a 100644
--- a/sys/dev/virtio/mmio/virtio_mmio.h
+++ b/sys/dev/virtio/mmio/virtio_mmio.h
@@ -83,7 +83,7 @@ int vtmmio_attach(device_t);
 #define        VIRTIO_MMIO_QUEUE_AVAIL_HIGH    0x094   /* requires version 2 */
 #define        VIRTIO_MMIO_QUEUE_USED_LOW      0x0a0   /* requires version 2 */
 #define        VIRTIO_MMIO_QUEUE_USED_HIGH     0x0a4   /* requires version 2 */
-#define        VIRTIO_MMIO_CONFIG_GENERATION   0x100   /* requires version 2 */
+#define        VIRTIO_MMIO_CONFIG_GENERATION   0x0fc   /* requires version 2 */
 #define        VIRTIO_MMIO_CONFIG              0x100
 #define        VIRTIO_MMIO_MAGIC_VIRT          0x74726976
 #define        VIRTIO_MMIO_INT_VRING           (1 << 0)

Reply via email to