[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0806251023100.2578-100000@iolanthe.rowland.org>
Date: Wed, 25 Jun 2008 10:24:53 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: "Perez-Gonzalez, Inaky" <inaky.perez-gonzalez@...el.com>
cc: David Vrabel <david.vrabel@....com>,
Kernel development list <linux-kernel@...r.kernel.org>,
AntonioLin <antonio.lin@...ormicro.com>,
<linux-usb@...r.kernel.org>
Subject: RE: Scatter-gather list constraints
On Tue, 24 Jun 2008, Perez-Gonzalez, Inaky wrote:
> >From: David Vrabel [mailto:david.vrabel@....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.
In what way would it simplify the code?
Note that usbcore already contains a scatter-gather library.
(Unfortunately the library is limited in usefulness because it needs to
run in process context.)
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists