tools: usb: p9_fwd: wrap USBG shell command examples in literal code blocks
Subsystems (4)
PATCH 1/1 tools: usb: p9_fwd: wrap USBG shell command examples in literal code blocks
Stephen Rothwell reported htmldocs warning when merging usb tree:
Documentation/filesystems/9p.rst:99: ERROR: Unexpected indentation.
That's because Sphinx tries rendering p9_fwd.py output as a grid table instead.
Wrap shell commands in "USBG Example" section in literal code blocks to fix above warning and to be in line with rest of commands in the doc.
--- Documentation/filesystems/9p.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/9p.rst +3 -3
@@ -86,11 +86,11 @@ When using the usbg transport, for now there is no native usb host service capable to handle the requests from the gadget driver. For this we have to use the extra python tool p9_fwd.py from tools/usb. -Just start the 9pfs capable network server like diod/nfs-ganesha e.g.: +Just start the 9pfs capable network server like diod/nfs-ganesha e.g.:: $ diod -f -n -d 0 -S -l 0.0.0.0:9999 -e $PWD -Optionaly scan your bus if there are more then one usbg gadgets to find their path: +Optionaly scan your bus if there are more then one usbg gadgets to find their path:: $ python $kernel_dir/tools/usb/p9_fwd.py list
@@ -99,7 +99,7 @@ Optionaly scan your bus if there are more then one usbg gadgets to find their pa 2 | 67 | unknown | unknown | 1d6b:0109 | 2-1.1.2 2 | 68 | unknown | unknown | 1d6b:0109 | 2-1.1.3 -Then start the python transport: +Then start the python transport:: $ python $kernel_dir/tools/usb/p9_fwd.py --path 2-1.1.2 connect -p 9999
base-commit: 9c0c11bb87b09a8b7cdc21ca1090e7b36abe9d09
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Thanks for taking care of this.
Quoted 7 lines · Bagas Sanjaya
Stephen Rothwell reported htmldocs warning when merging usb tree:
Documentation/filesystems/9p.rst:99: ERROR: Unexpected indentation.That's because Sphinx tries rendering
p9_fwd.pyoutput as a grid table instead.
Quoted 7 lines
Wrap shell commands in "USBG Example" section in literal code blocks to fix above warning and to be in line with rest of commands in the doc.
Reported-by Stephen Rothwell <[email protected]>Fixes 673f0c3ffc75 ("tools: usb: p9_fwd: add usb gadget packet forwarder script")Signed-off-by Bagas Sanjaya <[email protected]>
Quoted 37 lines
---
Documentation/filesystems/9p.rst| 6 +++---1 file changed, 3 insertions(+), 3 deletions(-)Documentation/filesystems/9p.rst +0
-0@@ -86,11 +86,11 @@ When using the usbg transport, for now there is no native usb hostservice capable to handle the requests from the gadget driver. For this we have to use the extra python tool
p9_fwd.pyfromtools/usb.Documentation/filesystems/9p.rst +3
-3-Just start the 9pfs capable network server like diod/nfs-ganesha e.g.: +Just start the 9pfs capable network server like diod/nfs-ganesha e.g.:: $ diod -f -n -d 0 -S -l 0.0.0.0:9999 -e $PWD -Optionaly scan your bus if there are more then one usbg gadgets to find their path: +Optionaly scan your bus if there are more then one usbg gadgets to find their path:: $ python $kernel_dir/tools/usb/p9_fwd.py list@@ -99,7 +99,7 @@ Optionaly scan your bus if there are more then one usbg gadgets to find their pa 2 | 67 | unknown | unknown | 1d6b:0109 | 2-1.1.2 2 | 68 | unknown | unknown | 1d6b:0109 | 2-1.1.3 -Then start the python transport: +Then start the python transport:: $ python $kernel_dir/tools/usb/p9_fwd.py --path 2-1.1.2 connect -p 9999base-commit:
9c0c11bb87b09a8b7cdc21ca1090e7b36abe9d09Signature · 1 line
An old man doll... just what I always wanted! - Clara
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |