]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg UsbBotPei: The UsbBotPei module contains the private structure definitio...
authorStar Zeng <star.zeng@intel.com>
Sun, 26 Jan 2014 02:49:41 +0000 (02:49 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 26 Jan 2014 02:49:41 +0000 (02:49 +0000)
commit506560e75abceaab3cd8f7b7508f9d26b3c6036d
tree304fc5172d0368e2f603d507f2c3187513977982
parent6ddc2ff3efa00b0e2233ae28f64cf58d63dafd2a
MdeModulePkg UsbBotPei: The UsbBotPei module contains the private structure definition used by the UsbBusPei module.

If the structure layout in UsbBusPei is changed, then the UsbBotPei will not work.

1. As the maximum number of endpoints is 16, use UINT16 type rather than UINT8 for DataToggle.
2. DataToggle needs to be reset to 0 when endpoint stall is cleared, do it in PeiUsbControlTransfer().

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15185 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Bus/Usb/UsbBotPei/PeiUsbLib.c
MdeModulePkg/Bus/Usb/UsbBotPei/UsbPeim.h
MdeModulePkg/Bus/Usb/UsbBusPei/PeiUsbLib.c
MdeModulePkg/Bus/Usb/UsbBusPei/PeiUsbLib.h
MdeModulePkg/Bus/Usb/UsbBusPei/UsbIoPeim.c
MdeModulePkg/Bus/Usb/UsbBusPei/UsbPeim.h