mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/SerialDxe: Describe correctly EFI_DEVICE_ERROR for SetAttributes
Per the UEFIv2.7 spec, EFI_DEVICE_ERROR is returned when the serial device is not functioning correctly. Update the description to avoid confusion. Contributed-under: Tianocore Contribution Agreement 1.1 Signed-off-by: Julien Grall <julien.grall@linaro.org> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
f1f7190bf3
commit
b462f25a21
|
@ -67,7 +67,7 @@ SerialReset (
|
||||||
stop bits.
|
stop bits.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The device was reset.
|
@retval EFI_SUCCESS The device was reset.
|
||||||
@retval EFI_DEVICE_ERROR The serial device could not be reset.
|
@retval EFI_DEVICE_ERROR The serial device is not functioning correctly.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -265,7 +265,7 @@ SerialReset (
|
||||||
stop bits.
|
stop bits.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The device was reset.
|
@retval EFI_SUCCESS The device was reset.
|
||||||
@retval EFI_DEVICE_ERROR The serial device could not be reset.
|
@retval EFI_DEVICE_ERROR The serial device is not functioning correctly.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
|
|
@ -126,7 +126,7 @@ EFI_STATUS
|
||||||
stop bits.
|
stop bits.
|
||||||
|
|
||||||
@retval EFI_SUCCESS The device was reset.
|
@retval EFI_SUCCESS The device was reset.
|
||||||
@retval EFI_DEVICE_ERROR The serial device could not be reset.
|
@retval EFI_DEVICE_ERROR The serial device is not functioning correctly.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
typedef
|
typedef
|
||||||
|
|
Loading…
Reference in New Issue