Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/usb



Module Name:    src
Committed By:   mrg
Date:           Thu May  9 02:43:35 UTC 2019

Modified Files:
        src/sys/dev/usb: u3g.c uark.c ubsa.c ubsa_common.c ubsavar.h uchcom.c
            ucom.c ucomvar.h uftdi.c ugensa.c uhmodem.c uipaq.c ukyopon.c
            umcs.c umct.c umodem.c umodem_common.c umodemvar.h uplcom.c uslsa.c
            uvisor.c uvscom.c

Log Message:
clean up ucom parents some more:
- it's always "bool sc_dying" now, with true/false
- heavy use of static functions
- remove all ucom parent ca_activate callbacks.  they're never called.
- callbacks should generally do little to nothing if sc_dying is set
- open resources should be released in detach after setting sc_dying
- don't complain about usbd_abort_pipe() or usbd_close_pipe() failure
- when releasing resources, zero the softc member as well
- remove ucom_methods members no longer destined to be filled in
- generally, DPRINTF() before sc_dying short circuit
- use EIO when dying, not ENXIO or 0
- add some ucom_open() callbacks that simply return EIO if dying


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/usb/u3g.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/usb/uark.c
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/usb/ubsa.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/usb/ubsa_common.c \
    src/sys/dev/usb/umodemvar.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/ubsavar.h
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/usb/uchcom.c
cvs rdiff -u -r1.124 -r1.125 src/sys/dev/usb/ucom.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/usb/ucomvar.h
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/usb/uftdi.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/usb/ugensa.c src/sys/dev/usb/umct.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/usb/uhmodem.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/usb/uipaq.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/usb/ukyopon.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/umcs.c
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/usb/umodem.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/usb/umodem_common.c
cvs rdiff -u -r1.83 -r1.84 src/sys/dev/usb/uplcom.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/usb/uslsa.c
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/usb/uvisor.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/usb/uvscom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index