Author: cgutman
Date: Thu Jan 26 00:11:15 2012
New Revision: 55187
URL:
http://svn.reactos.org/svn/reactos?rev=55187&view=rev
Log:
[USBHUB_NEW]
- Revert r55167 now that OHCI is fixed
- USB drives attached to an OHCI controller before boot are now enumerated without a
reconnect needed
Modified:
branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c
Modified: branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c
URL:
http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/u…
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c [iso-8859-1] Thu Jan 26
00:11:15 2012
@@ -1439,11 +1439,10 @@
PVOID Context)
{
PDEVICE_OBJECT DeviceObject = (PDEVICE_OBJECT)Context;
-/*
NTSTATUS Status;
- //ULONG PortId;
- //PHUB_DEVICE_EXTENSION HubDeviceExtension;
- //PORT_STATUS_CHANGE StatusChange;
+ ULONG PortId;
+ PHUB_DEVICE_EXTENSION HubDeviceExtension;
+ PORT_STATUS_CHANGE StatusChange;
HubDeviceExtension = (PHUB_DEVICE_EXTENSION) DeviceObject->DeviceExtension;
@@ -1471,7 +1470,7 @@
}
}
}
-*/
+
//
// Send the first SCE Request
//
@@ -1489,7 +1488,7 @@
PHUB_DEVICE_EXTENSION HubDeviceExtension;
PDEVICE_OBJECT RootHubDeviceObject;
PVOID HubInterfaceBusContext , UsbDInterfaceBusContext;
- //PORT_STATUS_CHANGE StatusChange;
+ PORT_STATUS_CHANGE StatusChange;
HubDeviceExtension = (PHUB_DEVICE_EXTENSION) DeviceObject->DeviceExtension;
@@ -1826,7 +1825,6 @@
}
else
{
-/*
//
// reset ports
//
@@ -1852,7 +1850,7 @@
}
}
}
-*/
+
//
// Send the first SCE Request
//