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, Apr 19, 2:50 AM
Unknown Object (File)
Sat, Apr 19, 2:45 AM
Unknown Object (File)
Fri, Apr 18, 2:58 AM
Unknown Object (File)
Feb 24 2025, 5:26 PM
Unknown Object (File)
Jan 26 2025, 5:55 PM
Unknown Object (File)
Jan 23 2025, 6:28 PM
Unknown Object (File)
Jan 2 2025, 10:00 AM
Unknown Object (File)
Dec 19 2024, 10:15 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