mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
- 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:
@@ -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++)
|
||||
{
|
||||
|
||||
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user