diff options
| author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-03-02 12:30:06 +0300 |
|---|---|---|
| committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-03-03 10:49:04 +0300 |
| commit | 19d76ae60819d9838acbb0e6f70700bb13bef36a (patch) | |
| tree | a5ab32b0476cdda4eb05147c8fdaef1a2ab288a7 /BaseTools/Source/Python/Common | |
| parent | 1bc5d2b3c7f2848ec8847a2a28206e603e16065d (diff) | |
| download | edk2-19d76ae60819d9838acbb0e6f70700bb13bef36a.tar.xz | |
MdeModulePkg/UsbMass: Revert "map -r" media change detection fix
This reverts commit a662afb5b023a187ef638d3cb0e0c313ad39a7fc.
* MdeModulePkg/UsbStorage: Fix "map -r" cannot detect media change
The above commit fixed the following issue:
When system boots to Shell without CDROM inside USB CDROM drive,
and then user inserts the CDROM with Eltorito file system,
"map -r" cannot show the new ELtorito file system.
The commit caused EFI_MEDIA_CHANGED status returned from
UsbBootDetectMedia().
But that fix exposes another issue:
When issuing ReadCapacity command to certain USB key
(Kingston DataTraveler G3 8GB) after it's hot-plugged, USB device
returns STALL error and RequestSense command returns media changed
sense data. (Most of the USB keys return SUCCESS for ReadCapacity
command after hot-plug.)
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common')
0 files changed, 0 insertions, 0 deletions
