[USBHUB_NEW]
authorMichael Martin <michael.martin@reactos.org>
Sat, 7 May 2011 14:49:02 +0000 (14:49 +0000)
committerMichael Martin <michael.martin@reactos.org>
Sat, 7 May 2011 14:49:02 +0000 (14:49 +0000)
commite9fe271ad66a86f4217fc762d95a16a4e45e8f5d
treea9cbb224c0ca5a23769916aec0dc04a6fc083403
parent5573560a44b645289580bad83af43cf40f048046
[USBHUB_NEW]
- The lower level driver completes the SCE IRP whenever the change state has been modified for a port. When handling the SCE IRP completion only check for flags in change state. The Change flags must be cleared else the hub driver will get non stop SCE IRP completions.
- Allocate IRP from Pool vice calling IoAllocateIrp. Dont free the IRP in the completion routine as the port driver, oddly, frees them.
- GetUsbDeviceDescriptor: Remove use of MDL and use only buffer instead to make our new usbehci happy.
- When calling the interface routines, correctly use the BusContext returned from the interface instead of the RootHubPdo. This worked on windows as it just happened they were the same.
- Implement RootHubInitCallbackFunction, which only job currently is to send the first SCE IRP.
- For Start Device for child device objects fake success for now. Will be implemented later.
- Implement returning IRP_MN_QUERY_IDs, IRP_MN_QUERY_DEVICE_TEXTs and IRP_MN_QUERY_BUS_INFORMATION.
- Add basic handling for IRP_MJ_POWER.
- Misc code changes.

svn path=/branches/usb-bringup/; revision=51620
drivers/usb/usbhub_new/fdo.c
drivers/usb/usbhub_new/pdo.c
drivers/usb/usbhub_new/usbhub.c
drivers/usb/usbhub_new/usbhub.h