summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c
index 27a525e0d8..a21df4cec2 100644
--- a/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c
+++ b/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c
@@ -818,7 +818,7 @@ Returns:
// will block forwarding 0x100-0x3ff for each 1KB in the
// first 64KB I/O range.
//
- if (!BridgeControl & EFI_PCI_BRIDGE_CONTROL_ISA) {
+ if ((BridgeControl & EFI_PCI_BRIDGE_CONTROL_ISA) != 0) {
PciIoDevice->Attributes |= EFI_PCI_IO_ATTRIBUTE_ISA_IO;
}