HomeFreeBSD

new-bus: Remove the 'rid' and 'type' arguments from BUS_*ACTIVATE_RESOURCE

Description

new-bus: Remove the 'rid' and 'type' arguments from BUS_*ACTIVATE_RESOURCE

The public bus_activate/deactivate_resource() API still accepts both
forms, but the internal kobj methods no longer pass the arguments.
Implementations which need the rid or type now use rman_get_rid() or
rman_get_type() to fetch the value from the allocated resource.

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

Details

Provenance
jhbAuthored on Mar 13 2024, 10:05 PM
Reviewer
imp
Differential Revision
D44130: new-bus: Remove the 'rid' and 'type' arguments from BUS_*ACTIVATE_RESOURCE
Parents
rGd77f2092ceeb: new-bus: Remove the 'type' argument from BUS_MAP/UNMAP_RESOURCE
Branches
Unknown
Tags
Unknown