Page MenuHomeFreeBSD

virtio: Reduce boilerplate for device driver module definitions
ClosedPublic

Authored by jrtc27 on Jan 9 2021, 10:05 PM.
Tags
None
Referenced Files
F112079202: D28073.id82667.diff
Wed, Mar 12, 12:50 PM
F112058883: D28073.diff
Wed, Mar 12, 5:56 AM
Unknown Object (File)
Tue, Mar 4, 6:57 PM
Unknown Object (File)
Tue, Feb 25, 7:24 PM
Unknown Object (File)
Sat, Feb 15, 12:51 PM
Unknown Object (File)
Feb 2 2025, 11:13 PM
Unknown Object (File)
Jan 17 2025, 9:45 PM
Unknown Object (File)
Jan 15 2025, 2:05 PM
Subscribers

Details

Summary

Rather than have every device register itself for both virtio_pci and
virtio_mmio, provide a VIRTIO_DRIVER_MODULE wrapper to declare both,
merge VIRTIO_SIMPLE_PNPTABLE with VIRTIO_SIMPLE_PNPINFO and make the
latter register for both buses. This also has the benefit of abstracting
away the available transports and their names.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36070
Build 32959: arc lint + arc unit