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)
Sat, Jul 25, 8:17 AM
Unknown Object (File)
Thu, Jul 23, 2:11 PM
Unknown Object (File)
Thu, Jul 23, 9:38 AM
Unknown Object (File)
Tue, Jul 21, 7:04 PM
Unknown Object (File)
Sun, Jul 19, 7:04 PM
Unknown Object (File)
Sat, Jul 18, 8:08 AM
Unknown Object (File)
Sat, Jul 18, 4:54 AM
Unknown Object (File)
Jun 26 2026, 12:52 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