From 549e9a3cdcbebf4374efeaa6fc859b0957ef7d2f Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sat, 4 Sep 2021 13:11:02 -0400 Subject: [PATCH] USB: Adjust comment about stack drivers for clarity. No code changes. --- src/add-ons/kernel/bus_managers/usb/Stack.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/add-ons/kernel/bus_managers/usb/Stack.cpp b/src/add-ons/kernel/bus_managers/usb/Stack.cpp index 5617b107b6..c1a3f4d785 100644 --- a/src/add-ons/kernel/bus_managers/usb/Stack.cpp +++ b/src/add-ons/kernel/bus_managers/usb/Stack.cpp @@ -50,18 +50,21 @@ Stack::Stack() return; } - // Check for host controller modules - // While using a fixed list of names is inflexible it allows us to control + // Check for host controller modules. + // + // While using a fixed list of names is inflexible, it allows us to control // the order in which we try modules. There are controllers/BIOSes that // require UHCI/OHCI to be initialized before EHCI or otherwise they // refuse to publish any high-speed devices. - // On other systems the ordering is probably ensured because the EHCI + // + // On other systems, the ordering is probably ensured because the EHCI // controller is required to have a higher PCI function number than the // companion host controllers (per the EHCI specs) and it would therefore - // be enumerated as the last item. As this does not apply to us we have to + // be enumerated as the last item. As this does not apply to us, we have to // ensure ordering using another method. - // Intel Lynx Point and Panther Point chipsets have ports shared between - // EHCI and XHCI, defaulting to EHCI. The XHCI module will switch USB 2.0 + // + // Furthermore, on some systems, there can be ports shared between + // EHCI and XHCI, defaulting to EHCI. The XHCI module will switch these // ports before the EHCI module discovers them. const char *moduleNames[] = { "busses/usb/xhci",