]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: comconsole: don't unconditionally wipe out hw.uart.console
authorKyle Evans <kevans@FreeBSD.org>
Fri, 14 Apr 2023 04:41:22 +0000 (23:41 -0500)
committerGordon Tetlow <gordon@FreeBSD.org>
Wed, 21 Jun 2023 05:05:51 +0000 (22:05 -0700)
commit5d2bbb9db2d2c61629dcaee17cb269593e75d267
tree0be63f726dbd60fa938c9428f2c72d2ac0c1c964
parent0e577c42f61c808a379d82119d1cae8f2046d2bf
loader: comconsole: don't unconditionally wipe out hw.uart.console

It may be the case that we need to set hw.uart.console manually in some
scenarios that comconsole can't necessarily support.  Avoid clobbering
hw.uart.console unless we've actually selected comconsole so that one
could at least get kernel console output..

Discussed with: imp
Sponsored by: Zenith Electronics LLC
Sponsored by: Klara, Inc.

(cherry picked from commit ec671f4980437008b0119c6367816083e15fa503)
(cherry picked from commit 362677cae8e9ac4c6f7ff4d74a4378ea11d47797)

Approved by:    so
Security:       FreeBSD-EN-23:06.loader
stand/i386/libi386/comconsole.c