Reviewed-by: Erik Bjorge <erik.c.bjo...@intel.com>

> -----Original Message-----
> From: Leahy, Leroy P
> Sent: Friday, March 4, 2016 9:01 AM
> To: Tian, Feng <feng.t...@intel.com>; Zeng, Star <star.z...@intel.com>;
> edk2-devel@lists.01.org; Bjorge, Erik C <erik.c.bjo...@intel.com>
> Cc: Leahy, Leroy P <leroy.p.le...@intel.com>
> Subject: [PATCH 5/9] MdeModulePkg/PciSioSerialDxe: Set RTS and DTR by
> default
> 
> Usually the debug serial connection only uses two wires.  However when
> the controller at the other end is honoring hardware flow control
> signals, it is necessary for the PciSioSerialDxe to properly generate
> the necessary signals.  Turn on DTR and RTS during reset.  Allow the
> higher level application control these signals after the fact with the
> SetControl interface.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Lee Leahy <leroy.p.le...@intel.com>
> ---
>  MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c
> b/MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c
> index f1870f3..07ee424 100644
> --- a/MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c
> +++ b/MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c
> @@ -574,7 +574,7 @@ SerialReset (
>    //
>    // Go set the current control bits
>    //
> -  Control = 0;
> +  Control = EFI_SERIAL_REQUEST_TO_SEND |
> EFI_SERIAL_DATA_TERMINAL_READY;
>    if (SerialDevice->HardwareFlowControl) {
>      Control |= EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE;
>    }
> --
> 1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to