dev-serial: store flow control and xon/xoff characters
commit963a7bed570ce12604a48755c78244a2b6e179b3
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 27 Oct 2020 15:04:56 +0000 (27 15:04 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Nov 2020 06:22:37 +0000 (4 07:22 +0100)
tree0a85d17943967b0af5aad8d5acdc8d2406d1f98c
parenta79f86cdbe9ccd5c3be76a9c6288d07a7716cb12
dev-serial: store flow control and xon/xoff characters

Note that whilst the device does not do anything with these values, they are
logged with trace events and stored to allow future implementation.

The default flow control is set to none at reset as documented in the Linux
ftdi_sio.h header file.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Message-id: 20201027150456.24606-9-mark.cave-ayland@ilande.co.uk
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/dev-serial.c
hw/usb/trace-events