From owner-cvs-all@FreeBSD.ORG Thu Oct 19 01:15:59 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95E4616A407; Thu, 19 Oct 2006 01:15:59 +0000 (UTC) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62BB443D45; Thu, 19 Oct 2006 01:15:59 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9J1FxhY072407; Thu, 19 Oct 2006 01:15:59 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9J1FxoE072406; Thu, 19 Oct 2006 01:15:59 GMT (envelope-from iedowse) Message-Id: <200610190115.k9J1FxoE072406@repoman.freebsd.org> From: Ian Dowse Date: Thu, 19 Oct 2006 01:15:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb ehci.c if_axe.c if_udav.c if_ural.c ohci.c uhci.c usb.c usbdi.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 01:15:59 -0000 iedowse 2006-10-19 01:15:59 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c if_axe.c if_udav.c if_ural.c ohci.c uhci.c usb.c usbdi.h Log: Use a different task queue for host controller and peripheral driver tasks. Since the host controllers rely on tasks to process transfer timeouts, if a synchronous transfer from a driver was invoked from a task and timed out, it would never complete because the single task thread was stuck performing the synchronous transfer so couldn't process the timeout. This affected the axe, udav and ural drivers. Problem hardware provided by: guido Revision Changes Path 1.52 +2 -1 src/sys/dev/usb/ehci.c 1.41 +1 -1 src/sys/dev/usb/if_axe.c 1.24 +2 -2 src/sys/dev/usb/if_udav.c 1.47 +1 -1 src/sys/dev/usb/if_ural.c 1.167 +2 -1 src/sys/dev/usb/ohci.c 1.172 +2 -1 src/sys/dev/usb/uhci.c 1.111 +57 -29 src/sys/dev/usb/usb.c 1.61 +7 -3 src/sys/dev/usb/usbdi.h