HomeFreeBSD

new-bus: Remove the 'type' argument from BUS_MAP/UNMAP_RESOURCE

Description

new-bus: Remove the 'type' argument from BUS_MAP/UNMAP_RESOURCE

The public bus_map/unmap_resource() API still accepts both forms, but
the internal kobj methods no longer pass the argument.
Implementations which need the type now use rman_get_type() to fetch
the value from the allocated resource.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D44129

Details

Provenance
jhbAuthored on Mar 13 2024, 10:05 PM
Reviewer
imp
Differential Revision
D44129: new-bus: Remove the 'type' argument from BUS_MAP/UNMAP_RESOURCE
Parents
rGfef01f0498aa: new-bus: Remove the 'type' argument from BUS_ADJUST_RESOURCE
Branches
Unknown
Tags
Unknown