IntelFrameworkModulePkg/LegacyBios: return NotFound when IsaIo absent

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
Ruiyu Ni 2016-06-12 14:54:02 +08:00
parent 26a7ece721
commit 7053060f5f
1 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@param SioPtr Pointer to SIO data.
@retval EFI_SUCCESS It should always work.
@retval EFI_SUCCESS When SIO data is got successfully.
@retval EFI_NOT_FOUND When ISA IO interface is absent.
**/
EFI_STATUS
@ -62,7 +63,7 @@ LegacyBiosBuildSioDataFromIsaIo (
&HandleBuffer
);
if (EFI_ERROR (Status)) {
return EFI_SUCCESS;
return EFI_NOT_FOUND;
}
//
// Collect legacy information from each of the ISA controllers in the system