Source-Changes archive

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

CVS commit: [netbsd-7] src/sys/dev/usb



Module Name:    src
Committed By:   martin
Date:           Wed Aug  8 10:17:11 UTC 2018

Modified Files:
        src/sys/dev/usb [netbsd-7]: if_athn_usb.c if_atu.c if_aue.c if_axe.c
            if_axen.c if_cue.c if_otus.c if_rum.c if_run.c if_smsc.c if_udav.c
            if_upgt.c if_ural.c if_url.c if_urtw.c if_urtwn.c if_zyd.c uatp.c
            umcs.c usb.c usb_subr.c usbdi.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1626):

        sys/dev/usb/if_cue.c: revision 1.80
        sys/dev/usb/umcs.c: revision 1.11
        sys/dev/usb/umcs.c: revision 1.12
        sys/dev/usb/if_ural.c: revision 1.56
        sys/dev/usb/if_run.c: revision 1.28
        sys/dev/usb/if_ural.c: revision 1.57
        sys/dev/usb/if_run.c: revision 1.29
        sys/dev/usb/uatp.c: revision 1.16
        sys/dev/usb/uatp.c: revision 1.17
        sys/dev/usb/if_axe.c: revision 1.91
        sys/dev/usb/if_axe.c: revision 1.92
        sys/dev/usb/if_zyd.c: revision 1.49
        sys/dev/usb/if_axen.c: revision 1.15
        sys/dev/usb/if_url.c: revision 1.60
        sys/dev/usb/if_udav.c: revision 1.54
        sys/dev/usb/if_axen.c: revision 1.16
        sys/dev/usb/if_udav.c: revision 1.55
        sys/dev/usb/if_athn_usb.c: revision 1.28
        sys/dev/usb/if_athn_usb.c: revision 1.29
        sys/dev/usb/if_urtw.c: revision 1.16
        sys/dev/usb/if_urtw.c: revision 1.17
        sys/dev/usb/if_cue.c: revision 1.79
        sys/dev/usb/if_rum.c: revision 1.62
        sys/dev/usb/if_urtwn.c: revision 1.61
        sys/dev/usb/if_rum.c: revision 1.63
        sys/dev/usb/if_urtwn.c: revision 1.63
        sys/dev/usb/usb.c: revision 1.170
        sys/dev/usb/usb.c: revision 1.171
        sys/dev/usb/if_smsc.c: revision 1.35
        sys/dev/usb/if_smsc.c: revision 1.36
        sys/dev/usb/if_zyd.c: revision 1.50
        sys/dev/usb/if_aue.c: revision 1.144
        sys/dev/usb/if_aue.c: revision 1.145
        sys/dev/usb/usb_subr.c: revision 1.225
        sys/dev/usb/usb_subr.c: revision 1.226
        sys/dev/usb/if_upgt.c: revision 1.21
        sys/dev/usb/usbdi.h: revision 1.93
        sys/dev/usb/if_upgt.c: revision 1.22
        sys/dev/usb/if_url.c: revision 1.59
        sys/dev/usb/usbdi.h: revision 1.95
        sys/dev/usb/if_otus.c: revision 1.34
        sys/dev/usb/if_atu.c: revision 1.62
        sys/dev/usb/if_otus.c: revision 1.35
        sys/dev/usb/if_atu.c: revision 1.63

New function usb_rem_task_wait(dev, task, queue).

If task is scheduled to run, removes it from the queue.  If it may
have already begun to run, waits for it to complete.  Caller must
guarantee it will not switch to another queue.  If caller guarantees
it will not be scheduled again, then usb_rem_task_wait guarantees it
is not running on return.

This will enable us to fix a litany of bugs in detach where we
currently fail to wait for a pending task.

Use usb_rem_task_wait in various drivers.


To generate a diff of this commit:
cvs rdiff -u -r1.6.6.3 -r1.6.6.4 src/sys/dev/usb/if_athn_usb.c
cvs rdiff -u -r1.49.10.2 -r1.49.10.3 src/sys/dev/usb/if_atu.c
cvs rdiff -u -r1.132.2.2 -r1.132.2.3 src/sys/dev/usb/if_aue.c
cvs rdiff -u -r1.67.2.3 -r1.67.2.4 src/sys/dev/usb/if_axe.c
cvs rdiff -u -r1.3.2.3 -r1.3.2.4 src/sys/dev/usb/if_axen.c
cvs rdiff -u -r1.68.2.2 -r1.68.2.3 src/sys/dev/usb/if_cue.c
cvs rdiff -u -r1.25.4.2 -r1.25.4.3 src/sys/dev/usb/if_otus.c
cvs rdiff -u -r1.48.4.2 -r1.48.4.3 src/sys/dev/usb/if_rum.c
cvs rdiff -u -r1.10.4.3 -r1.10.4.4 src/sys/dev/usb/if_run.c
cvs rdiff -u -r1.19.2.4 -r1.19.2.5 src/sys/dev/usb/if_smsc.c
cvs rdiff -u -r1.43.2.2 -r1.43.2.3 src/sys/dev/usb/if_udav.c
cvs rdiff -u -r1.12.2.2 -r1.12.2.3 src/sys/dev/usb/if_upgt.c
cvs rdiff -u -r1.44.12.3 -r1.44.12.4 src/sys/dev/usb/if_ural.c
cvs rdiff -u -r1.48.2.2 -r1.48.2.3 src/sys/dev/usb/if_url.c
cvs rdiff -u -r1.6.4.2 -r1.6.4.3 src/sys/dev/usb/if_urtw.c
cvs rdiff -u -r1.34.2.4 -r1.34.2.5 src/sys/dev/usb/if_urtwn.c
cvs rdiff -u -r1.36.12.2 -r1.36.12.3 src/sys/dev/usb/if_zyd.c
cvs rdiff -u -r1.10.2.2 -r1.10.2.3 src/sys/dev/usb/uatp.c
cvs rdiff -u -r1.7.6.2 -r1.7.6.3 src/sys/dev/usb/umcs.c
cvs rdiff -u -r1.154.2.3 -r1.154.2.4 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.196.4.4 -r1.196.4.5 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.90.2.1 -r1.90.2.2 src/sys/dev/usb/usbdi.h

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