Module Name: src Committed By: skrll Date: Sun Nov 6 11:50:54 UTC 2016
Modified Files: src/sys/dev/usb [nick-nhusb]: ucom.c Log Message: Reduce the scope of the softc lock further and track device state via sc_state. All ucom methods apart from ucom_{read,write} are called without the softc lock held. ucom_close is called on last close only to match ucom_open being called on first open only. Fix ucom_detach where refcnt wasn't being decremented. More DEBUG. XXX still not sure where tty_lock needs to be held. To generate a diff of this commit: cvs rdiff -u -r1.108.2.30 -r1.108.2.31 src/sys/dev/usb/ucom.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.