summaryrefslogtreecommitdiff
path: root/OptionRomPkg/AtapiPassThruDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 01:52:32 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 01:52:32 +0000
commitbc14bdb317105f282ca5e6543e97ae545dd681df (patch)
treeef82bdce16719c2dd9a9c56963324633082a347a /OptionRomPkg/AtapiPassThruDxe
parentefe08f48c555f56f16b568098e4d7047ce1e7e84 (diff)
downloadedk2-platforms-bc14bdb317105f282ca5e6543e97ae545dd681df.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OptionRomPkg/AtapiPassThruDxe')
-rw-r--r--OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
index ac12be4ee0..f3288eb4ec 100644
--- a/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
+++ b/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
@@ -163,7 +163,7 @@ Returns:
return EFI_UNSUPPORTED;
}
- if (Pci.Hdr.ClassCode[2] != PCI_CLASS_MASS_STORAGE || Pci.Hdr.ClassCode[1] != PCI_CLASS_IDE) {
+ if (Pci.Hdr.ClassCode[2] != PCI_CLASS_MASS_STORAGE || Pci.Hdr.ClassCode[1] != PCI_CLASS_MASS_STORAGE_IDE) {
Status = EFI_UNSUPPORTED;
}