[HAL] Remove misleading debug prints about USB controllers.

This commit is contained in:
Thomas Faber 2018-08-08 19:58:56 +02:00
parent 65f47728c0
commit 1ed0f9ab57
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -1128,32 +1128,6 @@ HalpInitializePciBus(VOID)
}
}
/* Check if this is a USB controller */
if ((PciData->BaseClass == PCI_CLASS_SERIAL_BUS_CTLR) &&
(PciData->SubClass == PCI_SUBCLASS_SB_USB))
{
/* Check if this is an OHCI controller */
if (PciData->ProgIf == 0x10)
{
DbgPrint("\tDevice is an OHCI (USB) PCI Expansion Card. Turn off Legacy USB in your BIOS!\n\n");
continue;
}
/* Check for Intel UHCI controller */
if (PciData->VendorID == 0x8086)
{
DbgPrint("\tDevice is an Intel UHCI (USB) Controller. Turn off Legacy USB in your BIOS!\n\n");
continue;
}
/* Check for VIA UHCI controller */
if (PciData->VendorID == 0x1106)
{
DbgPrint("\tDevice is a VIA UHCI (USB) Controller. Turn off Legacy USB in your BIOS!\n\n");
continue;
}
}
/* Now check the registry for chipset hacks */
Status = HalpGetChipHacks(PciData->VendorID,
PciData->DeviceID,