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
F106164771: D44130.diff
Thu, Dec 26, 11:12 AM
Unknown Object (File)
Sat, Dec 7, 1:08 AM
Unknown Object (File)
Nov 16 2024, 3:30 PM
Unknown Object (File)
Oct 21 2024, 9:55 PM
Unknown Object (File)
Oct 21 2024, 9:34 PM
Unknown Object (File)
Oct 16 2024, 8:41 PM
Unknown Object (File)
Oct 2 2024, 1:26 PM
Unknown Object (File)
Sep 26 2024, 12:36 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