These correct a comment about the value for no signal in struct usbdevfs_urb.
Patches are from 2.4.23 and 2.4.0, I hope that is allright.  If there are
rules for submitting patches, please tell me.

-- 
Don Reid



--- linux-2.4.23/include/linux/usbdevice_fs.h   2003-12-04 20:41:37.000000000 -0800
+++ linux-2.4.23-edited/include/linux/usbdevice_fs.h    2004-01-02 09:23:42.000000000 
-0800
@@ -104,7 +104,7 @@
        int start_frame;
        int number_of_packets;
        int error_count;
-       unsigned int signr;  /* signal to be sent on error, -1 if none should be sent 
*/
+       unsigned int signr;  /* signal to be sent on error, 0 if none should be sent */
        void *usercontext;
        struct usbdevfs_iso_packet_desc iso_frame_desc[0];
 };


--- linux-2.6.0/include/linux/usbdevice_fs.h    2003-12-17 18:58:28.000000000 -0800
+++ linux-2.6.0-edited/include/linux/usbdevice_fs.h     2004-01-02 09:23:34.000000000 
-0800
@@ -103,7 +103,7 @@
        int start_frame;
        int number_of_packets;
        int error_count;
-       unsigned int signr;  /* signal to be sent on error, -1 if none should be sent 
*/
+       unsigned int signr;  /* signal to be sent on error, 0 if none should be sent */
        void *usercontext;
        struct usbdevfs_iso_packet_desc iso_frame_desc[0];
 };


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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