summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-27 08:09:00 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-27 08:09:00 +0000
commitc7e39923c00f244a695ef06e005bb03104957e2c (patch)
tree206d2a728a9ba919c56e2d8a941fcb2162cde02d /MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
parentbd1d34eecf99184b62bf460bc0b3ba3725b9a9e7 (diff)
downloadedk2-platforms-c7e39923c00f244a695ef06e005bb03104957e2c.tar.xz
[Description]:
UsbMassStorage driver need support multi-lun feature. [Impaction]: UsbMassStorageDxe. [Reference Info]: EDK tracker 1143 - UsbMassStorage driver need support multi-lun feature. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5375 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
index 8dd7ada7d6..9b2ba5ab39 100644
--- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
+++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassBoot.c
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2007, Intel Corporation
+Copyright (c) 2007 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -163,6 +163,7 @@ UsbBootRequestSense (
EfiUsbDataIn,
&SenseData,
sizeof (USB_BOOT_REQUEST_SENSE_DATA),
+ UsbMass->Lun,
USB_BOOT_GENERAL_CMD_TIMEOUT,
&CmdResult
);
@@ -280,6 +281,7 @@ UsbBootExecCmd (
DataDir,
Data,
DataLen,
+ UsbMass->Lun,
Timeout,
&CmdResult
);