linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] devices.txt: improve entry for comedi (char major 98)
@ 2019-09-11 16:39 Ian Abbott
  2019-09-14  7:52 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Abbott @ 2019-09-11 16:39 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Greg Kroah-Hartman, Ian Abbott, linux-doc, linux-kernel

Describe how the comedi minor device numbers are split across comedi
devices and comedi subdevices.

Replace the current, long dead URL with an official URL for the Comedi
project.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
---
 Documentation/admin-guide/devices.txt | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/devices.txt b/Documentation/admin-guide/devices.txt
index e56e00655153..1c5d2281efc9 100644
--- a/Documentation/admin-guide/devices.txt
+++ b/Documentation/admin-guide/devices.txt
@@ -1647,8 +1647,17 @@
 		  0 = /dev/comedi0	First comedi device
 		  1 = /dev/comedi1	Second comedi device
 		    ...
+		 47 = /dev/comedi47	48th comedi device
 
-		See http://stm.lbl.gov/comedi.
+		Minors 48 to 255 are reserved for comedi subdevices with
+		pathnames of the form "/dev/comediX_subdY", where "X" is the
+		minor number of the associated comedi device and "Y" is the
+		subdevice number.  These subdevice minors are assigned
+		dynamically, so there is no fixed mapping from subdevice
+		pathnames to minor numbers.
+
+		See http://www.comedi.org/ for information about the Comedi
+		project.
 
   98 block	User-mode virtual block device
 		  0 = /dev/ubda		First user-mode block device
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] devices.txt: improve entry for comedi (char major 98)
  2019-09-11 16:39 [PATCH] devices.txt: improve entry for comedi (char major 98) Ian Abbott
@ 2019-09-14  7:52 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2019-09-14  7:52 UTC (permalink / raw)
  To: Ian Abbott; +Cc: Greg Kroah-Hartman, linux-doc, linux-kernel

On Wed, 11 Sep 2019 17:39:41 +0100
Ian Abbott <abbotti@mev.co.uk> wrote:

> Describe how the comedi minor device numbers are split across comedi
> devices and comedi subdevices.
> 
> Replace the current, long dead URL with an official URL for the Comedi
> project.
> 
> Signed-off-by: Ian Abbott <abbotti@mev.co.uk>

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-14  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 16:39 [PATCH] devices.txt: improve entry for comedi (char major 98) Ian Abbott
2019-09-14  7:52 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).