]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/SerialDxe: Describe correctly EFI_DEVICE_ERROR for SetAttributes
authorJulien Grall <julien.grall@linaro.org>
Wed, 29 Nov 2017 17:28:21 +0000 (01:28 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 30 Nov 2017 01:11:37 +0000 (09:11 +0800)
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>
MdeModulePkg/Universal/SerialDxe/SerialIo.c
MdePkg/Include/Protocol/SerialIo.h

index 964d0329f4fbcc3f90992ef9f49fb167ec2d6d65..19fc889c25aff4999d975c1b9d0a4f34ca5c1b08 100644 (file)
@@ -67,7 +67,7 @@ SerialReset (
                            stop bits.\r
 \r
   @retval EFI_SUCCESS      The device was reset.\r
-  @retval EFI_DEVICE_ERROR The serial device could not be reset.\r
+  @retval EFI_DEVICE_ERROR The serial device is not functioning correctly.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -265,7 +265,7 @@ SerialReset (
                            stop bits.\r
 \r
   @retval EFI_SUCCESS      The device was reset.\r
-  @retval EFI_DEVICE_ERROR The serial device could not be reset.\r
+  @retval EFI_DEVICE_ERROR The serial device is not functioning correctly.\r
 \r
 **/\r
 EFI_STATUS\r
index 31cd46614ed0e8e90e00e482900b690174137625..84cb34364d9ee1199fb956d1863cf1b648fddca5 100644 (file)
@@ -126,7 +126,7 @@ EFI_STATUS
                            stop bits.\r
 \r
   @retval EFI_SUCCESS      The device was reset.\r
-  @retval EFI_DEVICE_ERROR The serial device could not be reset.\r
+  @retval EFI_DEVICE_ERROR The serial device is not functioning correctly.\r
 \r
 **/\r
 typedef\r