HomeFreeBSD

vmd: Use bus_generic_rman_* for PCI bus and memory resources

Description

vmd: Use bus_generic_rman_* for PCI bus and memory resources

While here, add custom bus_map/unmap_resource methods to request
mappings via the window memory resources allocated from the parent
bus.

Tested by: emaste
Differential Revision: https://reviews.freebsd.org/D43886

(cherry picked from commit d714e73f789515963a22fe64417bf3883cdb599c)

Details

Provenance
jhbAuthored on Feb 15 2024, 8:26 PM
Differential Revision
D43886: vmd: Use bus_generic_rman_* for PCI bus and memory resources
Parents
rGb9ec2a943df7: pci_host_generic: Don't rewrite resource start address for translation
Branches
Unknown
Tags
Unknown