Add search strategy on USB3 controller, NUSB3
represents Renesas Electronics usb 3 controller, IUSB3 represents to Intel
USB 3 controller
Signed-off-by: Jay.Han <ezzzehxx@xxxxxxxxx>
---
UsbDk/FilterDevice.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/UsbDk/FilterDevice.cpp b/UsbDk/FilterDevice.cpp
index b4433db..e02dd98 100644
--- a/UsbDk/FilterDevice.cpp
+++ b/UsbDk/FilterDevice.cpp
@@ -485,7 +485,9 @@ bool CUsbDkFilterDevice::CStrategist::SelectStrategy(PDEVICE_OBJECT DevObj)
DevID->Dump();
// 2. Root hubs -> Hub strategy
- if ((DevID->Match(L"USB\\ROOT_HUB") || DevID->Match(L"USB\\ROOT_HUB20")))
+ if ((DevID->Match(L"USB\\ROOT_HUB") || DevID->Match(L"USB\\ROOT_HUB20")
+ || DevID->Match(L"USB\\ROOT_HUB30") || DevID->Match(L"NUSB3\\ROOT_HUB30")
+ || DevID->Match(L"IUSB3\\ROOT_HUB30")))
{
TraceEvents(TRACE_LEVEL_INFORMATION, TRACE_FILTERDEVICE, "%!FUNC! Assigning HUB strategy");
m_Strategy->Delete();
--
1.8.3.1
Jay.Han
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel