]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/EhciUrb.h
Save original PCI attributes in start() function and restore it in Stop() for those...
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciUrb.h
index a2a5826de8e4c73c8e7fb1b1a8c9117c439e832f..a1dc8e6c0a3b90f918e13c0a7971be2d643c1b91 100644 (file)
@@ -83,7 +83,7 @@ enum {
   QH_MICROFRAME_6         = 0x40,\r
   QH_MICROFRAME_7         = 0x80,\r
 \r
-  USB_ERR_SHORT_PACKET    = 0x200,\r
+  USB_ERR_SHORT_PACKET    = 0x200\r
 };\r
 \r
 //\r
@@ -180,13 +180,13 @@ typedef struct _USB_ENDPOINT {
 // Software QTD strcture, this is used to manage all the\r
 // QTD generated from a URB. Don't add fields before QtdHw.\r
 //\r
-typedef struct _EHC_QTD {\r
+struct _EHC_QTD {\r
   QTD_HW                  QtdHw;\r
   UINT32                  Signature;\r
   LIST_ENTRY              QtdList;   // The list of QTDs to one end point\r
   UINT8                   *Data;     // Buffer of the original data\r
   UINTN                   DataLen;   // Original amount of data in this QTD\r
-} EHC_QTD;\r
+};\r
 \r
 //\r
 // Software QH structure. All three different transaction types\r
@@ -203,19 +203,19 @@ typedef struct _EHC_QTD {
 // transfer is supported. A dummy QH is linked to EHCI AsyncListAddr\r
 // as the reclamation header. New transfer is inserted after this QH.\r
 //\r
-typedef struct _EHC_QH {\r
+struct _EHC_QH {\r
   QH_HW                   QhHw;\r
   UINT32                  Signature;\r
   EHC_QH                  *NextQh;    // The queue head pointed to by horizontal link\r
   LIST_ENTRY              Qtds;       // The list of QTDs to this queue head\r
   UINTN                   Interval;\r
-} EHC_QH;\r
+};\r
 \r
 //\r
 // URB (Usb Request Block) contains information for all kinds of\r
 // usb requests.\r
 //\r
-typedef struct _URB {\r
+struct _URB {\r
   UINT32                          Signature;\r
   LIST_ENTRY                      UrbList;\r
 \r
@@ -244,7 +244,7 @@ typedef struct _URB {
   UINT32                          Result;\r
   UINTN                           Completed;    // completed data length\r
   UINT8                           DataToggle;\r
-} URB;\r
+};\r
 \r
 \r
 \r