16ca3d0f59
The feature bits are exposed as a 32-bit register with 2 banks, so we should negotiate both halves. Notably, VIRTIO_F_VERSION_1 is in the upper half, and will be used in an upcoming commit. The PCI bus driver also has this bug, but the legacy BAR layout did not include selector registers and is rather different from the modern layout, so it remains solely as legacy. Reviewed by: br, brooks (mentor), jhb (mentor) Approved by: br, brooks (mentor), jhb (mentor) Differential Revision: https://reviews.freebsd.org/D25131 |
||
---|---|---|
.. | ||
virtio_mmio_acpi.c | ||
virtio_mmio_fdt.c | ||
virtio_mmio_if.m | ||
virtio_mmio.c | ||
virtio_mmio.h |