[USBEHCI_NEW]

- Check if the current request type is supported (currently only control is supported, bulk will be implemented soon)
- Fix bug in IUSBRequest::CreateQueueHead
- Code runs now until first device descriptor get request (async / periodic queue not yet enabled)
- mjmartin usbehci status not yet reached
- Let the fun now begin ;)

svn path=/branches/usb-bringup/; revision=51474
This commit is contained in:
Johannes Anderwald 2011-04-28 13:13:13 +00:00
parent ede324a063
commit 8df637b778
3 changed files with 75 additions and 4 deletions

View file

@ -538,6 +538,11 @@ CUSBRequest::BuildControlTransferQueueHead(
return STATUS_INSUFFICIENT_RESOURCES;
}
//
// sanity check
//
PC_ASSERT(QueueHead);
//
// create setup packet
//
@ -773,6 +778,11 @@ CUSBRequest::CreateQueueHead(
//
QueueHead->PhysicalAddr = QueueHeadPhysicalAddress.LowPart;
//
// output queue head
//
*OutQueueHead = QueueHead;
//
// done
//