Author: fireball
Date: Wed Feb 25 23:37:50 2009
New Revision: 39755
URL:
http://svn.reactos.org/svn/reactos?rev=39755&view=rev
Log:
- 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).
Modified:
trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c
trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c [iso-8859-1] Wed Feb 25 23:37:50
2009
@@ -3439,7 +3439,7 @@
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++)
{
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/uhci.c [iso-8859-1] Wed Feb 25 23:37:50
2009
@@ -627,7 +627,7 @@
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++)
{