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
F87343558: D44129.id135118.diff
Mon, Jul 1, 10:03 PM
F87342637: D44129.id135732.diff
Mon, Jul 1, 9:55 PM
Unknown Object (File)
Sat, Jun 29, 8:56 PM
Unknown Object (File)
Fri, Jun 28, 7:31 PM
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

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