[Spice-devel] [PATCH usbdk] UsbDk: Add support for USB 3.0 controllers by MS, Intel and Renesas

Jay.han ezzzehxx at gmail.com
Wed May 27 18:23:42 PDT 2015


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 at gmail.com>
---
 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150528/b3ad50bb/attachment.html>


More information about the Spice-devel mailing list