Skip to content

Commit d62e805

Browse files
ian-abbottJonathan Corbet
authored andcommitted
devices.txt: improve entry for comedi (char major 98)
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 <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
1 parent e62be10 commit d62e805

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Documentation/admin-guide/devices.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1647,8 +1647,17 @@
16471647
0 = /dev/comedi0 First comedi device
16481648
1 = /dev/comedi1 Second comedi device
16491649
...
1650+
47 = /dev/comedi47 48th comedi device
16501651

1651-
See http://stm.lbl.gov/comedi.
1652+
Minors 48 to 255 are reserved for comedi subdevices with
1653+
pathnames of the form "/dev/comediX_subdY", where "X" is the
1654+
minor number of the associated comedi device and "Y" is the
1655+
subdevice number. These subdevice minors are assigned
1656+
dynamically, so there is no fixed mapping from subdevice
1657+
pathnames to minor numbers.
1658+
1659+
See http://www.comedi.org/ for information about the Comedi
1660+
project.
16521661

16531662
98 block User-mode virtual block device
16541663
0 = /dev/ubda First user-mode block device

0 commit comments

Comments
 (0)