Skip to content

Commit 20d03ae

Browse files
Udipto Goswamigregkh
authored andcommitted
usb: gadget: ncm: Fix indentations in documentation of NCM section
Currently, the section of NCM which describes attributes are having wrong indentation. Fix this by following the correct format recommended. Fixes: 1900dae ("usb: gadget: ncm: Add support to update wMaxSegmentSize via configfs") Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Udipto Goswami <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 6613476 commit 20d03ae

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Documentation/usb/gadget-testing.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -448,17 +448,17 @@ Function-specific configfs interface
448448
The function name to use when creating the function directory is "ncm".
449449
The NCM function provides these attributes in its function directory:
450450

451-
=============== ==================================================
452-
ifname network device interface name associated with this
453-
function instance
454-
qmult queue length multiplier for high and super speed
455-
host_addr MAC address of host's end of this
456-
Ethernet over USB link
457-
dev_addr MAC address of device's end of this
458-
Ethernet over USB link
459-
max_segment_size Segment size required for P2P connections. This
460-
will set MTU to (max_segment_size - 14 bytes)
461-
=============== ==================================================
451+
======================= ==================================================
452+
ifname network device interface name associated with this
453+
function instance
454+
qmult queue length multiplier for high and super speed
455+
host_addr MAC address of host's end of this
456+
Ethernet over USB link
457+
dev_addr MAC address of device's end of this
458+
Ethernet over USB link
459+
max_segment_size Segment size required for P2P connections. This
460+
will set MTU to 14 bytes
461+
======================= ==================================================
462462

463463
and after creating the functions/ncm.<instance name> they contain default
464464
values: qmult is 5, dev_addr and host_addr are randomly selected.

0 commit comments

Comments
 (0)