mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[USBUHCI] Fix always-false HcFlavor checks.
Powered by clang-cl.
This commit is contained in:
parent
555eec0306
commit
fb3e2c7c8b
1 changed files with 9 additions and 9 deletions
|
@ -195,13 +195,13 @@ UhciRHPortResetComplete(IN PVOID uhciExtension,
|
|||
PortControl.PortEnableDisableChange = 1;
|
||||
WRITE_PORT_USHORT(PortControlRegister, PortControl.AsUSHORT);
|
||||
|
||||
if (UhciExtension->HcFlavor == UHCI_VIA &&
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x01 &&
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x02 &&
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x03 &&
|
||||
if (UhciExtension->HcFlavor == UHCI_VIA ||
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x01 ||
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x02 ||
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x03 ||
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x04)
|
||||
{
|
||||
DPRINT("UhciRHPortResetComplete: Via chip. FIXME\n");
|
||||
DPRINT1("UhciRHPortResetComplete: Via chip. FIXME\n");
|
||||
DbgBreakPoint();
|
||||
return;
|
||||
}
|
||||
|
@ -266,10 +266,10 @@ UhciRHSetFeaturePortReset(IN PVOID uhciExtension,
|
|||
|
||||
UhciExtension->ResetPortMask = ResetPortMask | PortBit;
|
||||
|
||||
if (UhciExtension->HcFlavor == UHCI_VIA &&
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x01 &&
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x02 &&
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x03 &&
|
||||
if (UhciExtension->HcFlavor == UHCI_VIA ||
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x01 ||
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x02 ||
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x03 ||
|
||||
UhciExtension->HcFlavor == UHCI_VIA_x04)
|
||||
{
|
||||
DPRINT1("UhciRHSetFeaturePortReset: Via chip. FIXME\n");
|
||||
|
|
Loading…
Reference in a new issue