From owner-cvs-all Mon Sep 30 10:50:21 2002 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 1DE3337B401; Mon, 30 Sep 2002 10:50:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4C8E43E42; Mon, 30 Sep 2002 10:50:19 -0700 (PDT) (envelope-from joe@FreeBSD.org) Received: from freefall.freebsd.org (joe@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8UHoJCo042253; Mon, 30 Sep 2002 10:50:19 -0700 (PDT) (envelope-from joe@freefall.freebsd.org) Received: (from joe@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8UHoJ8E042245; Mon, 30 Sep 2002 10:50:19 -0700 (PDT) Message-Id: <200209301750.g8UHoJ8E042245@freefall.freebsd.org> From: Josef Karthauser Date: Mon, 30 Sep 2002 10:50:19 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ohci.c ohcivar.h uhci.c uhcivar.h usb_port.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG joe 2002/09/30 10:50:19 PDT Modified files: sys/dev/usb ohci.c ohcivar.h uhci.c uhcivar.h usb_port.h Log: In rev 1.51 of usb_port.h I switched over to using the USB_USE_SOFTINTR code path to fix a bug in the non USB_USE_SOFTINTR path that caused the usb bus to hang and generally misbehave when devices were unplugged. In the process though it also reduced the throughput of usb devices because of a less than optimal implementation under FreeBSD. This commit fixes the non USB_USE_SOFTINTR code in uhci and ohci so that it works again, and switches back to using this code path. The uhci code has been tested, but the ohci code hasn't. It's essentially the same anyway and so I don't envisage any difficulties. Code for uhci submitted by: Maksim Yevmenkin Revision Changes Path 1.113 +6 -0 src/sys/dev/usb/ohci.c 1.33 +3 -0 src/sys/dev/usb/ohcivar.h 1.127 +6 -0 src/sys/dev/usb/uhci.c 1.34 +3 -0 src/sys/dev/usb/uhcivar.h 1.56 +3 -0 src/sys/dev/usb/usb_port.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message