Page MenuHomeFreeBSD

virtio: Reduce boilerplate for device driver module definitions
Needs ReviewPublic

Authored by jrtc27 on Sat, Jan 9, 10:05 PM.

Details

Reviewers
bryanv
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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 36070
Build 32959: arc lint + arc unit