Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2022 04:03:56 GMT
From:      Bryan Venteicher <bryanv@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: dc6f578a8f53 - main - virtio_mmio: correct offset of VIRTIO_MMIO_CONFIG_GENERATION
Message-ID:  <202208040403.27443u3p055503@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bryanv:

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

commit dc6f578a8f53167b8ed768e53dfe4721a282647c
Author:     Bryan Venteicher <bryanv@FreeBSD.org>
AuthorDate: 2022-08-04 03:54:36 +0000
Commit:     Bryan Venteicher <bryanv@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208040403.27443u3p055503>