Date: Tue, 22 Mar 2005 00:56:54 +0000 (UTC) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ehci.c ehcivar.h ohci.c ohcivar.h uhci.c uhcivar.h Message-ID: <200503220056.j2M0usEq098798@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2005-03-22 00:56:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/dev/usb ehci.c ehcivar.h ohci.c ohcivar.h uhci.c uhcivar.h Log: MFC: handle concurrent attempts to abort the same transfer, by sleeping if necessary and prioritising normal abort requests over timeouts. This fixes crashes that occur when a transfer is aborted after it has timed out but before the timeout processing completes, as was quite frequently seen when lpd was printing to a USB printer. Approved by: re (kensmith) Revision Changes Path 1.14.2.8 +26 -0 src/sys/dev/usb/ehci.c 1.4.2.4 +4 -0 src/sys/dev/usb/ehcivar.h 1.144.2.4 +28 -0 src/sys/dev/usb/ohci.c 1.37.2.2 +2 -0 src/sys/dev/usb/ohcivar.h 1.154.2.5 +28 -1 src/sys/dev/usb/uhci.c 1.37.2.2 +4 -0 src/sys/dev/usb/uhcivar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503220056.j2M0usEq098798>