This patchset contains changes in FunctionFS making it easier and safer to use. It introduces virtual address mapping which allows to separate endpoint address space in function from physical endpoint addresses, and allow to refer to endpoints with address chosen by user. It also adds new ioctl allowing to obtain endpoint descriptor, and introduces new endpoint files naming convention to unify number identifying each single endpoint. Changelog: v2: - return proper endpont address in setup request handling - add patch usb: gadget: f_fs: add ioctl returning ep descriptor - add patch usb: gadget: f_fs: make numbers in ep file names the same as ep addresses v1: https://lkml.org/lkml/2014/7/18/1010 Robert Baldyga (3): usb: gadget: f_fs: virtual address mapping usb: gadget: f_fs: add ioctl returning ep descriptor usb: gadget: f_fs: make numbers in ep file names the same as ep addresses drivers/usb/gadget/f_fs.c | 102 +++++++++++++++++++++++++++++++----- drivers/usb/gadget/u_fs.h | 4 ++ include/uapi/linux/usb/functionfs.h | 7 +++ 3 files changed, 100 insertions(+), 13 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html