From: Randy Dunlap <rdunlap@infradead.org>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <rdunlap@infradead.org>,
Bjorn Helgaas <bhelgaas@google.com>,
linux-pci@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
linux-doc@vger.kernel.org
Subject: [PATCH] docs: ABI: sysfs-driver-xdata: use literal blocks for console commands
Date: Tue, 22 Sep 2026 19:50:18 -0700 [thread overview]
Message-ID: <20260923025018.848769-1-rdunlap@infradead.org> (raw)
Use a literal block for console I/O so that the lines aren't merged
together in the produced output.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Documentation/ABI/testing/sysfs-driver-xdata | 20 +++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
--- linux-next-20260921.orig/Documentation/ABI/testing/sysfs-driver-xdata
+++ linux-next-20260921/Documentation/ABI/testing/sysfs-driver-xdata
@@ -9,15 +9,19 @@ Description: Allows the user to enable t
Write y/1/on to enable, n/0/off to disable
- Usage e.g.
+ Usage e.g.::
+
echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write
- or
+
+ or::
+
echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write
The user can read the current PCIe link throughput generated
through this generator in MB/s.
- Usage e.g.
+ Usage e.g.::
+
cat /sys/class/misc/dw-xdata-pcie.<device>/write
204
@@ -34,15 +38,19 @@ Description: Allows the user to enable t
Write y/1/on to enable, n/0/off to disable
- Usage e.g.
+ Usage e.g.::
+
echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read
- or
+
+ or::
+
echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read
The user can read the current PCIe link throughput generated
through this generator in MB/s.
- Usage e.g.
+ Usage e.g.::
+
cat /sys/class/misc/dw-xdata-pcie.<device>/read
199
next reply other threads:[~2026-09-23 2:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 2:50 Randy Dunlap [this message]
2026-09-26 15:48 ` Jonathan Corbet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260923025018.848769-1-rdunlap@infradead.org \
--to=rdunlap@infradead.org \
--cc=bhelgaas@google.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®