mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 00:54:18 +00:00
[USBEHCI]
- Apply power to the right port in SetPortFeature svn path=/trunk/; revision=67050
This commit is contained in:
parent
fa57d9894f
commit
d030b7f8a7
1 changed files with 1 additions and 1 deletions
|
@ -1171,7 +1171,7 @@ CUSBHardwareDevice::SetPortFeature(
|
||||||
// enable port power
|
// enable port power
|
||||||
//
|
//
|
||||||
Value = EHCI_READ_REGISTER_ULONG(EHCI_PORTSC + (4 * PortId)) | EHCI_PRT_POWER;
|
Value = EHCI_READ_REGISTER_ULONG(EHCI_PORTSC + (4 * PortId)) | EHCI_PRT_POWER;
|
||||||
EHCI_WRITE_REGISTER_ULONG(EHCI_PORTSC, Value);
|
EHCI_WRITE_REGISTER_ULONG(EHCI_PORTSC + (4 * PortId), Value);
|
||||||
|
|
||||||
//
|
//
|
||||||
// delay is 20 ms
|
// delay is 20 ms
|
||||||
|
|
Loading…
Reference in a new issue