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
Unknown Object (File)
Sat, May 16, 12:19 AM
Unknown Object (File)
Fri, May 15, 3:16 PM
Unknown Object (File)
Fri, May 15, 4:25 AM
Unknown Object (File)
Fri, May 15, 3:27 AM
Unknown Object (File)
Thu, May 14, 6:19 PM
Unknown Object (File)
Thu, May 14, 4:01 PM
Unknown Object (File)
Tue, May 12, 5:42 AM
Unknown Object (File)
Fri, May 8, 7:03 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