dont fix ownership on non-intel usb3

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2022-11-30 18:34:43 +03:00
parent 4a3b16edce
commit ff1681ad80
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 626c8743ce0b5f4c6feef9699022d0bf1d026454
Subproject commit cde12f2c5b0efb2120f191eccaeb413f1465864e

View File

@ -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);