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)
Thu, Apr 23, 7:31 AM
Unknown Object (File)
Wed, Apr 15, 12:08 AM
Unknown Object (File)
Tue, Apr 14, 7:19 PM
Unknown Object (File)
Sun, Apr 12, 5:52 PM
Unknown Object (File)
Fri, Apr 10, 7:11 AM
Unknown Object (File)
Thu, Apr 9, 7:32 PM
Unknown Object (File)
Wed, Apr 8, 8:26 PM
Unknown Object (File)
Mon, Apr 6, 12:22 PM
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.