Module Name: src Committed By: wiz Date: Wed Jan 15 13:31:07 UTC 2025
Modified Files: src/share/man/man4: virtio_mmio.4 Log Message: virtio_mmio(4): cleanups To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/virtio_mmio.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/virtio_mmio.4 diff -u src/share/man/man4/virtio_mmio.4:1.1 src/share/man/man4/virtio_mmio.4:1.2 --- src/share/man/man4/virtio_mmio.4:1.1 Wed Jan 15 13:16:22 2025 +++ src/share/man/man4/virtio_mmio.4 Wed Jan 15 13:31:07 2025 @@ -1,4 +1,4 @@ -.\" $NetBSD: virtio_mmio.4,v 1.1 2025/01/15 13:16:22 imil Exp $ +.\" $NetBSD: virtio_mmio.4,v 1.2 2025/01/15 13:31:07 wiz Exp $ .\" .\" Copyright (c) 2024 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -24,12 +24,12 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd January 2024 +.Dd January 15, 2025 .Dt VIRTIO_MMIO 4 -.Os NetBSD +.Os .Sh NAME .Nm virtio_mmio -.Nd VirtIO over memory mapped device. +.Nd VirtIO over memory mapped device .Sh SYNOPSIS .Cd "pv* at pvbus?" .Cd "virtio* at pv?" @@ -50,15 +50,17 @@ device. .Pp The memory mapped .Xr virtio 4 -device behaviour is based on the +device behavior is based on the .Xr pci 4 -device specification. Therefore most operations including device initialization, +device specification. +Therefore most operations including device initialization, queues configuration and buffer transfers are nearly identical. .Pp Unlike .Xr pci 4 , .Nm -provides no generic device discovery mechanism. For each device, the guest OS will +provides no generic device discovery mechanism. +For each device, the guest OS will need to know the location of the registers and interrupt(s) used. .Pp Device location can be read from either