diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-12 08:55:02 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-12 08:55:02 +0000 |
commit | 1c8bea11af6e34915e21c70ac63cee9273602b0e (patch) | |
tree | 3fe4ac7f1bfe2fad39d115b88645613d84889631 /DuetPkg/PciBusNoEnumerationDxe | |
parent | f8ee20c982bab5764f61f987a483a8e0aac47e3a (diff) | |
download | edk2-1c8bea11af6e34915e21c70ac63cee9273602b0e.zip edk2-1c8bea11af6e34915e21c70ac63cee9273602b0e.tar.gz edk2-1c8bea11af6e34915e21c70ac63cee9273602b0e.tar.bz2 |
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/PciBusNoEnumerationDxe')
-rw-r--r-- | DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c b/DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c index 27a525e..a21df4c 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;
}
|