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)
May 27 2024, 5:10 PM
Unknown Object (File)
May 19 2024, 10:27 PM
Unknown Object (File)
May 19 2024, 5:58 PM
Unknown Object (File)
May 19 2024, 5:58 PM
Unknown Object (File)
May 16 2024, 3:08 PM
Unknown Object (File)
May 12 2024, 12:32 AM
Unknown Object (File)
May 9 2024, 12:58 PM
Unknown Object (File)
Apr 23 2024, 9:10 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