HomeFreeBSD

new-bus: Remove the 'type' argument from BUS_ADJUST_RESOURCE

Description

new-bus: Remove the 'type' argument from BUS_ADJUST_RESOURCE

The public bus_adjust_resource() API still accepts both forms, but the
internal kobj method no longer passes 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/D44128

Details

Provenance
jhbAuthored on Mar 13 2024, 10:05 PM
Reviewer
imp
Differential Revision
D44128: new-bus: Remove the 'type' argument from BUS_ADJUST_RESOURCE
Parents
rG582b84cd252d: pcib: Use rman_get_type in internal functions
Branches
Unknown
Tags
Unknown