Page MenuHomeFreeBSD

Fix bug in ofwbus_release_resource() for non-ofwbus descendants
ClosedPublic

Authored by zbb on Feb 16 2016, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 18, 1:35 PM
Unknown Object (File)
Feb 3 2024, 7:18 PM
Unknown Object (File)
Dec 29 2023, 4:04 AM
Unknown Object (File)
Dec 14 2023, 5:43 AM
Unknown Object (File)
Oct 25 2023, 7:57 AM
Unknown Object (File)
Sep 29 2023, 4:11 PM
Unknown Object (File)
Sep 10 2023, 6:15 AM
Unknown Object (File)
Sep 6 2023, 7:09 AM
Subscribers

Details

Summary

Resource list for devices that are not ofwbus descendants, but
got to ofwbus method via bus_generic_release_resource() call chain,
cannot be found using BUS_GET_RESOURCE_LIST() used by ofwbus.
In that case, changing device's resource list should be avoided
(will not contain resource list prepared by ofw or simplebus).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zbb retitled this revision from to Fix bug in ofwbus_release_resource() for non-ofwbus descendants .
zbb updated this object.
zbb edited the test plan for this revision. (Show Details)
zbb added reviewers: imp, ian, andrew, wma.
zbb set the repository for this revision to rS FreeBSD src repository - subversion.
zbb added subscribers: ARM, arm64.
wma edited edge metadata.
This revision is now accepted and ready to land.Feb 17 2016, 1:07 PM
This revision was automatically updated to reflect the committed changes.