]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.h
modify coding style to pass ecc tool
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbMassStorageDxe / UsbMassCbi.h
index 3d63c02fd20e1ea2c09d0d95c715fbd41f2a5281..555a789ffd70d04624dc896dcd9f38b77bff6565 100644 (file)
@@ -1,6 +1,8 @@
 /** @file\r
 \r
-Copyright (c) 2007, Intel Corporation\r
+  Defination for the USB mass storage Control/Bulk/Interrupt transport.\r
+\r
+Copyright (c) 2007 - 2008, 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
@@ -9,23 +11,12 @@ http://opensource.org/licenses/bsd-license.php
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-Module Name:\r
-\r
-  UsbMassCbi.h\r
-\r
-Abstract:\r
-\r
-  Defination for the USB mass storage Control/Bulk/Interrupt transpor.\r
-\r
-Revision History\r
-\r
-\r
 **/\r
 \r
 #ifndef _EFI_USBMASS_CBI_H_\r
 #define _EFI_USBMASS_CBI_H_\r
 \r
-enum {\r
+typedef enum {\r
   USB_CBI_MAX_PACKET_NUM        = 16,\r
   USB_CBI_RESET_CMD_LEN         = 12,\r
 \r
@@ -43,7 +34,7 @@ enum {
   // Usb Cbi transport timeout, set by experience\r
   //\r
   USB_CBI_RESET_DEVICE_TIMEOUT  = 1 * USB_MASS_1_SECOND\r
-};\r
+}USB_CBI_DATA;\r
 \r
 //\r
 // Put Interface at the first field is to make it easy to get by Context, which\r