CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/03/08 13:24:15
Modified files:
sys/dev/usb : ucom.c
Log message:
Rework ucom(4) a bit. The logic of RTS follows DTR should only be done
when the port is initialized (with a tcsetattr() call) but not on every
changed of DTR (especially those caused by other tty ioctls).
Fixes firmware upload on various microcontroller boards that use DTR and
RTS as signaling lines to reset the device and enter the bootloader.
Tested by tracey@, OK deraadt@