svn commit: r366591 - stable/12/stand/efi/loader

Allan Jude allanjude at FreeBSD.org
Fri Oct 9 22:50:16 UTC 2020


Author: allanjude
Date: Fri Oct  9 22:50:16 2020
New Revision: 366591
URL: https://svnweb.freebsd.org/changeset/base/366591

Log:
  Revert r366590 that contains garbage

Modified:
  stable/12/stand/efi/loader/main.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/stand/efi/loader/main.c
==============================================================================
--- stable/12/stand/efi/loader/main.c	Fri Oct  9 22:42:04 2020	(r366590)
+++ stable/12/stand/efi/loader/main.c	Fri Oct  9 22:50:16 2020	(r366591)
@@ -717,10 +717,6 @@ parse_uefi_con_out(void)
 	ep = buf + sz;
 	node = (EFI_DEVICE_PATH *)buf;
 	while ((char *)node < ep) {
-		if (IsDevicePathEndType(node)) {
-			if (pci_pending && vid_seen == 0)
-				vid_seen = ++seen;
-		}
 		pci_pending = false;
 		if (DevicePathType(node) == ACPI_DEVICE_PATH &&
 		    DevicePathSubType(node) == ACPI_DP) {
@@ -753,6 +749,8 @@ parse_uefi_con_out(void)
 		}
 		node = NextDevicePathNode(node); /* Skip the end node */
 	}
+	if (pci_pending && vid_seen == 0)
+		vid_seen = ++seen;
 
 	/*
 	 * Truth table for RB_MULTIPLE | RB_SERIAL


More information about the svn-src-stable mailing list