From 1c8bea11af6e34915e21c70ac63cee9273602b0e Mon Sep 17 00:00:00 2001 From: klu2 Date: Sat, 12 Dec 2009 08:55:02 +0000 Subject: Fix a obvious bug for judge whether the PPB support ISA git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9557 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DuetPkg/PciBusNoEnumerationDxe') 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; } -- cgit v1.2.3