Page MenuHomeFreeBSD

Fix device lookup of for the stdout-path chosen property
ClosedPublic

Authored by andrew on Jun 14 2016, 4:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 2, 11:24 AM
Unknown Object (File)
Thu, Jan 30, 1:14 PM
Unknown Object (File)
Dec 5 2024, 6:18 AM
Unknown Object (File)
Dec 2 2024, 8:17 AM
Unknown Object (File)
Nov 30 2024, 10:54 AM
Unknown Object (File)
Nov 20 2024, 8:59 PM
Unknown Object (File)
Oct 31 2024, 4:06 PM
Unknown Object (File)
Oct 23 2024, 4:03 AM
Subscribers

Details

Summary

The stdout-path chosen property may include the serial connection details,
e.g. the baud rate. When passing the device to OF_finddevice we need to
strip off this information as it will cause the lookup to fail.

Diff Detail

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

Event Timeline

andrew retitled this revision from to Fix device lookup of for the stdout-path chosen property.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added reviewers: ARM, arm64.
emaste added a reviewer: emaste.
emaste added a subscriber: emaste.

seems fine

This revision is now accepted and ready to land.Jun 14 2016, 4:43 PM
manu added a reviewer: manu.
manu added a subscriber: manu.

Didn't test but I've done something similar (if not exactly the same) for the same reason.

This revision was automatically updated to reflect the committed changes.