Skip to content
  • Alan Stern's avatar
    USB: usbfs: export the URB_NO_INTERRUPT flag to userspace · 14722ef4
    Alan Stern authored
    
    
    This patch (as1079) cleans up the way URB_* flags are exported in
    usbfs.
    
    	The URB_NO_INTERRUPT flag is now exported (this is the
    	only behavioral change).
    
    	USBDEVFS_URB_* macros are added for URB_NO_FSBR,
    	URB_ZERO_PACKET, and URB_NO_INTERRUPT, making explicit the
    	fact that the kernel accepts them.
    
    	The flag matching takes into account that the URB_* values
    	may change as the kernel evolves, whereas the USBDEVFS_URB_*
    	values must remain fixed since they are a user API.
    
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    14722ef4