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, Sep 5, 4:56 PM
Unknown Object (File)
Sat, Sep 5, 2:11 PM
Unknown Object (File)
Sat, Sep 5, 4:35 AM
Unknown Object (File)
Sat, Sep 5, 1:03 AM
Unknown Object (File)
Thu, Sep 3, 3:20 PM
Unknown Object (File)
Wed, Sep 2, 2:16 AM
Unknown Object (File)
Tue, Sep 1, 6:27 PM
Unknown Object (File)
Tue, Sep 1, 3:23 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