]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c
MdeModulePkg Xhci: Handle value 5 in Port Speed field of PORTSC
authorStar Zeng <star.zeng@intel.com>
Sun, 21 Oct 2018 03:12:01 +0000 (11:12 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 23 Oct 2018 03:17:32 +0000 (11:17 +0800)
commit4a723d3d7fd1cbbc28c92f14361761831ad27bab
treefcaf2f4d4d222fbc5d75fedeaa3c8cd075e0f607
parentfed6cf25b8eefccf302f90f1fa7e54bf4a91b124
MdeModulePkg Xhci: Handle value 5 in Port Speed field of PORTSC

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1267

The value 5 Port Speed field of PORTSC is new defined in
XHCI 1.1 spec November 2017.

This patch updates XhciDxe and XhciPei to handle it, otherwise
the USB 3.1 device may not be recognized with the XHCI controller
following XHCI 1.1 spec November 2017.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
MdeModulePkg/Bus/Pci/XhciDxe/XhciReg.h
MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c
MdeModulePkg/Bus/Pci/XhciPei/XhciReg.h