mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 11:50:30 +00:00
DM USB: xHCI: add port sharing feature
add support for xHCI port sharing feature, which enable the ability to assign different native ports to different multi-UOSes. For example: 1-2,1-2 assigned to UOS-1. 1-1,2-1 assigned to UOS-2. Change-Id: I899070f7a8a6eb23179e41e7b1f1da24c52482b2 Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com> Reviewed-by: Shuo Liu <shuo.a.liu@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -199,6 +199,8 @@ enum USB_ERRCODE {
|
||||
#define NATIVE_USBSYS_DEVDIR "/sys/bus/usb/devices"
|
||||
#define NATIVE_USB2_SPEED "480"
|
||||
#define NATIVE_USB3_SPEED "5000"
|
||||
#define USB_NATIVE_NUM_PORT 255
|
||||
#define USB_NATIVE_NUM_BUS 255
|
||||
|
||||
extern int usb_log_level;
|
||||
inline int usb_get_log_level(void) { return usb_log_level; }
|
||||
|
Reference in New Issue
Block a user