On Friday 11 February 2005 7:39 am, Alan Stern wrote:
> 
>  How about this patch instead?
> 
> Alan Stern

I like it much better.  As doc, it might even still make 2.6.11 ... ;)

> 
> ===== Documentation/usb/error-codes.txt 1.15 vs edited =====
> --- 1.15/Documentation/usb/error-codes.txt    2005-01-18 15:22:31 -05:00
> +++ edited/Documentation/usb/error-codes.txt  2005-02-11 10:32:26 -05:00
> @@ -88,13 +91,19 @@
>                          prescribed bus turn-around time
>                       c) unknown USB error 
>  
> -                     In cases b) and c) either -EPROTO or -EILSEQ
> -                     may be returned.  Note that often the controller
> -                     hardware does not distinguish among cases a),
> -                     b), and c), so a driver cannot tell whether
> -                     there was a protocol error, a failure to respond
> -                     (often caused by device disconnect), or some
> -                     other fault.
> +                     Note that often the controller hardware does not
> +                     distinguish among cases a), b), and c), so a
> +                     driver cannot tell whether there was a protocol
> +                     error, a failure to respond (often caused by
> +                     device disconnect), or some other fault.
> +
> +-ETIMEDOUT (**)              No response packet received within the 
> prescribed
> +                     bus turn-around time.  This error may instead be
> +                     reported as -EPROTO or -EILSEQ.
> +
> +                     Note that the synchronous USB message functions
> +                     also use this code to indicate timeout expired
> +                     before the transfer completed.
>  
>  -EPIPE (**)          Endpoint stalled.  For non-control endpoints,
>                       reset this status with usb_clear_halt().
> @@ -152,4 +161,7 @@
>  usb_get_*/usb_set_*():
>  usb_control_msg():
>  usb_bulk_msg():
> --ETIMEDOUT           timeout expired before the transfer completed
> +-ETIMEDOUT           Timeout expired before the transfer completed.
> +                     In the future this code may change to -ETIME,
> +                     whose definition is a closer match to this sort
> +                     of error.
> 
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to