mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 00:54:06 +02:00
MdeModulePkg: Make the DEBUG info consistent in SNP driver.
SNP driver will print the UNDI returned StatFlags:StatCode with DEBUG macro, while in some please it uses the reverse order (StatCode:StatFlags). This patch is to make the print info consistent, that StatFlags always come first. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
This commit is contained in:
parent
868d614a85
commit
1e7b3ef63a
@ -85,7 +85,7 @@ PxeGetStatus (
|
|||||||
(EFI_D_NET,
|
(EFI_D_NET,
|
||||||
"\nSnp->undi.get_status() %xh:%xh\n",
|
"\nSnp->undi.get_status() %xh:%xh\n",
|
||||||
Snp->Cdb.StatFlags,
|
Snp->Cdb.StatFlags,
|
||||||
Snp->Cdb.StatFlags)
|
Snp->Cdb.StatCode)
|
||||||
);
|
);
|
||||||
|
|
||||||
return EFI_DEVICE_ERROR;
|
return EFI_DEVICE_ERROR;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Implementation of stopping a network interface.
|
Implementation of stopping a network interface.
|
||||||
|
|
||||||
Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed
|
This program and the accompanying materials are licensed
|
||||||
and made available under the terms and conditions of the BSD License which
|
and made available under the terms and conditions of the BSD License which
|
||||||
accompanies this distribution. The full text of the license may be found at
|
accompanies this distribution. The full text of the license may be found at
|
||||||
@ -51,8 +51,8 @@ PxeStop (
|
|||||||
DEBUG (
|
DEBUG (
|
||||||
(EFI_D_WARN,
|
(EFI_D_WARN,
|
||||||
"\nsnp->undi.stop() %xh:%xh\n",
|
"\nsnp->undi.stop() %xh:%xh\n",
|
||||||
Snp->Cdb.StatCode,
|
Snp->Cdb.StatFlags,
|
||||||
Snp->Cdb.StatFlags)
|
Snp->Cdb.StatCode)
|
||||||
);
|
);
|
||||||
|
|
||||||
return EFI_DEVICE_ERROR;
|
return EFI_DEVICE_ERROR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user