X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OptionRomPkg%2FAtapiPassThruDxe%2FAtapiPassThru.c;h=f3288eb4ecaeb248dbb1401278583172011885c2;hp=ac12be4ee048aed5d5406620043e568f782d2a3c;hb=bc14bdb317105f282ca5e6543e97ae545dd681df;hpb=efe08f48c555f56f16b568098e4d7047ce1e7e84 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; }