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
Unknown Object (File)
Sat, Nov 22, 6:50 PM
Unknown Object (File)
Nov 6 2025, 8:24 PM
Unknown Object (File)
Nov 5 2025, 6:03 PM
Unknown Object (File)
Nov 5 2025, 6:50 AM
Unknown Object (File)
Oct 31 2025, 3:45 AM
Unknown Object (File)
Oct 31 2025, 12:57 AM
Unknown Object (File)
Oct 31 2025, 12:57 AM
Unknown Object (File)
Oct 31 2025, 12:57 AM

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 Not Applicable
Unit
Tests Not Applicable