diff options
author | Julien Grall <julien.grall@linaro.org> | 2017-11-30 01:28:21 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2017-11-30 09:11:37 +0800 |
commit | b462f25a21e17e3daf3cec880d3de2a6193af8a2 (patch) | |
tree | 0a63ee98c0f2b939cace3c38e0c87fc65fefaddb /MdeModulePkg/Universal/SerialDxe | |
parent | f1f7190bf3bf932b52287258a65c366ed5bdce13 (diff) | |
download | edk2-b462f25a21e17e3daf3cec880d3de2a6193af8a2.tar.gz edk2-b462f25a21e17e3daf3cec880d3de2a6193af8a2.tar.bz2 edk2-b462f25a21e17e3daf3cec880d3de2a6193af8a2.zip |
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>
Diffstat (limited to 'MdeModulePkg/Universal/SerialDxe')
-rw-r--r-- | MdeModulePkg/Universal/SerialDxe/SerialIo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/SerialDxe/SerialIo.c b/MdeModulePkg/Universal/SerialDxe/SerialIo.c index 964d0329f4..19fc889c25 100644 --- a/MdeModulePkg/Universal/SerialDxe/SerialIo.c +++ b/MdeModulePkg/Universal/SerialDxe/SerialIo.c @@ -67,7 +67,7 @@ SerialReset ( stop bits.
@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
@@ -265,7 +265,7 @@ SerialReset ( stop bits.
@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
|