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)
Jun 26 2024, 10:38 PM
Unknown Object (File)
Jun 26 2024, 7:35 PM
Unknown Object (File)
Jun 26 2024, 12:38 AM
Unknown Object (File)
Jun 24 2024, 9:16 AM
Unknown Object (File)
Jun 20 2024, 1:31 PM
Unknown Object (File)
Jun 20 2024, 12:43 PM
Unknown Object (File)
Jun 16 2024, 1:14 PM
Unknown Object (File)
Jun 14 2024, 1:43 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