summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c
diff options
context:
space:
mode:
authorhfang <hfang@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-25 08:59:02 +0000
committerhfang <hfang@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-25 08:59:02 +0000
commit97404058f1752da8fa2ba531e592491c65cb29f1 (patch)
tree59fc6597872e21b9ca9439fe2b113435cc14ef85 /IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c
parente1b4bd1486ae919d1cb2b60dbbf311f08c95f99d (diff)
downloadedk2-platforms-97404058f1752da8fa2ba531e592491c65cb29f1.tar.xz
Fixup for review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7120 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c
index 5b6f0de60f..e864eccc31 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c
@@ -437,7 +437,7 @@ IDEBusDriverBindingStart (
//
// Check whether the configuration options allow this device
//
- if (!(ConfigurationOptions & (1 << (IdeChannel * 2 + IdeDevice)))) {
+ if ((ConfigurationOptions & (1 << (IdeChannel * 2 + IdeDevice))) == 0) {
continue;
}
@@ -822,7 +822,7 @@ ErrorExit:
Stop this driver on Controller Handle.
@param This Protocol instance pointer.
- @param DeviceHandle Handle of device to stop driver on
+ @param Controller Handle of device to stop driver on
@param NumberOfChildren Not used
@param ChildHandleBuffer Not used