]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.h
Improve coding style in MdeModulePkg.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / UhciDxe / UhciSched.h
index b4b7c4c0d6a0ee93ec961653e35907bdc6e991d6..310dfa0ab26cb173f35c0ed0cd9be7b672ba4a95 100644 (file)
@@ -2,7 +2,7 @@
 \r
   The definition for EHCI register operation routines.\r
 \r
-Copyright (c) 2007, 2009, Intel Corporation\r
+Copyright (c) 2007 - 2010, 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
@@ -17,21 +17,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define _EFI_UHCI_SCHED_H_\r
 \r
 \r
-typedef enum {\r
-  UHCI_ASYNC_INT_SIGNATURE = SIGNATURE_32 ('u', 'h', 'c', 'a'),\r
-\r
-  //\r
-  // The failure mask for USB transfer return status. If any of\r
-  // these bit is set, the transfer failed. EFI_USB_ERR_NOEXECUTE\r
-  // and EFI_USB_ERR_NAK are not considered as error condition:\r
-  // the transfer is still going on.\r
-  //\r
-  USB_ERR_FAIL_MASK = EFI_USB_ERR_STALL   | EFI_USB_ERR_BUFFER |\r
-                      EFI_USB_ERR_BABBLE  | EFI_USB_ERR_CRC    |\r
-                      EFI_USB_ERR_TIMEOUT | EFI_USB_ERR_BITSTUFF |\r
-                      EFI_USB_ERR_SYSTEM\r
+#define UHCI_ASYNC_INT_SIGNATURE  SIGNATURE_32 ('u', 'h', 'c', 'a')\r
+//\r
+// The failure mask for USB transfer return status. If any of\r
+// these bit is set, the transfer failed. EFI_USB_ERR_NOEXECUTE\r
+// and EFI_USB_ERR_NAK are not considered as error condition:\r
+// the transfer is still going on.\r
+//\r
+#define USB_ERR_FAIL_MASK  (EFI_USB_ERR_STALL   | EFI_USB_ERR_BUFFER | \\r
+                            EFI_USB_ERR_BABBLE  | EFI_USB_ERR_CRC    | \\r
+                            EFI_USB_ERR_TIMEOUT | EFI_USB_ERR_BITSTUFF | \\r
+                            EFI_USB_ERR_SYSTEM)\r
 \r
-}UHCI_ERR_FAIL_MASK;\r
 \r
 //\r
 // Structure to return the result of UHCI QH execution.\r