]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix video on PCI heuristic
authorimp <imp@FreeBSD.org>
Mon, 28 Sep 2020 06:00:39 +0000 (06:00 +0000)
committerimp <imp@FreeBSD.org>
Mon, 28 Sep 2020 06:00:39 +0000 (06:00 +0000)
commit3626f31fca360b0fed69215b8145e4f644956e3e
treef79cb417be5d98503c2abe8c6135208ac6da09b2
parent51dd232dae465eb3cbe00596ba0583964e0c259f
Fix video on PCI heuristic

The video on PCI heuristic was broken. It was supposed to infer a
video device when the last element of the path was a PCI DEVICE PATH
node. However, the last node in the device path is an END node, so
this heuristic never fired.

This leads, among other things, to bhyve only producing output in the
serial connection once we leave the boot loader. This restores the
dual headed boot on bhyve + UEFI (as we did in 11.2), but will favor
serial in the absence of other config which may be a change from 11.2.

MFC After: 3 days
Differential Revision: https://reviews.freebsd.org/D26572
stand/efi/loader/main.c