mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
636b99757e
commit
2de03270e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue