]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r366216 imp
authorWarner Losh <imp@FreeBSD.org>
Fri, 9 Oct 2020 21:01:53 +0000 (21:01 +0000)
committerWarner Losh <imp@FreeBSD.org>
Fri, 9 Oct 2020 21:01:53 +0000 (21:01 +0000)
commitca955c973ab82065f3ab7b481836eb893e4d47c4
tree24bd81fb3ba22acfcb8b73e23b3d4aab8344ed85
parentc30cf38f5bc4413faf717b3c1c20ca558c36f307
MFC: r366216 imp

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