From 4f041d7b65b8007403cce30ecf69ad42d48ec315 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Tue, 22 Sep 2026 19:50:18 -0700 Subject: [PATCH] docs: ABI: sysfs-driver-xdata: use literal blocks for console commands 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 Signed-off-by: Jonathan Corbet Message-ID: <20260923025018.848769-1-rdunlap@infradead.org> --- Documentation/ABI/testing/sysfs-driver-xdata | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-driver-xdata b/Documentation/ABI/testing/sysfs-driver-xdata index f574e8e6dca2..5bcdcba3a5c9 100644 --- a/Documentation/ABI/testing/sysfs-driver-xdata +++ b/Documentation/ABI/testing/sysfs-driver-xdata @@ -9,15 +9,19 @@ Description: Allows the user to enable the PCIe traffic generator which 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./write - or + + or:: + echo 0 > /sys/class/misc/dw-xdata-pcie./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./write 204 @@ -34,15 +38,19 @@ Description: Allows the user to enable the PCIe traffic generator which 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./read - or + + or:: + echo 0 > /sys/class/misc/dw-xdata-pcie./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./read 199