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
F102927761: D40010.id121882.diff
Mon, Nov 18, 8:40 PM
Unknown Object (File)
Thu, Oct 31, 7:17 PM
Unknown Object (File)
Sep 27 2024, 6:55 AM
Unknown Object (File)
Sep 24 2024, 6:13 PM
Unknown Object (File)
Sep 24 2024, 6:13 PM
Unknown Object (File)
Sep 24 2024, 6:12 PM
Unknown Object (File)
Sep 22 2024, 11:48 AM
Unknown Object (File)
Sep 11 2024, 4:46 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