Skip to content

Commit fd2ef2c

Browse files
committed
remove zero PCI patch
Signed-off-by: Slice <[email protected]>
1 parent cc2813d commit fd2ef2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rEFIt_UEFI/Platform/FixBiosDsdt.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1699,6 +1699,7 @@ void findPciRoot (UINT8 *dsdt, UINT32 len)
16991699
08 5F 55 49 44 00 Name (_UID, Zero)
17001700
14 16 5F 50 52 54 00 Method (_PRT, 0, NotSerialized)
17011701
*/
1702+
17021703
if (PCISIZE > 0) {
17031704
// find PCIRootUID
17041705
for (j=PCIADR; j<PCIADR+64; j++) {
@@ -5464,7 +5465,8 @@ void FixBiosDsdt(UINT8* temp, EFI_ACPI_2_0_FIXED_ACPI_DESCRIPTION_TABLE* fadt, c
54645465
}
54655466

54665467
// gSettings.PCIRootUID = 0;
5467-
findPciRoot(temp, DsdtLen);
5468+
// findPciRoot(temp, DsdtLen); // Slice - this is the old patch not needed in modern system
5469+
54685470

54695471
// Fix RTC
54705472
if ((gSettings.ACPI.DSDT.FixDsdt & FIX_RTC)) {

0 commit comments

Comments
 (0)