Date: Mon, 29 Dec 2014 11:02:19 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276358 - head/sys/dev/virtio/mmio Message-ID: <201412291102.sBTB2JfQ071871@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Mon Dec 29 11:02:18 2014 New Revision: 276358 URL: https://svnweb.freebsd.org/changeset/base/276358 Log: 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 Modified: head/sys/dev/virtio/mmio/virtio_mmio.c Modified: head/sys/dev/virtio/mmio/virtio_mmio.c ============================================================================== --- head/sys/dev/virtio/mmio/virtio_mmio.c Mon Dec 29 09:27:42 2014 (r276357) +++ head/sys/dev/virtio/mmio/virtio_mmio.c Mon Dec 29 11:02:18 2014 (r276358) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412291102.sBTB2JfQ071871>