diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2020-10-27 15:04:56 +0000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-11-04 07:22:37 +0100 |
commit | 963a7bed570ce12604a48755c78244a2b6e179b3 (patch) | |
tree | 0a85d17943967b0af5aad8d5acdc8d2406d1f98c /hw/usb/trace-events | |
parent | a79f86cdbe9ccd5c3be76a9c6288d07a7716cb12 (diff) |
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>
Diffstat (limited to 'hw/usb/trace-events')
-rw-r--r-- | hw/usb/trace-events | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/trace-events b/hw/usb/trace-events index 109da521cf..a3292d4624 100644 --- a/hw/usb/trace-events +++ b/hw/usb/trace-events @@ -331,3 +331,5 @@ usb_serial_unsupported_data_bits(int bus, int addr, int value) "dev %d:%u unsupp usb_serial_bad_token(int bus, int addr) "dev %d:%u bad token" usb_serial_set_baud(int bus, int addr, int baud) "dev %d:%u baud rate %d" usb_serial_set_data(int bus, int addr, int parity, int data, int stop) "dev %d:%u parity %c, data bits %d, stop bits %d" +usb_serial_set_flow_control(int bus, int addr, int index) "dev %d:%u flow control %d" +usb_serial_set_xonxoff(int bus, int addr, uint8_t xon, uint8_t xoff) "dev %d:%u xon 0x%x xoff 0x%x" |