- Scan three PCI buses in the legacy USB driver instead of 2. Fixes UHCI/EHCI detection issues in VMWare Workstation 6.5 and higher (Emulated UHCI is located on bus 2).

svn path=/trunk/; revision=39755
This commit is contained in:
Aleksey Bragin 2009-02-25 20:37:50 +00:00
parent 419e45a723
commit d8b00f839d
2 changed files with 2 additions and 2 deletions

View file

@ -3439,7 +3439,7 @@ ehci_probe(PDRIVER_OBJECT drvr_obj, PUNICODE_STRING reg_path, PUSB_DEV_MANAGER d
pdev = NULL;
//scan the bus to find ehci controller
for(bus = 0; bus < 2; bus++) /*enum only bus0 and bus1 */
for(bus = 0; bus < 3; bus++) /* enum bus0-bus2 */
{
for(i = 0; i < PCI_MAX_DEVICES; i++)
{

View file

@ -627,7 +627,7 @@ uhci_probe(PDRIVER_OBJECT drvr_obj, PUNICODE_STRING reg_path, PUSB_DEV_MANAGER d
pdev = NULL;
//scan the bus to find uhci controller
for(bus = 0; bus < 2; bus++) /*enum only bus0 and bus1 */
for(bus = 0; bus < 3; bus++) /* enum bus0-bus2 */
{
for(i = 0; i < PCI_MAX_DEVICES; i++)
{