opnsense-src/sys/dev/usb/serial
Hans Petter Selasky 56caa9e82b umodem(4): Clear stall at every open.
Some controllers like the XHCI(4) loose track of the data toggle value when
USB receive transfers are cancelled at close. This in turn can lead to to
data loss after the next open.

To avoid data loss, make sure both the receive and transmit data toggles
get reset, before trying to read or write any data.

Differential Revision:	https://reviews.freebsd.org/D36391
Submitted by:		Dave Baukus <daveb@spectralogic.com>
Sponsored by:	NVIDIA Networking

(cherry picked from commit 40e43b056d)
2022-09-06 10:43:17 +02:00
..
u3g.c u3g(4): Add more USB IDs. 2022-09-02 11:07:01 +02:00
uark.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
ubsa.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
ubser.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
uchcom.c uchcom(4): Add new USB ID. 2022-06-20 13:08:39 +02:00
ucycom.c hid: Chase for HID function name changes in existing USB HID drivers 2021-01-08 02:18:42 +03:00
ufoma.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
uftdi.c uftdi(4): Add new USB ID. 2022-08-29 14:03:49 +02:00
uftdi_reg.h Add support to the uftdi driver for reading and writing the serial eeprom 2015-08-06 19:29:26 +00:00
ugensa.c Add support for Google Cr50 (GSC) Closed Case Debugging UART interfaces to 2020-10-04 17:17:16 +00:00
uipaq.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
ulpt.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
umcs.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
umcs.h usb: Remove some double words in source code comments 2022-04-14 08:15:51 +02:00
umct.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
umodem.c umodem(4): Clear stall at every open. 2022-09-06 10:43:17 +02:00
umoscom.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
uplcom.c Add support for PL2303HXN to uplcom(4). 2021-01-07 15:35:35 +01:00
usb_serial.c ucom(4): Make sure the open routine is executed synchronously. 2022-09-06 10:43:17 +02:00
usb_serial.h Make it possible (controlled via sysctl, enabled by default) to mark 2018-04-25 15:28:46 +00:00
uslcom.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
uvisor.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
uvscom.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00