mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +00:00
[USBEHCI]: Straggler fix.
svn path=/trunk/; revision=59528
This commit is contained in:
parent
df2c8e140c
commit
89bc3d9a83
1 changed files with 0 additions and 4 deletions
|
@ -1124,15 +1124,11 @@ CUSBHardwareDevice::SetPortFeature(
|
||||||
ULONG PortId,
|
ULONG PortId,
|
||||||
ULONG Feature)
|
ULONG Feature)
|
||||||
{
|
{
|
||||||
ULONG Value;
|
|
||||||
|
|
||||||
DPRINT("CUSBHardwareDevice::SetPortFeature\n");
|
DPRINT("CUSBHardwareDevice::SetPortFeature\n");
|
||||||
|
|
||||||
if (PortId > m_Capabilities.HCSParams.PortCount)
|
if (PortId > m_Capabilities.HCSParams.PortCount)
|
||||||
return STATUS_UNSUCCESSFUL;
|
return STATUS_UNSUCCESSFUL;
|
||||||
|
|
||||||
Value = EHCI_READ_REGISTER_ULONG(EHCI_PORTSC + (4 * PortId));
|
|
||||||
|
|
||||||
if (Feature == PORT_ENABLE)
|
if (Feature == PORT_ENABLE)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue