]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Usb/UsbMassStorage/Dxe/UsbMassStorageHelper.c
1. UsbMassStorage: Increase the timeout of USBFloppyRead10 and USBFloppyWrite10 for...
[mirror_edk2.git] / EdkModulePkg / Bus / Usb / UsbMassStorage / Dxe / UsbMassStorageHelper.c
index eb7a8bb63a44373fce6505d2464135d3fea54f07..6483601b2bdc5fb4fd6d84f6402b063fd2f6b05f 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \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
@@ -348,7 +348,7 @@ USBFloppyRead10 (
 \r
       ByteCount               = SectorCount * BlockSize;\r
 \r
-      TimeOut                 = (UINT16) (SectorCount * USBFLPTIMEOUT);\r
+      TimeOut                 = (UINT16) (SectorCount * USBDATATIMEOUT);\r
 \r
 \r
       Status = USBFloppyPacketCommand (\r
@@ -780,7 +780,7 @@ USBFloppyWrite10 (
 \r
       ByteCount               = SectorCount * BlockSize;\r
 \r
-      TimeOut                 = (UINT16) (SectorCount * USBFLPTIMEOUT);\r
+      TimeOut                 = (UINT16) (SectorCount * USBDATATIMEOUT);\r
 \r
       Status = USBFloppyPacketCommand (\r
                  UsbFloppyDevice,\r