mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[USBHUB]
- Partly revert 55167, it conflicts with hotplugging svn path=/branches/usb-bringup-trunk/; revision=55168
This commit is contained in:
parent
a0dc4083ad
commit
40df6bbbe4
1 changed files with 8 additions and 6 deletions
|
@ -1443,10 +1443,11 @@ RootHubInitCallbackFunction(
|
||||||
PVOID Context)
|
PVOID Context)
|
||||||
{
|
{
|
||||||
PDEVICE_OBJECT DeviceObject = (PDEVICE_OBJECT)Context;
|
PDEVICE_OBJECT DeviceObject = (PDEVICE_OBJECT)Context;
|
||||||
|
/*
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
ULONG PortId;
|
//ULONG PortId;
|
||||||
PHUB_DEVICE_EXTENSION HubDeviceExtension;
|
//PHUB_DEVICE_EXTENSION HubDeviceExtension;
|
||||||
PORT_STATUS_CHANGE StatusChange;
|
//PORT_STATUS_CHANGE StatusChange;
|
||||||
|
|
||||||
HubDeviceExtension = (PHUB_DEVICE_EXTENSION) DeviceObject->DeviceExtension;
|
HubDeviceExtension = (PHUB_DEVICE_EXTENSION) DeviceObject->DeviceExtension;
|
||||||
|
|
||||||
|
@ -1474,7 +1475,7 @@ RootHubInitCallbackFunction(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
//
|
//
|
||||||
// Send the first SCE Request
|
// Send the first SCE Request
|
||||||
//
|
//
|
||||||
|
@ -1492,7 +1493,7 @@ USBHUB_FdoHandlePnp(
|
||||||
PHUB_DEVICE_EXTENSION HubDeviceExtension;
|
PHUB_DEVICE_EXTENSION HubDeviceExtension;
|
||||||
PDEVICE_OBJECT RootHubDeviceObject;
|
PDEVICE_OBJECT RootHubDeviceObject;
|
||||||
PVOID HubInterfaceBusContext , UsbDInterfaceBusContext;
|
PVOID HubInterfaceBusContext , UsbDInterfaceBusContext;
|
||||||
PORT_STATUS_CHANGE StatusChange;
|
//PORT_STATUS_CHANGE StatusChange;
|
||||||
|
|
||||||
HubDeviceExtension = (PHUB_DEVICE_EXTENSION) DeviceObject->DeviceExtension;
|
HubDeviceExtension = (PHUB_DEVICE_EXTENSION) DeviceObject->DeviceExtension;
|
||||||
|
|
||||||
|
@ -1829,6 +1830,7 @@ USBHUB_FdoHandlePnp(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
//
|
//
|
||||||
// reset ports
|
// reset ports
|
||||||
//
|
//
|
||||||
|
@ -1854,7 +1856,7 @@ USBHUB_FdoHandlePnp(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
//
|
//
|
||||||
// Send the first SCE Request
|
// Send the first SCE Request
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue