Commit 20d03ae3 authored by Udipto Goswami's avatar Udipto Goswami Committed by Greg Kroah-Hartman

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: 1900daee ("usb: gadget: ncm: Add support to update wMaxSegmentSize via configfs")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20240108160221.743649b5@canb.auug.org.au/Signed-off-by: default avatarUdipto Goswami <quic_ugoswami@quicinc.com>
Link: https://lore.kernel.org/r/20240108132720.7786-1-quic_ugoswami@quicinc.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6613476e
...@@ -448,7 +448,7 @@ Function-specific configfs interface ...@@ -448,7 +448,7 @@ Function-specific configfs interface
The function name to use when creating the function directory is "ncm". The function name to use when creating the function directory is "ncm".
The NCM function provides these attributes in its function directory: The NCM function provides these attributes in its function directory:
=============== ================================================== ======================= ==================================================
ifname network device interface name associated with this ifname network device interface name associated with this
function instance function instance
qmult queue length multiplier for high and super speed qmult queue length multiplier for high and super speed
...@@ -457,8 +457,8 @@ The NCM function provides these attributes in its function directory: ...@@ -457,8 +457,8 @@ The NCM function provides these attributes in its function directory:
dev_addr MAC address of device's end of this dev_addr MAC address of device's end of this
Ethernet over USB link Ethernet over USB link
max_segment_size Segment size required for P2P connections. This max_segment_size Segment size required for P2P connections. This
will set MTU to (max_segment_size - 14 bytes) will set MTU to 14 bytes
=============== ================================================== ======================= ==================================================
and after creating the functions/ncm.<instance name> they contain default and after creating the functions/ncm.<instance name> they contain default
values: qmult is 5, dev_addr and host_addr are randomly selected. values: qmult is 5, dev_addr and host_addr are randomly selected.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment