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)
Tue, Apr 7, 11:19 AM
Unknown Object (File)
Mon, Apr 6, 7:28 PM
Unknown Object (File)
Sun, Apr 5, 7:01 AM
Unknown Object (File)
Sun, Apr 5, 5:22 AM
Unknown Object (File)
Sat, Apr 4, 12:30 AM
Unknown Object (File)
Thu, Apr 2, 11:49 PM
Unknown Object (File)
Feb 17 2026, 6:01 AM
Unknown Object (File)
Feb 16 2026, 3:39 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