]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorage.h
For USB mass storage, READ_FORMAT_CAPACITIES command returns wrong value for USB2...
[mirror_edk2.git] / EdkModulePkg / Bus / Usb / UsbMassStorage / Dxe / UsbMassStorage.h
index 387c53a72d2e176858711e326d621ec727f87275..fc19930cbdc433a7029411d4bbdcf4941aca69c8 100644 (file)
@@ -33,8 +33,8 @@ Revision History
 #define PROTOCOL_CBI0             0\r
 #define PROTOCOL_CBI1             1\r
 \r
-#define USBFLOPPY                 1\r
-#define USBFLOPPY2                2 // for those that use ReadCapacity(0x25) command to retrieve media capacity\r
+#define USBFLOPPY                 1 // for those that use ReadCapacity(0x25) command to retrieve media capacity\r
+#define USBFLOPPY2                2 // for those that use ReadFormatCapacity(0x23) command to retrieve media capacity\r
 #define USBCDROM                  3\r
 \r
 #define USB_FLOPPY_DEV_SIGNATURE  EFI_SIGNATURE_32 ('u', 'f', 'l', 'p')\r