]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h
MdeModulePkg/UsbBusDxe: Add UsbControlTransfer() error check
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbBusDxe / UsbDesc.h
index 56e8c4582f7ff2f69b5613e94fbae83bb617a44b..482a71f3386cc9d889b1551bf4f82c47a7b0ae60 100644 (file)
@@ -2,7 +2,7 @@
 \r
     Manage Usb Descriptor List\r
 \r
-Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2014, 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
@@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #ifndef _USB_DESCRIPTOR_H_\r
 #define _USB_DESCRIPTOR_H_\r
 \r
-#define USB_MAX_INTERFACE_SETTING  8\r
+#define USB_MAX_INTERFACE_SETTING  256\r
 \r
 //\r
 // The RequestType in EFI_USB_DEVICE_REQUEST is composed of\r
@@ -65,7 +65,7 @@ typedef struct {
 typedef struct {\r
   USB_INTERFACE_SETTING*        Settings[USB_MAX_INTERFACE_SETTING];\r
   UINTN                         NumOfSetting;\r
-  UINT8                         ActiveIndex;  // Index of active setting\r
+  UINTN                         ActiveIndex;  // Index of active setting\r
 } USB_INTERFACE_DESC;\r
 \r
 typedef struct {\r