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
F81335459: D44129.id.diff
Sun, Apr 14, 5:43 PM
Unknown Object (File)
Mon, Apr 8, 10:42 PM
Unknown Object (File)
Mar 13 2024, 10:15 PM
Unknown Object (File)
Mar 4 2024, 8:50 AM
Unknown Object (File)
Mar 2 2024, 9:25 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