On Monday 11 October 2004 1:25 pm, Alan Stern wrote:
> On Sun, 10 Oct 2004, David Brownell wrote:
> 
> > @@ -1981,6 +2013,8 @@
> >                 NULL, 0, HZ * USB_CTRL_SET_TIMEOUT);
> >         if (retval == 0)
> >                 usb_set_device_state(udev, USB_STATE_ADDRESS);
> > +       usb_disable_endpoint(udev, 0 + USB_DIR_OUT);
> > +       udev->epmaxpacketout[0] = udev->epmaxpacketin [0];
> >         return retval;
> >  }
> 
> 
> Interesting -- this may interact with the MS-style device initialization 
> patch.  Why did you only disable the OUT direction?

Control endpoints are bi-directional (with a single queue),
so  it should never be necessary to disable two directions
for a control endpoint (like ep0).

Secondarily, yes that's (currently) the first/only request that
has been issued to that device, so it's also not possible that
the HC or HCD cached state for ep0 IN transactions.

- Dave



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to