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)
Nov 24 2024, 10:44 PM
Unknown Object (File)
Nov 22 2024, 10:47 PM
Unknown Object (File)
Nov 19 2024, 9:26 PM
Unknown Object (File)
Nov 18 2024, 8:40 PM
Unknown Object (File)
Oct 31 2024, 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
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