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
Unknown Object (File)
Mon, Apr 21, 6:35 AM
Unknown Object (File)
Sun, Apr 20, 9:05 PM
Unknown Object (File)
Sun, Apr 20, 6:33 PM
Unknown Object (File)
Fri, Apr 4, 6:09 PM
Unknown Object (File)
Feb 26 2025, 12:11 AM
Unknown Object (File)
Jan 26 2025, 6:02 PM
Unknown Object (File)
Jan 17 2025, 3:57 PM
Unknown Object (File)
Jan 16 2025, 6:42 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