From owner-cvs-all Wed Mar 15 14:28: 1 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6910437C05C; Wed, 15 Mar 2000 14:27:25 -0800 (PST) (envelope-from n_hibma@FreeBSD.org) Received: (from n_hibma@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA94774; Wed, 15 Mar 2000 14:27:25 -0800 (PST) (envelope-from n_hibma@FreeBSD.org) Message-Id: <200003152227.OAA94774@freefall.freebsd.org> From: Nick Hibma Date: Wed, 15 Mar 2000 14:27:25 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ohci.c ohcivar.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG n_hibma 2000/03/15 14:27:25 PST Modified files: sys/dev/usb ohci.c ohcivar.h Log: Add the TD's to the hash when they are created not when they are used. This makes it possible to handle the done queue even when the end of tail TD has ended up on the done queue as well (the xfer in this case is NULL but the next field is valid, so we simply skip that element. Make sure we mark all the handled transfers as handled. Stop using powerhooks. They are a NetBSD-ism. Revision Changes Path 1.40 +42 -17 src/sys/dev/usb/ohci.c 1.16 +4 -1 src/sys/dev/usb/ohcivar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message