]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h
1) Fix a typo in EhcMoniteAsyncRequests.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / Ehci.h
index f2fdb929a979cf0a3ac605d4d2521dc8e6c44f82..85772fb30d25e6545031ff9c05daeb1cc3447bac 100644 (file)
@@ -2,7 +2,7 @@
 \r
   Provides some data struct used by EHCI controller driver.\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation\r
+Copyright (c) 2006 - 2009, 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
@@ -67,14 +67,12 @@ typedef enum {
 } EHC_TIMEOUT_EXPERIENCE_VALUE;\r
 \r
 \r
-  //\r
-  // EHC raises TPL to TPL_NOTIFY to serialize all its operations\r
-  // to protect shared data structures.\r
-  //\r
+//\r
+// EHC raises TPL to TPL_NOTIFY to serialize all its operations\r
+// to protect shared data structures.\r
+//\r
 #define  EHC_TPL                TPL_NOTIFY\r
 \r
-#define  USB2_HC_DEV_SIGNATURE  SIGNATURE_32 ('e', 'h', 'c', 'i')\r
-\r
 //\r
 //Iterate through the doule linked list. NOT delete safe\r
 //\r
@@ -99,7 +97,8 @@ typedef enum {
 #define EHC_REG_BIT_IS_SET(Ehc, Offset, Bit) \\r
           (EHC_BIT_IS_SET(EhcReadOpReg ((Ehc), (Offset)), (Bit)))\r
 \r
-#define EHC_FROM_THIS(a)   CR(a, USB2_HC_DEV, Usb2Hc, USB2_HC_DEV_SIGNATURE)\r
+#define USB2_HC_DEV_SIGNATURE  SIGNATURE_32 ('e', 'h', 'c', 'i')\r
+#define EHC_FROM_THIS(a)       CR(a, USB2_HC_DEV, Usb2Hc, USB2_HC_DEV_SIGNATURE)\r
 \r
 struct _USB2_HC_DEV {\r
   UINTN                     Signature;\r