hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/Documentation/ABI/testing/configfs-usb-gadget-mass-storage
....@@ -4,12 +4,14 @@
44 Description:
55 The attributes:
66
7
- stall - Set to permit function to halt bulk endpoints.
7
+ =========== ==============================================
8
+ stall Set to permit function to halt bulk endpoints.
89 Disabled on some USB devices known not to work
910 correctly. You should set it to true.
10
- num_buffers - Number of pipeline buffers. Valid numbers
11
+ num_buffers Number of pipeline buffers. Valid numbers
1112 are 2..4. Available only if
1213 CONFIG_USB_GADGET_DEBUG_FILES is set.
14
+ =========== ==============================================
1315
1416 What: /config/usb-gadget/gadget/functions/mass_storage.name/lun.name
1517 Date: Oct 2013
....@@ -17,15 +19,17 @@
1719 Description:
1820 The attributes:
1921
20
- file - The path to the backing file for the LUN.
22
+ =========== ==============================================
23
+ file The path to the backing file for the LUN.
2124 Required if LUN is not marked as removable.
22
- ro - Flag specifying access to the LUN shall be
25
+ ro Flag specifying access to the LUN shall be
2326 read-only. This is implied if CD-ROM emulation
2427 is enabled as well as when it was impossible
2528 to open "filename" in R/W mode.
26
- removable - Flag specifying that LUN shall be indicated as
29
+ removable Flag specifying that LUN shall be indicated as
2730 being removable.
28
- cdrom - Flag specifying that LUN shall be reported as
31
+ cdrom Flag specifying that LUN shall be reported as
2932 being a CD-ROM.
30
- nofua - Flag specifying that FUA flag
33
+ nofua Flag specifying that FUA flag
3134 in SCSI WRITE(10,12)
35
+ =========== ==============================================