HomeFreeBSD

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

Description

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

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.

Reviewed by: emaste, manu
Differential Revision: https://reviews.freebsd.org/D6846