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:   riastradh
Date:           Thu Aug  2 06:09:05 UTC 2018

Modified Files:
        src/sys/dev/usb: 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 usb.c
            usb_subr.c usbdi.h

Log Message:
Fix usb_rem_task_wait API.

- Return whether it removed task from queue or not.
  . True if it was on the queue and we intercepted it before it ran.
  . False if we could not intercept it: either it wasn't queued,
    or it already ran.  (Up to caller to distinguish these cases.)
- Pass an optional interlock like callout_halt.

While here, simplify.

ok mrg@


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/if_athn_usb.c \
    src/sys/dev/usb/if_run.c
cvs rdiff -u -r1.62 -r1.63 src/sys/dev/usb/if_atu.c src/sys/dev/usb/if_rum.c \
    src/sys/dev/usb/if_urtwn.c
cvs rdiff -u -r1.144 -r1.145 src/sys/dev/usb/if_aue.c
cvs rdiff -u -r1.91 -r1.92 src/sys/dev/usb/if_axe.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/if_axen.c
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/if_cue.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/usb/if_otus.c
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/usb/if_smsc.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/usb/if_udav.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/usb/if_upgt.c
cvs rdiff -u -r1.56 -r1.57 src/sys/dev/usb/if_ural.c
cvs rdiff -u -r1.59 -r1.60 src/sys/dev/usb/if_url.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/usb/if_urtw.c src/sys/dev/usb/uatp.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/usb/if_zyd.c
cvs rdiff -u -r1.170 -r1.171 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.225 -r1.226 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.94 -r1.95 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