Skip to content

Commit

Permalink
UsbDk: Add support for USB 3.0 controllers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ezzze authored and Dmitry Fleytman committed May 31, 2015
1 parent 2981425 commit 4dbbf0c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion UsbDk/FilterDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4dbbf0c

Please sign in to comment.