]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
MdeModulePkg Xhci: Handle value 5 in Port Speed field of PORTSC
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / XhciDxe / Xhci.c
index 4796d4611b19ed7fdd6ec63d147bddd692c240b8..f1c60bef01c011f33d34b3dd312864b924df717c 100644 (file)
@@ -403,7 +403,8 @@ XhcGetRootHubPortStatus (
   State = XhcReadOpReg (Xhc, Offset);\r
 \r
   //\r
-  // According to XHCI 1.0 spec, bit 10~13 of the root port status register identifies the speed of the attached device.\r
+  // According to XHCI 1.1 spec November 2017,\r
+  // bit 10~13 of the root port status register identifies the speed of the attached device.\r
   //\r
   switch ((State & XHC_PORTSC_PS) >> 10) {\r
   case 2:\r
@@ -415,6 +416,7 @@ XhcGetRootHubPortStatus (
     break;\r
 \r
   case 4:\r
+  case 5:\r
     PortStatus->PortStatus |= USB_PORT_STAT_SUPER_SPEED;\r
     break;\r
 \r