Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754882AbYFYEJb (ORCPT ); Wed, 25 Jun 2008 00:09:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751694AbYFYEJT (ORCPT ); Wed, 25 Jun 2008 00:09:19 -0400 Received: from mga09.intel.com ([134.134.136.24]:64083 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751928AbYFYEJR convert rfc822-to-8bit (ORCPT ); Wed, 25 Jun 2008 00:09:17 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.27,700,1204531200"; d="scan'208";a="299264727" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: Scatter-gather list constraints Date: Tue, 24 Jun 2008 21:02:58 -0700 Message-ID: In-Reply-To: <485FF44C.4010600@csr.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Scatter-gather list constraints Thread-Index: AcjVZFzFh/uLDhugQKOUtnxCR2wiMQBE9j/g References: <485FF44C.4010600@csr.com> From: "Perez-Gonzalez, Inaky" To: "David Vrabel" , "Alan Stern" Cc: "Kernel development list" , "AntonioLin" , X-OriginalArrivalTime: 25 Jun 2008 04:09:16.0679 (UTC) FILETIME=[3C0AD970:01C8D679] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 23 >From: David Vrabel [mailto:david.vrabel@csr.com] > >> That would be ideal. However there is no way to pass an S-G list along >> with an URB; there's no field for it in the data structure. And none >> of the existing host controller drivers support such a thing. >> >> I suppose we could add a field to struct urb and add a flag indicating >> whether the controller driver supports S-G lists. > >This is what I was thinking. That would simplify a *LOT* of WUSB wire-adapter code which now is a horrible kludge. -- Inaky -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/