[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/22646 CVS commit: src/sys/dev/usb
The following reply was made to PR kern/22646; it has been noted by GNATS.
From: "Nick Hudson" <skrll%netbsd.org@localhost>
Subject: PR/22646 CVS commit: src/sys/dev/usb
Date: Wed, 9 Dec 2020 07:10:01 +0000
Module Name: src
Committed By: skrll
Date: Wed Dec 9 07:10:01 UTC 2020
src/sys/dev/usb: ohci.c ohcivar.h
Restructure the abort code for TD based transfers (ctrl, bulk, intr).
In PR kern/22646 some TDs can be on the done queue when the abort start
and, if this is the case, they need to processed after the WDH interrupt.
Instead of waiting for WDH we release TDs that have been touched by the
HC and replace them with new ones. Once WDH happens the floating TDs
will be returned to the free list.
Also addresses the issue seen in PR kern/55835
Thanks to both Andreas Gustafsson and Edgar FuÃ? for testing. Apologies to
Andreas Gustafsson for not committing this to HEAD for 4y6m.w
To generate a diff of this commit:
cvs rdiff -u -r1.310 -r1.311 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/usb/ohcivar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |