X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FXhciDxe%2FXhci.c;fp=MdeModulePkg%2FBus%2FPci%2FXhciDxe%2FXhci.c;h=f1c60bef01c011f33d34b3dd312864b924df717c;hp=4796d4611b19ed7fdd6ec63d147bddd692c240b8;hb=4a723d3d7fd1cbbc28c92f14361761831ad27bab;hpb=fed6cf25b8eefccf302f90f1fa7e54bf4a91b124 diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c index 4796d4611b..f1c60bef01 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c +++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c @@ -403,7 +403,8 @@ XhcGetRootHubPortStatus ( State = XhcReadOpReg (Xhc, Offset); // - // According to XHCI 1.0 spec, bit 10~13 of the root port status register identifies the speed of the attached device. + // According to XHCI 1.1 spec November 2017, + // bit 10~13 of the root port status register identifies the speed of the attached device. // switch ((State & XHC_PORTSC_PS) >> 10) { case 2: @@ -415,6 +416,7 @@ XhcGetRootHubPortStatus ( break; case 4: + case 5: PortStatus->PortStatus |= USB_PORT_STAT_SUPER_SPEED; break;