From owner-cvs-src@FreeBSD.ORG Tue Mar 8 02:47:19 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 182FF16A4CE; Tue, 8 Mar 2005 02:47:19 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0160943D39; Tue, 8 Mar 2005 02:47:19 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j282lIbg044482; Tue, 8 Mar 2005 02:47:18 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j282lI4W044481; Tue, 8 Mar 2005 02:47:18 GMT (envelope-from iedowse) Message-Id: <200503080247.j282lI4W044481@repoman.freebsd.org> From: Ian Dowse Date: Tue, 8 Mar 2005 02:47:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb ehci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 02:47:19 -0000 iedowse 2005-03-08 02:47:18 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c Log: Fix the silly bug that prevented most EHCI interrupt transfers from ever working correctly: the code was linking the QHs together but then immediately overwriting the "next" pointers. Oops. Also initialise qh_endphub, since the EHCI spec says that we should always set the pipe multiplier field to something sensible. This appears to make basic split transactions work, so enable split transactions for control, bulk and interrupt pipes (split isochronous transfers are not yet implemented). It should now be possible to use USB1 devices even when they are connected through a USB2 hub. Revision Changes Path 1.30 +3 -5 src/sys/dev/usb/ehci.c