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

Dmitry Fleytman dmitry at daynix.com
Sun May 31 01:07:17 PDT 2015


> Date: Thu, 28 May 2015 09:23:42 +0800
> From: "Jay.han" <ezzzehxx at gmail.com>
> To: spice-devel at lists.freedesktop.org
> Subject: [Spice-devel] [PATCH usbdk] UsbDk: Add support for USB 3.0 controllers by MS, Intel and
> 	Renesas
> 
> Add search strategy on USB3 controller, NUSB3
> represents Renesas Electronics  usb 3 controller, IUSB3 represents to Intel
> USB 3 controller

Indeed this is needed in order to fully support all Usb 3.0 controllers.
Thanks for the patch, applying to my queue.

> 
> 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
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150531/445628dc/attachment.html>


More information about the Spice-devel mailing list