mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +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:
parent
419e45a723
commit
d8b00f839d
|
@ -3439,7 +3439,7 @@ ehci_probe(PDRIVER_OBJECT drvr_obj, PUNICODE_STRING reg_path, PUSB_DEV_MANAGER d
|
||||||
pdev = NULL;
|
pdev = NULL;
|
||||||
|
|
||||||
//scan the bus to find ehci controller
|
//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++)
|
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;
|
pdev = NULL;
|
||||||
|
|
||||||
//scan the bus to find uhci controller
|
//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++)
|
for(i = 0; i < PCI_MAX_DEVICES; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue