Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2021 05:08:04 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: d2536a25cc1d - main - virtio_random: Add modern (V1) support
Message-ID:  <202101190508.10J584CM085619@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=d2536a25cc1d9080bc452bf251086a7727f0ebde

commit d2536a25cc1d9080bc452bf251086a7727f0ebde
Author:     Bryan Venteicher <bryanv@FreeBSD.org>
AuthorDate: 2021-01-19 04:55:23 +0000
Commit:     Bryan Venteicher <bryanv@FreeBSD.org>
CommitDate: 2021-01-19 04:55:23 +0000

    virtio_random: Add modern (V1) support
    
    Reviewed by: grehan (mentor)
    Differential Revision: https://reviews.freebsd.org/D27899
---
 sys/dev/virtio/random/virtio_random.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/virtio/random/virtio_random.c b/sys/dev/virtio/random/virtio_random.c
index dcdb0de95ff0..8c01b1cf6ae3 100644
--- a/sys/dev/virtio/random/virtio_random.c
+++ b/sys/dev/virtio/random/virtio_random.c
@@ -189,6 +189,7 @@ vtrnd_negotiate_features(device_t dev)
 
 	sc = device_get_softc(dev);
 	sc->vtrnd_features = virtio_negotiate_features(dev, VTRND_FEATURES);
+	virtio_finalize_features(dev);
 }
 
 static int



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