Page MenuHomeFreeBSD

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

Authored by jhb on Feb 27 2024, 7:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 1:41 PM
Unknown Object (File)
Tue, Oct 29, 7:52 PM
Unknown Object (File)
Mon, Oct 21, 9:59 PM
Unknown Object (File)
Mon, Oct 21, 9:34 PM
Unknown Object (File)
Oct 1 2024, 8:36 AM
Unknown Object (File)
Sep 29 2024, 10:27 AM
Unknown Object (File)
Sep 28 2024, 12:45 AM
Unknown Object (File)
Sep 26 2024, 12:33 AM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Feb 27 2024, 7:47 PM
share/man/man9/bus_adjust_resource.9
28

bump on commit, of course

This revision is now accepted and ready to land.Mar 8 2024, 6:47 PM