#define USB_DT_INTERFACE 0x04\r
#define USB_DT_ENDPOINT 0x05\r
#define USB_DT_HUB 0x29\r
+#define USB_DT_SUPERSPEED_HUB 0x2A\r
#define USB_DT_HID 0x21\r
\r
//\r
);\r
\r
/**\r
- Judge if the port is connected with a low-speed usb device or not.\r
+ Get device speed according to port status.\r
\r
- @param PortStatus The usb port status gotten.\r
+ @param PortStatus The usb port status gotten.\r
\r
- @retval TRUE A low-speed usb device is connected with the port.\r
- @retval FALSE No low-speed usb device is connected with the port.\r
+ @return Device speed value.\r
\r
**/\r
UINTN\r
-IsPortLowSpeedDeviceAttached (\r
- IN UINT16 PortStatus\r
+PeiUsbGetDeviceSpeed (\r
+ IN UINT16 PortStatus\r
);\r
\r
/**\r