diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-23 14:36:33 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-23 14:36:33 +0000 |
commit | 92870c983c6d99d31f449d8dcd729090255dda49 (patch) | |
tree | e38460d4f6151ea738bd057c8938452c5cfb61ae /MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h | |
parent | da910a42c0421a9895898537026276acf0935099 (diff) | |
download | edk2-platforms-92870c983c6d99d31f449d8dcd729090255dda49.tar.xz |
Enabling usb3.0 XHCI support.
Signed-off-by: erictian
Reviewed-by: jshi19
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12185 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h | 6 |
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;
|