freebsd-dev/sys/dev/virtio/mmio
Jessica Clarke 16ca3d0f59 virtio_mmio: Negotiate the upper half of the feature bits too
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
2020-06-08 21:49:42 +00:00
..
virtio_mmio_acpi.c
virtio_mmio_fdt.c
virtio_mmio_if.m
virtio_mmio.c virtio_mmio: Negotiate the upper half of the feature bits too 2020-06-08 21:49:42 +00:00
virtio_mmio.h