]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
USB: usbfs: export the URB_NO_INTERRUPT flag to userspace
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 17 Apr 2008 14:18:11 +0000 (10:18 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:54 +0000 (21:16 -0700)
commit14722ef4acedc643f0b78b7165ceff2d300dae4d
treeec7fba47784c4aebdcc898ab7c36e27773cbf185
parentaff6d18f95bb81b2d07994372c8edcc2c2b41180
USB: usbfs: export the URB_NO_INTERRUPT flag to userspace

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: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devio.c
include/linux/usbdevice_fs.h