From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KU5Mc-0000V7-La for qemu-devel@nongnu.org; Fri, 15 Aug 2008 15:53:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KU5Mb-0000T0-7Y for qemu-devel@nongnu.org; Fri, 15 Aug 2008 15:53:34 -0400 Received: from [199.232.76.173] (port=50859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KU5Mb-0000Si-1O for qemu-devel@nongnu.org; Fri, 15 Aug 2008 15:53:33 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:34606) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KU5Ma-0001wj-IT for qemu-devel@nongnu.org; Fri, 15 Aug 2008 15:53:32 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH 5/5] husb: rewrite Linux host USB layer, fully async operation Date: Fri, 15 Aug 2008 20:53:26 +0100 References: <200808151524.54015.paul@codesourcery.com> <48A5D32E.2030208@kernel.org> In-Reply-To: <48A5D32E.2030208@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808152053.27587.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, Max Krasnyansky > Given that OHCI is much more complex than UHCI (both the code and the spec) > I decided to give up on OHCI, at least for now. I noticed Codesourcery > copyright on OHCI. Did you have anything to do with the OHCI implementation? Yes, I wrote the current OHCI support, based on some initial patches by Gianni. I found OHCI to be much easier to deal with than than UHCI. The low-level bits of the USB protocol are fairly nasty. UHCI is a cheap and nasty host solution, which directly exposes (and requires faking of) all the nasty low level details and timing. OHCI is a higher level interface which I found makes it much easier to actually implement things sanely in a virtual environment. > So we'd definitely need to work on OHCI if it's important for some > platforms. I consider OHCI to be important. x86 is abut the only target foolish enough to use UHCI. Paul