* grub-core/term/serial.c: Add option for enabling/disabling
RTS/CTS flow control.
This commit is contained in:
parent
2dc1eb6cbf
commit
9f8acdaa5d
8 changed files with 48 additions and 17 deletions
|
@ -58,6 +58,10 @@ do_real_config (struct grub_serial_port *port)
|
|||
stop_bits[port->config.stop_bits]);
|
||||
if (status != GRUB_EFI_SUCCESS)
|
||||
port->broken = 1;
|
||||
|
||||
status = efi_call_2 (port->interface->set_control_bits, port->interface,
|
||||
port->config.rtscts ? 0x4002 : 0x2);
|
||||
|
||||
port->configured = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue