[USB-BRINGUP-TRUNK]

- Fix usbohci build

svn path=/branches/usb-bringup-trunk/; revision=55032
This commit is contained in:
Cameron Gutman 2012-01-20 23:19:18 +00:00
parent 5c6676a9a6
commit d8d06f0903
4 changed files with 9 additions and 6 deletions

View file

@ -19,7 +19,6 @@ add_library(usbohci SHARED
target_link_libraries(usbohci
libcntpr
stlport
${PSEH_LIB})
if(MSVC)

View file

@ -997,7 +997,7 @@ CUSBHardwareDevice::ClearPortStatus(
ULONG PortId,
ULONG Status)
{
ULONG Value, Index = 0;
ULONG Value;
DPRINT("CUSBHardwareDevice::ClearPortStatus PortId %x Feature %x\n", PortId, Status);
@ -1383,7 +1383,6 @@ OhciDefferedRoutine(
{
CUSBHardwareDevice *This;
ULONG CStatus, Index, PortStatus;
POHCI_ENDPOINT_DESCRIPTOR EndpointDescriptor;
ULONG DoneHead;
//

View file

@ -1028,7 +1028,6 @@ CUSBDevice::SelectInterface(
IN USBD_CONFIGURATION_HANDLE ConfigurationHandle,
IN OUT PUSBD_INTERFACE_INFORMATION InterfaceInfo)
{
ULONG ConfigurationIndex = 0;
PUSB_CONFIGURATION_DESCRIPTOR Configuration;
ULONG PipeIndex;
USB_DEFAULT_PIPE_SETUP_PACKET CtrlSetup;

View file

@ -169,7 +169,6 @@ CUSBQueue::AddUSBRequest(
{
NTSTATUS Status;
ULONG Type;
KIRQL OldLevel;
POHCI_ENDPOINT_DESCRIPTOR HeadDescriptor;
POHCI_ENDPOINT_DESCRIPTOR Descriptor;
POHCI_ISO_TD CurrentDescriptor;
@ -289,6 +288,14 @@ CUSBQueue::AddUSBRequest(
PrintEndpointList(m_IsoHeadEndpointDescriptor);
}
else
{
//
// bad request type
//
Request->Release();
return STATUS_INVALID_PARAMETER;
}
//
// set descriptor active
@ -308,7 +315,6 @@ CUSBQueue::AddUSBRequest(
m_Hardware->HeadEndpointDescriptorModified(Type);
}
return STATUS_SUCCESS;
}