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:
Julien Grall 2017-11-30 01:28:21 +08:00 committed by Star Zeng
parent f1f7190bf3
commit b462f25a21
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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