mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:35:45 +00:00
[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:
parent
ede324a063
commit
8df637b778
3 changed files with 75 additions and 4 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue