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
F142302214: D44130.id.diff
Sun, Jan 18, 8:45 AM
Unknown Object (File)
Wed, Jan 14, 6:29 PM
Unknown Object (File)
Tue, Jan 13, 2:35 PM
Unknown Object (File)
Sat, Jan 3, 1:18 AM
Unknown Object (File)
Dec 13 2025, 6:49 AM
Unknown Object (File)
Dec 9 2025, 10:36 AM
Unknown Object (File)
Nov 5 2025, 11:58 AM
Unknown Object (File)
Nov 4 2025, 12:01 PM

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