https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1ed0f9ab576f094b27e11ba374738ecabc00e2e6

commit 1ed0f9ab576f094b27e11ba374738ecabc00e2e6
Author:     Thomas Faber <[email protected]>
AuthorDate: Wed Aug 8 19:58:56 2018 +0200
Commit:     Thomas Faber <[email protected]>
CommitDate: Wed Aug 8 20:08:38 2018 +0200

    [HAL] Remove misleading debug prints about USB controllers.
---
 hal/halx86/legacy/bussupp.c | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/hal/halx86/legacy/bussupp.c b/hal/halx86/legacy/bussupp.c
index a37d875ede..4d20396560 100644
--- a/hal/halx86/legacy/bussupp.c
+++ b/hal/halx86/legacy/bussupp.c
@@ -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,

Reply via email to