46927f67 | 25-May-2023 |
Warner Losh <imp@FreeBSD.org> |
stand/efi/eficom: Free comc_port if we can't find the serial port
If we can't find the serial port, free comc_port and return early. The serial port just isn't there.
Sponsored by: Netflix Reviewe
stand/efi/eficom: Free comc_port if we can't find the serial port
If we can't find the serial port, free comc_port and return early. The serial port just isn't there.
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D40223
show more ...
|
e5d4e036 | 25-May-2023 |
Warner Losh <imp@FreeBSD.org> |
stand/efi/eficom: Make aarch64 compat code probe correctly
Make the compat code more correct by probing using the eficom console structure, not the comconsole one.
Sponsored by: Netflix Reviewed b
stand/efi/eficom: Make aarch64 compat code probe correctly
Make the compat code more correct by probing using the eficom console structure, not the comconsole one.
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D40222
show more ...
|
42b0b7a9 | 25-May-2023 |
Warner Losh <imp@FreeBSD.org> |
stand/efi/eficom: Don't allow this for !HYPERV machines
If the machine isn't hyperv on amd64, then this driver fails the probe and will do nothing further now, even if explicitly listed in a config.
stand/efi/eficom: Don't allow this for !HYPERV machines
If the machine isn't hyperv on amd64, then this driver fails the probe and will do nothing further now, even if explicitly listed in a config.
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D40221
show more ...
|
8c3d6917 | 11-May-2023 |
Warner Losh <imp@FreeBSD.org> |
stand: eficom: Only set baudrate when it changes
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 paramete
stand: eficom: Only set baudrate when it changes
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 Differential Revision: https://reviews.freebsd.org/D40010
show more ...
|
cb2da749 | 11-May-2023 |
Warner Losh <imp@FreeBSD.org> |
stand: eficom: Don't preemtively assume flow control
Remove rtsdtr_off. It's basically unused. Expand its meaning, but put changing flow control to under an ifdef. We shouldn't set it unless we're s
stand: eficom: Don't preemtively assume flow control
Remove rtsdtr_off. It's basically unused. Expand its meaning, but put changing flow control to under an ifdef. We shouldn't set it unless we're sure we need to do so. UEFI normally initializes the device correctly, and we should avoid needless changes that aren't user requested.
Sponsored by: Netflix Reviewed by: tsoome Differential Revision: https://reviews.freebsd.org/D40009
show more ...
|