From ff1681ad80c858cdb314cb2b50ae9dff9fdb1a7e Mon Sep 17 00:00:00 2001 From: SergeySlice Date: Wed, 30 Nov 2022 18:34:43 +0300 Subject: [PATCH] dont fix ownership on non-intel usb3 Signed-off-by: SergeySlice --- OpenCorePkg | 2 +- rEFIt_UEFI/Platform/usbfix.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenCorePkg b/OpenCorePkg index 626c8743c..cde12f2c5 160000 --- a/OpenCorePkg +++ b/OpenCorePkg @@ -1 +1 @@ -Subproject commit 626c8743ce0b5f4c6feef9699022d0bf1d026454 +Subproject commit cde12f2c5b0efb2120f191eccaeb413f1465864e diff --git a/rEFIt_UEFI/Platform/usbfix.cpp b/rEFIt_UEFI/Platform/usbfix.cpp index 81ef3229a..d1746b5af 100644 --- a/rEFIt_UEFI/Platform/usbfix.cpp +++ b/rEFIt_UEFI/Platform/usbfix.cpp @@ -294,9 +294,9 @@ DBG("FixOwnership() -> begin\n"); // Found the XHCI, then disable the legacy support, if present // DBG("USB XHCI reset for device %04hX\n", Pci.Hdr.DeviceId); - if (Pci.Hdr.VendorId == 0x1106) { - //ну ее нах эту ВИА - DBG("skip XHCI controller from VIA\n"); + if (Pci.Hdr.VendorId != 0x8086) { + //ну ее нах эту ВИА, да и прочих, кроме Интел + DBG("skip XHCI controller Vendor=%04X\n", Pci.Hdr.VendorId); break; } Status = PciIo->Mem.Read(PciIo, EfiPciIoWidthUint32, 0 /* BAR0 */, (UINT64) 0x10 /* HCCPARAMS1 */, 1, &HcCapParams);