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, Apr 27, 9:21 PM
Unknown Object (File)
Mon, Apr 27, 8:57 AM
Unknown Object (File)
Sun, Apr 26, 8:09 AM
Unknown Object (File)
Fri, Apr 24, 6:32 PM
Unknown Object (File)
Sun, Apr 12, 2:09 AM
Unknown Object (File)
Tue, Apr 7, 11:19 AM
Unknown Object (File)
Mon, Apr 6, 7:28 PM
Unknown Object (File)
Sun, Apr 5, 7:01 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