Merge tag 'efi_updates_for_v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / Documentation / ABI / testing / configfs-usb-gadget-mass-storage
1 What:           /config/usb-gadget/gadget/functions/mass_storage.name
2 Date:           Oct 2013
3 KernelVersion:  3.13
4 Description:
5                 The attributes:
6
7                 ===========     ==============================================
8                 stall           Set to permit function to halt bulk endpoints.
9                                 Disabled on some USB devices known not to work
10                                 correctly. You should set it to true.
11                 num_buffers     Number of pipeline buffers. Valid numbers
12                                 are 2..4. Available only if
13                                 CONFIG_USB_GADGET_DEBUG_FILES is set.
14                 ===========     ==============================================
15
16 What:           /config/usb-gadget/gadget/functions/mass_storage.name/lun.name
17 Date:           Oct 2013
18 KernelVersion:  3.13
19 Description:
20                 The attributes:
21
22                 ===========     ==============================================
23                 file            The path to the backing file for the LUN.
24                                 Required if LUN is not marked as removable.
25                 ro              Flag specifying access to the LUN shall be
26                                 read-only. This is implied if CD-ROM emulation
27                                 is enabled as well as when it was impossible
28                                 to open "filename" in R/W mode.
29                 removable       Flag specifying that LUN shall be indicated as
30                                 being removable.
31                 cdrom           Flag specifying that LUN shall be reported as
32                                 being a CD-ROM.
33                 nofua           Flag specifying that FUA flag
34                                 in SCSI WRITE(10,12)
35                 ===========     ==============================================