mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Linux Doc Mailing List <linux-doc@vger.kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	"Jonathan Corbet" <corbet@lwn.net>,
	linux-kernel@vger.kernel.org
Subject: [PATCH v3 02/30] ABI: sysfs-tty: better document module name parameter
Date: Thu, 16 Sep 2021 10:59:29 +0200	[thread overview]
Message-ID: <6280edfacdbcbf8db1aeb7bf11e899187c11ac4c.1631782432.git.mchehab+huawei@kernel.org> (raw)
In-Reply-To: <cover.1631782432.git.mchehab+huawei@kernel.org>

On almost all ABI documents, variable arguments are declared
as <foo_bar>. Change it here too, in order to allow replacing
such wildcards by regexes on a scriptable way.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 Documentation/ABI/testing/sysfs-tty | 32 ++++++++++++++---------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-tty b/Documentation/ABI/testing/sysfs-tty
index e157130a6792..820e412d38a8 100644
--- a/Documentation/ABI/testing/sysfs-tty
+++ b/Documentation/ABI/testing/sysfs-tty
@@ -9,7 +9,7 @@ Description:
 		 The file supports poll() to detect virtual
 		 console switches.
 
-What:		/sys/class/tty/tty0/active
+What:		/sys/class/tty/tty<x>/active
 Date:		Nov 2010
 Contact:	Kay Sievers <kay.sievers@vrfy.org>
 Description:
@@ -18,7 +18,7 @@ Description:
 		 The file supports poll() to detect virtual
 		 console switches.
 
-What:		/sys/class/tty/ttyS0/uartclk
+What:		/sys/class/tty/ttyS<x>/uartclk
 Date:		Sep 2012
 Contact:	Tomas Hlavacek <tmshlvck@gmail.com>
 Description:
@@ -29,7 +29,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/type
+What:		/sys/class/tty/ttyS<x>/type
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -38,7 +38,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/line
+What:		/sys/class/tty/ttyS<x>/line
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -47,7 +47,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/port
+What:		/sys/class/tty/ttyS<x>/port
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -56,7 +56,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/irq
+What:		/sys/class/tty/ttyS<x>/irq
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -65,7 +65,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/flags
+What:		/sys/class/tty/ttyS<x>/flags
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -74,7 +74,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/xmit_fifo_size
+What:		/sys/class/tty/ttyS<x>/xmit_fifo_size
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -83,7 +83,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/close_delay
+What:		/sys/class/tty/ttyS<x>/close_delay
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -92,7 +92,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/closing_wait
+What:		/sys/class/tty/ttyS<x>/closing_wait
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -101,7 +101,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/custom_divisor
+What:		/sys/class/tty/ttyS<x>/custom_divisor
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -110,7 +110,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/io_type
+What:		/sys/class/tty/ttyS<x>/io_type
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -120,7 +120,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/iomem_base
+What:		/sys/class/tty/ttyS<x>/iomem_base
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -129,7 +129,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/iomem_reg_shift
+What:		/sys/class/tty/ttyS<x>/iomem_reg_shift
 Date:		October 2012
 Contact:	Alan Cox <alan@linux.intel.com>
 Description:
@@ -139,7 +139,7 @@ Description:
 		 These sysfs values expose the TIOCGSERIAL interface via
 		 sysfs rather than via ioctls.
 
-What:		/sys/class/tty/ttyS0/rx_trig_bytes
+What:		/sys/class/tty/ttyS<x>/rx_trig_bytes
 Date:		May 2014
 Contact:	Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
 Description:
@@ -155,7 +155,7 @@ Description:
 		 16550A, which has 1/4/8/14 bytes trigger, the RX trigger is
 		 automatically changed to 4 bytes.
 
-What:		/sys/class/tty/ttyS0/console
+What:		/sys/class/tty/ttyS<x>/console
 Date:		February 2020
 Contact:	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
 Description:
-- 
2.31.1


  parent reply	other threads:[~2021-09-16  9:00 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16  8:59 [PATCH v3 00/30]Change wildcards on ABI files Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 01/30] ABI: sysfs-bus-usb: better document variable argument Mauro Carvalho Chehab
2021-09-16  8:59 ` Mauro Carvalho Chehab [this message]
2021-09-16  8:59 ` [PATCH v3 03/30] ABI: sysfs-kernel-slab: use a wildcard for the cache name Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 04/30] ABI: security: fix location for evm and ima_policy Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 05/30] ABI: sysfs-class-tpm: use wildcards for pcr-* nodes Mauro Carvalho Chehab
2021-09-16 15:59   ` Jarkko Sakkinen
2021-09-16 16:00     ` Jarkko Sakkinen
2021-09-16 16:06       ` Greg Kroah-Hartman
2021-09-16  8:59 ` [PATCH v3 06/30] ABI: sysfs-bus-rapidio: use wildcards on What definitions Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 07/30] ABI: sysfs-class-cxl: place "not in a guest" at description Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 08/30] ABI: sysfs-class-devfreq-event: use the right wildcards on What Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 09/30] ABI: sysfs-class-mic: use the right wildcards on What definitions Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 10/30] ABI: pstore: Fix What field Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 11/30] ABI: sysfs-class-typec: fix a typo on a " Mauro Carvalho Chehab
2021-09-16 11:47   ` Heikki Krogerus
2021-09-16  8:59 ` [PATCH v3 12/30] ABI: sysfs-ata: use a proper wildcard for ata_* Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 13/30] ABI: sysfs-class-infiniband: use wildcards on What definitions Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 14/30] ABI: sysfs-bus-pci: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 15/30] ABI: sysfs-bus-soundwire-master: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 16/30] ABI: sysfs-bus-soundwire-slave: " Mauro Carvalho Chehab
2021-09-16 16:36   ` Pierre-Louis Bossart
2021-09-16 16:47     ` Mauro Carvalho Chehab
2021-10-01  4:37       ` Vinod Koul
2021-10-01  4:36   ` Vinod Koul
2021-09-16  8:59 ` [PATCH v3 17/30] ABI: sysfs-class-gnss: " Mauro Carvalho Chehab
2021-09-20  9:40   ` Johan Hovold
2021-09-16  8:59 ` [PATCH v3 18/30] ABI: sysfs-class-mei: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 19/30] ABI: sysfs-class-mux: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 20/30] ABI: sysfs-class-pwm: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 21/30] ABI: sysfs-class-rc: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 22/30] ABI: sysfs-class-rc-nuvoton: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 23/30] ABI: sysfs-class-uwb_rc: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 24/30] ABI: sysfs-class-uwb_rc-wusbhc: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 25/30] ABI: sysfs-devices-platform-dock: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 26/30] ABI: sysfs-devices-system-cpu: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 27/30] ABI: sysfs-firmware-efi-esrt: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 28/30] ABI: sysfs-platform-sst-atom: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 29/30] ABI: sysfs-ptp: " Mauro Carvalho Chehab
2021-09-16  8:59 ` [PATCH v3 30/30] ABI: sysfs-class-rapidio: " Mauro Carvalho Chehab

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=6280edfacdbcbf8db1aeb7bf11e899187c11ac4c.1631782432.git.mchehab+huawei@kernel.org \
    --to=mchehab+huawei@kernel.org \
    --cc=corbet@lwn.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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®