UsbDk: Add support for USB 3.0 controllers

Add search strategy for USB3 controllers:

- Standard Microsoft controller
- Renesas controller (NUSB3)
- Intel controller (IUSB3)

Signed-off-by: Jay.Han <ezzzehxx@gmail.com>
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
Jay.han 2015-05-31 10:50:34 +03:00 • committed by Dmitry Fleytman
parent 29814251f4
commit 4dbbf0c86c

View file

@ -485,7 +485,11 @@ 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();