]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h
Revert "EhciDxe: Use common buffer for AsyncInterruptTransfer"
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciUrb.h
index cb3599f9d36112be382ffd37e4893d2e5b827443..02e9af81be391d873d975a68ba09d70600248ca4 100644 (file)
@@ -3,7 +3,7 @@
     This file contains URB request, each request is warpped in a\r
     URB (Usb Request Block).\r
 \r
-Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
 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
@@ -216,7 +216,6 @@ struct _URB {
   EFI_USB_DEVICE_REQUEST          *Request;     // Control transfer only\r
   VOID                            *RequestPhy;  // Address of the mapped request\r
   VOID                            *RequestMap;\r
-  BOOLEAN                         AllocateCommonBuffer;\r
   VOID                            *Data;\r
   UINTN                           DataLen;\r
   VOID                            *DataPhy;     // Address of the mapped user data\r
@@ -299,21 +298,20 @@ EhcFreeUrb (
 /**\r
   Create a new URB and its associated QTD.\r
 \r
-  @param  Ehc                   The EHCI device.\r
-  @param  DevAddr               The device address.\r
-  @param  EpAddr                Endpoint addrress & its direction.\r
-  @param  DevSpeed              The device speed.\r
-  @param  Toggle                Initial data toggle to use.\r
-  @param  MaxPacket             The max packet length of the endpoint.\r
-  @param  Hub                   The transaction translator to use.\r
-  @param  Type                  The transaction type.\r
-  @param  Request               The standard USB request for control transfer.\r
-  @param  AllocateCommonBuffer  Indicate whether need to allocate common buffer for data transfer.\r
-  @param  Data                  The user data to transfer, NULL if AllocateCommonBuffer is TRUE.\r
-  @param  DataLen               The length of data buffer.\r
-  @param  Callback              The function to call when data is transferred.\r
-  @param  Context               The context to the callback.\r
-  @param  Interval              The interval for interrupt transfer.\r
+  @param  Ehc        The EHCI device.\r
+  @param  DevAddr    The device address.\r
+  @param  EpAddr     Endpoint addrress & its direction.\r
+  @param  DevSpeed   The device speed.\r
+  @param  Toggle     Initial data toggle to use.\r
+  @param  MaxPacket  The max packet length of the endpoint.\r
+  @param  Hub        The transaction translator to use.\r
+  @param  Type       The transaction type.\r
+  @param  Request    The standard USB request for control transfer.\r
+  @param  Data       The user data to transfer.\r
+  @param  DataLen    The length of data buffer.\r
+  @param  Callback   The function to call when data is transferred.\r
+  @param  Context    The context to the callback.\r
+  @param  Interval   The interval for interrupt transfer.\r
 \r
   @return Created URB or NULL.\r
 \r
@@ -329,7 +327,6 @@ EhcCreateUrb (
   IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Hub,\r
   IN UINTN                              Type,\r
   IN EFI_USB_DEVICE_REQUEST             *Request,\r
-  IN BOOLEAN                            AllocateCommonBuffer,\r
   IN VOID                               *Data,\r
   IN UINTN                              DataLen,\r
   IN EFI_ASYNC_USB_TRANSFER_CALLBACK    Callback,\r