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
F140100278: D40010.diff
Sat, Dec 20, 5:42 AM
Unknown Object (File)
Thu, Nov 27, 12:31 PM
Unknown Object (File)
Nov 15 2025, 7:15 PM
Unknown Object (File)
Nov 15 2025, 5:48 PM
Unknown Object (File)
Nov 10 2025, 7:42 PM
Unknown Object (File)
Nov 7 2025, 9:53 PM
Unknown Object (File)
Nov 3 2025, 1:39 PM
Unknown Object (File)
Nov 3 2025, 1:30 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 51379
Build 48270: arc lint + arc unit