summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
index c41c1272fc..ce041b9f79 100644
--- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
+++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
@@ -167,7 +167,7 @@ struct _USB_DEVICE {
//
UINT8 Speed;
UINT8 Address;
- UINT8 MaxPacket0;
+ UINT32 MaxPacket0;
//
// The device's descriptors and its configuration
@@ -189,6 +189,7 @@ struct _USB_DEVICE {
UINT8 ParentAddr;
USB_INTERFACE *ParentIf;
UINT8 ParentPort; // Start at 0
+ UINT8 Tier;
};
//
@@ -249,7 +250,7 @@ struct _USB_BUS {
// An array of device that is on the bus. Devices[0] is
// for root hub. Device with address i is at Devices[i].
//
- USB_DEVICE *Devices[USB_MAX_DEVICES];
+ USB_DEVICE *Devices[256];
//
// USB Bus driver need to control the recursive connect policy of the bus, only those wanted
@@ -746,6 +747,7 @@ UsbBusControllerDriverStop (
IN EFI_HANDLE *ChildHandleBuffer
);
+extern UINT16 mMaxUsbDeviceNum;
extern EFI_USB_IO_PROTOCOL mUsbIoProtocol;
extern EFI_DRIVER_BINDING_PROTOCOL mUsbBusDriverBinding;
extern EFI_COMPONENT_NAME_PROTOCOL mUsbBusComponentName;