]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorageData.h
1. UsbMassStorage: Increase the timeout of USBFloppyRead10 and USBFloppyWrite10 for...
[mirror_edk2.git] / EdkModulePkg / Bus / Usb / UsbMassStorage / Dxe / UsbMassStorageData.h
index cef33bd4f51c060db2dc9787b8acc52da76be85d..56dbcd8e402bfba2ada032d3b213e248f9663f27 100644 (file)
@@ -1,5 +1,5 @@
 /*++\r
-Copyright (c) 2006, Intel Corporation\r
+Copyright (c) 2006 - 2007, Intel Corporation\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -30,9 +30,10 @@ Revision History
 //\r
 // timeout unit is in millisecond.\r
 //\r
-#define USBFLPTIMEOUT         1000\r
-#define STALL_1_MILLI_SECOND  1000\r
 \r
+#define STALL_1_MILLI_SECOND  1000\r
+#define USBFLPTIMEOUT         STALL_1_MILLI_SECOND\r
+#define USBDATATIMEOUT        2 * STALL_1_MILLI_SECOND\r
 //\r
 // ATAPI Packet Command\r
 //\r