Date: Fri, 4 Jul 2025 13:28:58 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b7ef7f8b0b65 - stable/14 - virtio_p9fs: Support attaching to pci and mmio Message-ID: <202507041328.564DSwn2006234@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by arrowd: URL: https://cgit.FreeBSD.org/src/commit/?id=b7ef7f8b0b65e67da6ab11441b365684f231250f commit b7ef7f8b0b65e67da6ab11441b365684f231250f Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2025-04-08 10:27:20 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2025-07-04 13:28:07 +0000 virtio_p9fs: Support attaching to pci and mmio Some implementations of the virtio 9p transport are implemented on virtio_mmio, e.g. the Arm FVP. Use the correct macro so the driver attaches when this is the case. Reviewed by: markj Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D49600 (cherry picked from commit fd9f67e689e83f20e29edf63cc6488402de5901c) --- sys/dev/virtio/p9fs/virtio_p9fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/virtio/p9fs/virtio_p9fs.c b/sys/dev/virtio/p9fs/virtio_p9fs.c index d359fbbf1a3d..67426a88bceb 100644 --- a/sys/dev/virtio/p9fs/virtio_p9fs.c +++ b/sys/dev/virtio/p9fs/virtio_p9fs.c @@ -484,7 +484,7 @@ vt9p_modevent(module_t mod, int type, void *unused) return (error); } -DRIVER_MODULE(virtio_p9fs, virtio_pci, vt9p_drv, vt9p_modevent, 0); +VIRTIO_DRIVER_MODULE(virtio_p9fs, vt9p_drv, vt9p_modevent, NULL); MODULE_VERSION(virtio_p9fs, 1); MODULE_DEPEND(virtio_p9fs, virtio, 1, 1, 1); MODULE_DEPEND(virtio_p9fs, p9fs, 1, 1, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507041328.564DSwn2006234>