Source-Changes archive

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

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



Module Name:    src
Committed By:   martin
Date:           Sun Mar  1 12:38:59 UTC 2020

Modified Files:
        src/sys/dev/usb [netbsd-9]: umass.c

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

        sys/dev/usb/umass.c: revision 1.177
        sys/dev/usb/umass.c: revision 1.178
        sys/dev/usb/umass.c: revision 1.179

Abort default pipe too on detach before detaching children.

This ensures that pending xfers on the default pipe will be aborted
before we wait for children, which, in the case of scsibus -> sd,
means waiting for pending xfers to complete -- xfers that may never
complete if something is wedged.

Consolidate logic to call the transfer callback.
No functional change intended.

Make sure the umass transfer callback is run in error branches.


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.175.2.1 src/sys/dev/usb/umass.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