Page MenuHomeFreeBSD

new-bus: Remove the 'type' argument from BUS_MAP/UNMAP_RESOURCE
ClosedPublic

Authored by jhb on Feb 27 2024, 7:47 PM.
Tags
None
Referenced Files
F102746685: D44129.diff
Sat, Nov 16, 3:50 PM
Unknown Object (File)
Sat, Nov 9, 12:58 PM
Unknown Object (File)
Oct 16 2024, 8:42 PM
Unknown Object (File)
Sep 24 2024, 9:23 AM
Unknown Object (File)
Sep 20 2024, 2:55 AM
Unknown Object (File)
Sep 19 2024, 1:05 PM
Unknown Object (File)
Sep 16 2024, 12:43 PM
Unknown Object (File)
Sep 10 2024, 1:24 PM

Details

Summary

The public bus_map/unmap_resource() API still accepts both forms, but
the internal kobj methods no longer pass the argument.
Implementations which need the type now use 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 56302
Build 53190: arc lint + arc unit