speedtch usbatm.c,1.20,1.21 usbatm.h,1.13,1.14

castet.matthieu at free.fr castet.matthieu at free.fr
Wed Apr 27 10:37:53 EDT 2005


Hi,

Selon Roman Kagan <rkagan at mail.ru>:

> On Wed, Apr 27, 2005 at 01:09:30PM +0200, Duncan Sands wrote:
> > > Note, however, that here we use pipes under the name of endpoints, so in
> > > my first comment above I suggested to access bmAttributes in the
> > > endpoint descriptor and figure out the right pipe type to use for
> > > channel.endpoint.  But in this case there's no easy way for the driver
> > > to change its mind on which endpoint it wants to use.
> >
> > I guess you mean without it recalculating that itself?
>
> No, I thought about using static endpoint number from usbatm_driver.in
> or .out and poking at the endpoint descriptor after .bind() (that can't
> be done before .bind() because it may need to choose the proper
> altsetting).
You can do it in usb_probe so before the .bind(). That how it was done in my iso
pipe patch.

Matthieu



More information about the Usbatm mailing list