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)
Mon, Aug 4, 9:37 AM
Unknown Object (File)
Jun 18 2025, 2:50 AM
Unknown Object (File)
Jun 17 2025, 10:59 PM
Unknown Object (File)
Jun 17 2025, 2:06 PM
Unknown Object (File)
May 15 2025, 5:43 AM
Unknown Object (File)
Apr 28 2025, 10:17 PM
Unknown Object (File)
Apr 19 2025, 2:50 AM
Unknown Object (File)
Apr 19 2025, 2:45 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