EmbeddedPkg/Lan9118Dxe: Handle EFI_STATUS from PhySoftReset() & SoftReset()
- Make the function PhySoftReset() return EFI_STATUS - EFI_STATUS was treated as a signed integer by the caller which is not correct. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15630 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
42de09370f
commit
42589b9ac9
@@ -119,7 +119,7 @@ SoftReset (
|
||||
#define PHY_SOFT_RESET_CLEAR_INT BIT3
|
||||
|
||||
// Perform PHY software reset
|
||||
INT32
|
||||
EFI_STATUS
|
||||
PhySoftReset (
|
||||
UINT32 Flags,
|
||||
EFI_SIMPLE_NETWORK_PROTOCOL *Snp
|
||||
|
Reference in New Issue
Block a user