Page MenuHomeFreeBSD

bhnd_bus_*_resource: Remove redundant type and rid arguments
ClosedPublic

Authored by jhb on Oct 28 2025, 5:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 27, 12:53 PM
Unknown Object (File)
Wed, Aug 26, 7:39 PM
Unknown Object (File)
Wed, Aug 26, 7:39 PM
Unknown Object (File)
Tue, Aug 11, 11:37 PM
Unknown Object (File)
Sun, Aug 9, 6:51 PM
Unknown Object (File)
Aug 8 2026, 5:26 PM
Unknown Object (File)
Aug 8 2026, 12:04 PM
Unknown Object (File)
Aug 7 2026, 7:35 PM
Subscribers
None

Details

Summary

Remove type and rid arguments from
bhnd_bus_(activate|deactivate|release)_resource. This should have
been done earlier to match the changes made to bus_release_resource,
etc.

While fixing up the callers, remove rid members from softc structures
since the only time a value is needed is as a constant input to
bhnd_bus_alloc_resource*.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable