Page MenuHomeFreeBSD

stand: eficom: Only set baudrate when it changes
ClosedPublic

Authored by imp on May 8 2023, 8:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 14 2024, 9:18 PM
Unknown Object (File)
Mar 14 2024, 9:18 PM
Unknown Object (File)
Mar 11 2024, 7:21 AM
Unknown Object (File)
Mar 11 2024, 7:09 AM
Unknown Object (File)
Mar 7 2024, 8:50 AM
Unknown Object (File)
Mar 7 2024, 8:35 AM
Unknown Object (File)
Mar 7 2024, 8:28 AM
Unknown Object (File)
Mar 7 2024, 6:32 AM
Subscribers

Details

Summary

Only set the baudrate when it is different than what the device has
reported. In addition, pass in the args to effect no change to the other
parameters to the serial port. Some EFI firmware gets cranky when you
set them to the same value, so avoid doing so (we likely can remove the
HyperV workaround with this fix, but I kept it in place). Add comments
to the code for why we do this too.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable