* grub-core/term/serial.c: Add option for enabling/disabling

RTS/CTS flow control.
This commit is contained in:
Vladimir Serbinenko 2013-11-08 18:20:20 +01:00
parent 2dc1eb6cbf
commit 9f8acdaa5d
8 changed files with 48 additions and 17 deletions

View file

@ -125,7 +125,7 @@ real_config (struct grub_serial_port *port)
0x22, 3, 0, 0, 0);
grub_usb_control_msg (port->usbdev, GRUB_USB_REQTYPE_VENDOR_OUT,
1, 0, 0x61, 0, 0);
1, 0, port->config.rtscts ? 0x61 : 0, 0, 0);
port->configured = 1;
}