Page MenuHomeFreeBSD

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

Authored by jhb on Feb 27 2024, 7:47 PM.
Tags
None
Referenced Files
F132916134: D44130.id135119.diff
Tue, Oct 21, 4:02 AM
F132866727: D44130.diff
Mon, Oct 20, 4:02 PM
Unknown Object (File)
Wed, Oct 15, 3:56 AM
Unknown Object (File)
Sat, Sep 27, 2:36 PM
Unknown Object (File)
Mon, Sep 22, 12:37 AM
Unknown Object (File)
Sep 4 2025, 6:27 PM
Unknown Object (File)
Sep 4 2025, 3:03 PM
Unknown Object (File)
Aug 22 2025, 4:48 AM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56303
Build 53191: arc lint + arc unit