On Tuesday 08 May 2007, Alan Stern wrote: > > It's not allowed to be active at that point. The flag being > > tested is set only by usb_clear_halt() > > More accurately, the flag being tested (i.e., the toggle value) is > _cleared_ only by usb_clear_halt() and usb_enable_endpoint(). ohci-hcd > sets the toggle in the next line, and it remains set until the endpoint is > cleared or re-enabled.
Yes, that's what I meant. OHCI must use negative logic there: usb_clear_halt() sets an active-low indicator. Kind of like most shared IRQ lines, where that one conditional handles and acks the IRQ. ;) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel