summaryrefslogtreecommitdiffstats
path: root/DuetPkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-12 08:55:02 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-12-12 08:55:02 +0000
commit1c8bea11af6e34915e21c70ac63cee9273602b0e (patch)
tree3fe4ac7f1bfe2fad39d115b88645613d84889631 /DuetPkg
parentf8ee20c982bab5764f61f987a483a8e0aac47e3a (diff)
downloadedk2-1c8bea11af6e34915e21c70ac63cee9273602b0e.tar.gz
edk2-1c8bea11af6e34915e21c70ac63cee9273602b0e.tar.bz2
edk2-1c8bea11af6e34915e21c70ac63cee9273602b0e.zip
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
Diffstat (limited to 'DuetPkg')
-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;
}