1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

Allow virtio_mmio to attach to ofwbus. Qemu places these here on at least

the AArch64 virtual platform with the Linaro UEFI.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2014-12-29 11:02:18 +00:00
parent 8763c089ab
commit 82ba170c6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276358

View File

@ -202,6 +202,7 @@ static driver_t vtmmio_driver = {
devclass_t vtmmio_devclass;
DRIVER_MODULE(virtio_mmio, simplebus, vtmmio_driver, vtmmio_devclass, 0, 0);
DRIVER_MODULE(virtio_mmio, ofwbus, vtmmio_driver, vtmmio_devclass, 0, 0);
MODULE_VERSION(virtio_mmio, 1);
MODULE_DEPEND(virtio_mmio, simplebus, 1, 1, 1);
MODULE_DEPEND(virtio_mmio, virtio, 1, 1, 1);