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)
Fri, Jul 5, 12:18 PM
Unknown Object (File)
Wed, Jul 3, 11:50 PM
Unknown Object (File)
Mon, Jul 1, 10:37 PM
Unknown Object (File)
Jun 24 2024, 11:00 PM
Unknown Object (File)
Jun 8 2024, 6:59 PM
Unknown Object (File)
Jun 1 2024, 9:53 PM
Unknown Object (File)
May 10 2024, 11:41 PM
Unknown Object (File)
May 2 2024, 9:53 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