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)
Mon, Aug 24, 3:45 PM
Unknown Object (File)
Sun, Aug 23, 8:45 PM
Unknown Object (File)
Sun, Aug 23, 8:45 PM
Unknown Object (File)
Fri, Aug 21, 12:57 AM
Unknown Object (File)
Fri, Aug 21, 12:56 AM
Unknown Object (File)
Fri, Aug 21, 12:56 AM
Unknown Object (File)
Mon, Aug 10, 9:10 PM
Unknown Object (File)
Sat, Aug 8, 6:50 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.