docs: misc-devices/spear-pcie-gadget.txt: Fix bracket and whitespace
PATCH 1/1 docs: misc-devices/spear-pcie-gadget.txt: Fix bracket and whitespace
Add missing ')' and remove needless whitespace.
Signed-off-by Manuel Ebner <[email protected]>
--- Documentation/misc-devices/spear-pcie-gadget.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Documentation/misc-devices/spear-pcie-gadget.rst +5 -5
@@ -37,9 +37,9 @@ read behavior of nodes: ----------------------- =============== ============================================================== -link gives ltssm status. -int_type type of supported interrupt -no_of_msi zero if MSI is not enabled by host. A positive value is the +link gives ltssm status. +int_type type of supported interrupt +no_of_msi zero if MSI is not enabled by host. A positive value is the number of MSI vector granted. vendor_id returns programmed vendor id (hex) device_id returns programmed device id(hex)
@@ -53,7 +53,7 @@ write behavior of nodes: ------------------------ =============== ================================================================ -link write UP to enable ltsmm DOWN to disable +link write UP to enable ltsmm DOWN to disable int_type write interrupt type to be configured and (int_type could be INTA, MSI or NO_INT). Select MSI only when you have programmed no_of_msi node.
@@ -65,7 +65,7 @@ device_id write device id(hex) to be programmed. bar0_size write size of bar0 in hex. default bar0 size is 1000 (hex) bytes. bar0_address write address of bar0 mapped area in hex. (default mapping of - bar0 is SYSRAM1(E0800000). Always program bar size before bar + bar0 is SYSRAM1(E0800000)). Always program bar size before bar address. Kernel might modify bar size and address for alignment, so read back bar size and address after writing to cross check. bar0_rw_offset write offset of bar0 for which bar0_data will write value.
Signature · 1 line
2.54.0
Quoted 3 lines · Manuel Ebner
Add missing ')' and remove needless whitespace.
Signed-off-by Manuel Ebner <[email protected]>
Whitespace patches usually fall into my (personal) category of not worth the hassle or time. Anyway:
Reviewed-by Randy Dunlap <[email protected]>
Oh, there are 3 places where "MSI vector" should be "MSI vectors".
Quoted 31 lines
--- Documentation/misc-devices/spear-pcie-gadget.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)Documentation/misc-devices/spear-pcie-gadget.rst +4
-4@@ -37,9 +37,9 @@ read behavior of nodes: ----------------------- =============== ============================================================== -link gives ltssm status. -int_type type of supported interrupt -no_of_msi zero if MSI is not enabled by host. A positive value is the +link gives ltssm status. +int_type type of supported interrupt +no_of_msi zero if MSI is not enabled by host. A positive value is the number of MSI vector granted. vendor_id returns programmed vendor id (hex) device_id returns programmed device id(hex)@@ -53,7 +53,7 @@ write behavior of nodes: ------------------------ =============== ================================================================ -link write UP to enable ltsmm DOWN to disable +link write UP to enable ltsmm DOWN to disable int_type write interrupt type to be configured and (int_type could be INTA, MSI or NO_INT). Select MSI only when you have programmed no_of_msi node.
Documentation/misc-devices/spear-pcie-gadget.rst device_id write device id(hex) to be programmed. · line 71
Quoted 8 lines
Documentation/misc-devices/spear-pcie-gadget.rst +1
-1@@ -65,7 +65,7 @@ device_id write device id(hex) to be programmed. bar0_size write size of bar0 in hex. default bar0 size is 1000 (hex) bytes. bar0_address write address of bar0 mapped area in hex. (default mapping of - bar0 is SYSRAM1(E0800000). Always program bar size before bar + bar0 is SYSRAM1(E0800000)). Always program bar size before bar address. Kernel might modify bar size and address for alignment, so read back bar size and address after writing to cross check. bar0_rw_offset write offset of bar0 for which bar0_data will write value.
thanks.
Signature · 1 line
~Randy
Quoted 6 lines · Manuel Ebner
Add missing ')' and remove needless whitespace.
Signed-off-by Manuel Ebner <[email protected]>--- Documentation/misc-devices/spear-pcie-gadget.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Agree with Randy on the white-space fixes, they are generally not worth it.
Applied, thanks.
jon