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

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);