summaryrefslogtreecommitdiff
path: root/OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c
diff options
context:
space:
mode:
Diffstat (limited to 'OptionRomPkg/AtapiPassThruDxe/AtapiPassThru.c')
-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 ac12be4..f3288eb 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;
}