Commit 5e71b7a64cb4c6cff75ca42b535d8227526ec592

Authored by Olof Johansson
Committed by Chris Ball
1 parent 061c6c847e

mmc: make number of mmcblk minors configurable

The old limit of number of minor numbers per mmcblk device was hardcoded
at 8.  This isn't enough for some of the more elaborate partitioning
schemes, for example those used by Chrome OS.

Since there might be a bunch of systems out there with static /dev
contents that relies on the old numbering scheme, let's make it a
build-time option with the default set to the previous 8.

Also provide a boot/modprobe-time parameter to override the config
default: mmcblk.perdev_minors.

Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: Mandeep Baines <msb@chromium.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>

Showing 3 changed files with 54 additions and 12 deletions Inline Diff

Documentation/devices.txt
1 1
2 LINUX ALLOCATED DEVICES (2.6+ version) 2 LINUX ALLOCATED DEVICES (2.6+ version)
3 3
4 Maintained by Alan Cox <device@lanana.org> 4 Maintained by Alan Cox <device@lanana.org>
5 5
6 Last revised: 6th April 2009 6 Last revised: 6th April 2009
7 7
8 This list is the Linux Device List, the official registry of allocated 8 This list is the Linux Device List, the official registry of allocated
9 device numbers and /dev directory nodes for the Linux operating 9 device numbers and /dev directory nodes for the Linux operating
10 system. 10 system.
11 11
12 The latest version of this list is available from 12 The latest version of this list is available from
13 http://www.lanana.org/docs/device-list/ or 13 http://www.lanana.org/docs/device-list/ or
14 ftp://ftp.kernel.org/pub/linux/docs/device-list/. This version may be 14 ftp://ftp.kernel.org/pub/linux/docs/device-list/. This version may be
15 newer than the one distributed with the Linux kernel. 15 newer than the one distributed with the Linux kernel.
16 16
17 The LaTeX version of this document is no longer maintained. 17 The LaTeX version of this document is no longer maintained.
18 18
19 This document is included by reference into the Filesystem Hierarchy 19 This document is included by reference into the Filesystem Hierarchy
20 Standard (FHS). The FHS is available from http://www.pathname.com/fhs/. 20 Standard (FHS). The FHS is available from http://www.pathname.com/fhs/.
21 21
22 Allocations marked (68k/Amiga) apply to Linux/68k on the Amiga 22 Allocations marked (68k/Amiga) apply to Linux/68k on the Amiga
23 platform only. Allocations marked (68k/Atari) apply to Linux/68k on 23 platform only. Allocations marked (68k/Atari) apply to Linux/68k on
24 the Atari platform only. 24 the Atari platform only.
25 25
26 The symbol {2.6} means the allocation is obsolete and scheduled for 26 The symbol {2.6} means the allocation is obsolete and scheduled for
27 removal once kernel version 2.6 (or equivalent) is released. Some of these 27 removal once kernel version 2.6 (or equivalent) is released. Some of these
28 allocations have already been removed. 28 allocations have already been removed.
29 29
30 This document is in the public domain. The author requests, however, 30 This document is in the public domain. The author requests, however,
31 that semantically altered versions are not distributed without 31 that semantically altered versions are not distributed without
32 permission of the author, assuming the author can be contacted without 32 permission of the author, assuming the author can be contacted without
33 an unreasonable effort. 33 an unreasonable effort.
34 34
35 In particular, please don't sent patches for this list to Linus, at 35 In particular, please don't sent patches for this list to Linus, at
36 least not without contacting me first. 36 least not without contacting me first.
37 37
38 I do not have any information about these devices beyond what appears 38 I do not have any information about these devices beyond what appears
39 on this list. Any such information requests will be deleted without 39 on this list. Any such information requests will be deleted without
40 reply. 40 reply.
41 41
42 42
43 **** DEVICE DRIVERS AUTHORS PLEASE READ THIS **** 43 **** DEVICE DRIVERS AUTHORS PLEASE READ THIS ****
44 44
45 To have a major number allocated, or a minor number in situations 45 To have a major number allocated, or a minor number in situations
46 where that applies (e.g. busmice), please contact me with the 46 where that applies (e.g. busmice), please contact me with the
47 appropriate device information. Also, if you have additional 47 appropriate device information. Also, if you have additional
48 information regarding any of the devices listed below, or if I have 48 information regarding any of the devices listed below, or if I have
49 made a mistake, I would greatly appreciate a note. 49 made a mistake, I would greatly appreciate a note.
50 50
51 I do, however, make a few requests about the nature of your report. 51 I do, however, make a few requests about the nature of your report.
52 This is necessary for me to be able to keep this list up to date and 52 This is necessary for me to be able to keep this list up to date and
53 correct in a timely manner. First of all, *please* send it to the 53 correct in a timely manner. First of all, *please* send it to the
54 correct address... <device@lanana.org>. I receive hundreds of email 54 correct address... <device@lanana.org>. I receive hundreds of email
55 messages a day, so mail sent to other addresses may very well get lost 55 messages a day, so mail sent to other addresses may very well get lost
56 in the avalanche. Please put in a descriptive subject, so I can find 56 in the avalanche. Please put in a descriptive subject, so I can find
57 your mail again should I need to. Too many people send me email 57 your mail again should I need to. Too many people send me email
58 saying just "device number request" in the subject. 58 saying just "device number request" in the subject.
59 59
60 Second, please include a description of the device *in the same format 60 Second, please include a description of the device *in the same format
61 as this list*. The reason for this is that it is the only way I have 61 as this list*. The reason for this is that it is the only way I have
62 found to ensure I have all the requisite information to publish your 62 found to ensure I have all the requisite information to publish your
63 device and avoid conflicts. 63 device and avoid conflicts.
64 64
65 Third, please don't assume that the distributed version of the list is 65 Third, please don't assume that the distributed version of the list is
66 up to date. Due to the number of registrations I have to maintain it 66 up to date. Due to the number of registrations I have to maintain it
67 in "batch mode", so there is likely additional registrations that 67 in "batch mode", so there is likely additional registrations that
68 haven't been listed yet. 68 haven't been listed yet.
69 69
70 Fourth, remember that Linux now has extensive support for dynamic allocation 70 Fourth, remember that Linux now has extensive support for dynamic allocation
71 of device numbering and can use sysfs and udev to handle the naming needs. 71 of device numbering and can use sysfs and udev to handle the naming needs.
72 There are still some exceptions in the serial and boot device area. Before 72 There are still some exceptions in the serial and boot device area. Before
73 asking for a device number make sure you actually need one. 73 asking for a device number make sure you actually need one.
74 74
75 Finally, sometimes I have to play "namespace police." Please don't be 75 Finally, sometimes I have to play "namespace police." Please don't be
76 offended. I often get submissions for /dev names that would be bound 76 offended. I often get submissions for /dev names that would be bound
77 to cause conflicts down the road. I am trying to avoid getting in a 77 to cause conflicts down the road. I am trying to avoid getting in a
78 situation where we would have to suffer an incompatible forward 78 situation where we would have to suffer an incompatible forward
79 change. Therefore, please consult with me *before* you make your 79 change. Therefore, please consult with me *before* you make your
80 device names and numbers in any way public, at least to the point 80 device names and numbers in any way public, at least to the point
81 where it would be at all difficult to get them changed. 81 where it would be at all difficult to get them changed.
82 82
83 Your cooperation is appreciated. 83 Your cooperation is appreciated.
84 84
85 85
86 0 Unnamed devices (e.g. non-device mounts) 86 0 Unnamed devices (e.g. non-device mounts)
87 0 = reserved as null device number 87 0 = reserved as null device number
88 See block major 144, 145, 146 for expansion areas. 88 See block major 144, 145, 146 for expansion areas.
89 89
90 1 char Memory devices 90 1 char Memory devices
91 1 = /dev/mem Physical memory access 91 1 = /dev/mem Physical memory access
92 2 = /dev/kmem Kernel virtual memory access 92 2 = /dev/kmem Kernel virtual memory access
93 3 = /dev/null Null device 93 3 = /dev/null Null device
94 4 = /dev/port I/O port access 94 4 = /dev/port I/O port access
95 5 = /dev/zero Null byte source 95 5 = /dev/zero Null byte source
96 6 = /dev/core OBSOLETE - replaced by /proc/kcore 96 6 = /dev/core OBSOLETE - replaced by /proc/kcore
97 7 = /dev/full Returns ENOSPC on write 97 7 = /dev/full Returns ENOSPC on write
98 8 = /dev/random Nondeterministic random number gen. 98 8 = /dev/random Nondeterministic random number gen.
99 9 = /dev/urandom Faster, less secure random number gen. 99 9 = /dev/urandom Faster, less secure random number gen.
100 10 = /dev/aio Asynchronous I/O notification interface 100 10 = /dev/aio Asynchronous I/O notification interface
101 11 = /dev/kmsg Writes to this come out as printk's 101 11 = /dev/kmsg Writes to this come out as printk's
102 12 = /dev/oldmem Used by crashdump kernels to access 102 12 = /dev/oldmem Used by crashdump kernels to access
103 the memory of the kernel that crashed. 103 the memory of the kernel that crashed.
104 104
105 1 block RAM disk 105 1 block RAM disk
106 0 = /dev/ram0 First RAM disk 106 0 = /dev/ram0 First RAM disk
107 1 = /dev/ram1 Second RAM disk 107 1 = /dev/ram1 Second RAM disk
108 ... 108 ...
109 250 = /dev/initrd Initial RAM disk 109 250 = /dev/initrd Initial RAM disk
110 110
111 Older kernels had /dev/ramdisk (1, 1) here. 111 Older kernels had /dev/ramdisk (1, 1) here.
112 /dev/initrd refers to a RAM disk which was preloaded 112 /dev/initrd refers to a RAM disk which was preloaded
113 by the boot loader; newer kernels use /dev/ram0 for 113 by the boot loader; newer kernels use /dev/ram0 for
114 the initrd. 114 the initrd.
115 115
116 2 char Pseudo-TTY masters 116 2 char Pseudo-TTY masters
117 0 = /dev/ptyp0 First PTY master 117 0 = /dev/ptyp0 First PTY master
118 1 = /dev/ptyp1 Second PTY master 118 1 = /dev/ptyp1 Second PTY master
119 ... 119 ...
120 255 = /dev/ptyef 256th PTY master 120 255 = /dev/ptyef 256th PTY master
121 121
122 Pseudo-tty's are named as follows: 122 Pseudo-tty's are named as follows:
123 * Masters are "pty", slaves are "tty"; 123 * Masters are "pty", slaves are "tty";
124 * the fourth letter is one of pqrstuvwxyzabcde indicating 124 * the fourth letter is one of pqrstuvwxyzabcde indicating
125 the 1st through 16th series of 16 pseudo-ttys each, and 125 the 1st through 16th series of 16 pseudo-ttys each, and
126 * the fifth letter is one of 0123456789abcdef indicating 126 * the fifth letter is one of 0123456789abcdef indicating
127 the position within the series. 127 the position within the series.
128 128
129 These are the old-style (BSD) PTY devices; Unix98 129 These are the old-style (BSD) PTY devices; Unix98
130 devices are on major 128 and above and use the PTY 130 devices are on major 128 and above and use the PTY
131 master multiplex (/dev/ptmx) to acquire a PTY on 131 master multiplex (/dev/ptmx) to acquire a PTY on
132 demand. 132 demand.
133 133
134 2 block Floppy disks 134 2 block Floppy disks
135 0 = /dev/fd0 Controller 0, drive 0, autodetect 135 0 = /dev/fd0 Controller 0, drive 0, autodetect
136 1 = /dev/fd1 Controller 0, drive 1, autodetect 136 1 = /dev/fd1 Controller 0, drive 1, autodetect
137 2 = /dev/fd2 Controller 0, drive 2, autodetect 137 2 = /dev/fd2 Controller 0, drive 2, autodetect
138 3 = /dev/fd3 Controller 0, drive 3, autodetect 138 3 = /dev/fd3 Controller 0, drive 3, autodetect
139 128 = /dev/fd4 Controller 1, drive 0, autodetect 139 128 = /dev/fd4 Controller 1, drive 0, autodetect
140 129 = /dev/fd5 Controller 1, drive 1, autodetect 140 129 = /dev/fd5 Controller 1, drive 1, autodetect
141 130 = /dev/fd6 Controller 1, drive 2, autodetect 141 130 = /dev/fd6 Controller 1, drive 2, autodetect
142 131 = /dev/fd7 Controller 1, drive 3, autodetect 142 131 = /dev/fd7 Controller 1, drive 3, autodetect
143 143
144 To specify format, add to the autodetect device number: 144 To specify format, add to the autodetect device number:
145 0 = /dev/fd? Autodetect format 145 0 = /dev/fd? Autodetect format
146 4 = /dev/fd?d360 5.25" 360K in a 360K drive(1) 146 4 = /dev/fd?d360 5.25" 360K in a 360K drive(1)
147 20 = /dev/fd?h360 5.25" 360K in a 1200K drive(1) 147 20 = /dev/fd?h360 5.25" 360K in a 1200K drive(1)
148 48 = /dev/fd?h410 5.25" 410K in a 1200K drive 148 48 = /dev/fd?h410 5.25" 410K in a 1200K drive
149 64 = /dev/fd?h420 5.25" 420K in a 1200K drive 149 64 = /dev/fd?h420 5.25" 420K in a 1200K drive
150 24 = /dev/fd?h720 5.25" 720K in a 1200K drive 150 24 = /dev/fd?h720 5.25" 720K in a 1200K drive
151 80 = /dev/fd?h880 5.25" 880K in a 1200K drive(1) 151 80 = /dev/fd?h880 5.25" 880K in a 1200K drive(1)
152 8 = /dev/fd?h1200 5.25" 1200K in a 1200K drive(1) 152 8 = /dev/fd?h1200 5.25" 1200K in a 1200K drive(1)
153 40 = /dev/fd?h1440 5.25" 1440K in a 1200K drive(1) 153 40 = /dev/fd?h1440 5.25" 1440K in a 1200K drive(1)
154 56 = /dev/fd?h1476 5.25" 1476K in a 1200K drive 154 56 = /dev/fd?h1476 5.25" 1476K in a 1200K drive
155 72 = /dev/fd?h1494 5.25" 1494K in a 1200K drive 155 72 = /dev/fd?h1494 5.25" 1494K in a 1200K drive
156 92 = /dev/fd?h1600 5.25" 1600K in a 1200K drive(1) 156 92 = /dev/fd?h1600 5.25" 1600K in a 1200K drive(1)
157 157
158 12 = /dev/fd?u360 3.5" 360K Double Density(2) 158 12 = /dev/fd?u360 3.5" 360K Double Density(2)
159 16 = /dev/fd?u720 3.5" 720K Double Density(1) 159 16 = /dev/fd?u720 3.5" 720K Double Density(1)
160 120 = /dev/fd?u800 3.5" 800K Double Density(2) 160 120 = /dev/fd?u800 3.5" 800K Double Density(2)
161 52 = /dev/fd?u820 3.5" 820K Double Density 161 52 = /dev/fd?u820 3.5" 820K Double Density
162 68 = /dev/fd?u830 3.5" 830K Double Density 162 68 = /dev/fd?u830 3.5" 830K Double Density
163 84 = /dev/fd?u1040 3.5" 1040K Double Density(1) 163 84 = /dev/fd?u1040 3.5" 1040K Double Density(1)
164 88 = /dev/fd?u1120 3.5" 1120K Double Density(1) 164 88 = /dev/fd?u1120 3.5" 1120K Double Density(1)
165 28 = /dev/fd?u1440 3.5" 1440K High Density(1) 165 28 = /dev/fd?u1440 3.5" 1440K High Density(1)
166 124 = /dev/fd?u1600 3.5" 1600K High Density(1) 166 124 = /dev/fd?u1600 3.5" 1600K High Density(1)
167 44 = /dev/fd?u1680 3.5" 1680K High Density(3) 167 44 = /dev/fd?u1680 3.5" 1680K High Density(3)
168 60 = /dev/fd?u1722 3.5" 1722K High Density 168 60 = /dev/fd?u1722 3.5" 1722K High Density
169 76 = /dev/fd?u1743 3.5" 1743K High Density 169 76 = /dev/fd?u1743 3.5" 1743K High Density
170 96 = /dev/fd?u1760 3.5" 1760K High Density 170 96 = /dev/fd?u1760 3.5" 1760K High Density
171 116 = /dev/fd?u1840 3.5" 1840K High Density(3) 171 116 = /dev/fd?u1840 3.5" 1840K High Density(3)
172 100 = /dev/fd?u1920 3.5" 1920K High Density(1) 172 100 = /dev/fd?u1920 3.5" 1920K High Density(1)
173 32 = /dev/fd?u2880 3.5" 2880K Extra Density(1) 173 32 = /dev/fd?u2880 3.5" 2880K Extra Density(1)
174 104 = /dev/fd?u3200 3.5" 3200K Extra Density 174 104 = /dev/fd?u3200 3.5" 3200K Extra Density
175 108 = /dev/fd?u3520 3.5" 3520K Extra Density 175 108 = /dev/fd?u3520 3.5" 3520K Extra Density
176 112 = /dev/fd?u3840 3.5" 3840K Extra Density(1) 176 112 = /dev/fd?u3840 3.5" 3840K Extra Density(1)
177 177
178 36 = /dev/fd?CompaQ Compaq 2880K drive; obsolete? 178 36 = /dev/fd?CompaQ Compaq 2880K drive; obsolete?
179 179
180 (1) Autodetectable format 180 (1) Autodetectable format
181 (2) Autodetectable format in a Double Density (720K) drive only 181 (2) Autodetectable format in a Double Density (720K) drive only
182 (3) Autodetectable format in a High Density (1440K) drive only 182 (3) Autodetectable format in a High Density (1440K) drive only
183 183
184 NOTE: The letter in the device name (d, q, h or u) 184 NOTE: The letter in the device name (d, q, h or u)
185 signifies the type of drive: 5.25" Double Density (d), 185 signifies the type of drive: 5.25" Double Density (d),
186 5.25" Quad Density (q), 5.25" High Density (h) or 3.5" 186 5.25" Quad Density (q), 5.25" High Density (h) or 3.5"
187 (any model, u). The use of the capital letters D, H 187 (any model, u). The use of the capital letters D, H
188 and E for the 3.5" models have been deprecated, since 188 and E for the 3.5" models have been deprecated, since
189 the drive type is insignificant for these devices. 189 the drive type is insignificant for these devices.
190 190
191 3 char Pseudo-TTY slaves 191 3 char Pseudo-TTY slaves
192 0 = /dev/ttyp0 First PTY slave 192 0 = /dev/ttyp0 First PTY slave
193 1 = /dev/ttyp1 Second PTY slave 193 1 = /dev/ttyp1 Second PTY slave
194 ... 194 ...
195 255 = /dev/ttyef 256th PTY slave 195 255 = /dev/ttyef 256th PTY slave
196 196
197 These are the old-style (BSD) PTY devices; Unix98 197 These are the old-style (BSD) PTY devices; Unix98
198 devices are on major 136 and above. 198 devices are on major 136 and above.
199 199
200 3 block First MFM, RLL and IDE hard disk/CD-ROM interface 200 3 block First MFM, RLL and IDE hard disk/CD-ROM interface
201 0 = /dev/hda Master: whole disk (or CD-ROM) 201 0 = /dev/hda Master: whole disk (or CD-ROM)
202 64 = /dev/hdb Slave: whole disk (or CD-ROM) 202 64 = /dev/hdb Slave: whole disk (or CD-ROM)
203 203
204 For partitions, add to the whole disk device number: 204 For partitions, add to the whole disk device number:
205 0 = /dev/hd? Whole disk 205 0 = /dev/hd? Whole disk
206 1 = /dev/hd?1 First partition 206 1 = /dev/hd?1 First partition
207 2 = /dev/hd?2 Second partition 207 2 = /dev/hd?2 Second partition
208 ... 208 ...
209 63 = /dev/hd?63 63rd partition 209 63 = /dev/hd?63 63rd partition
210 210
211 For Linux/i386, partitions 1-4 are the primary 211 For Linux/i386, partitions 1-4 are the primary
212 partitions, and 5 and above are logical partitions. 212 partitions, and 5 and above are logical partitions.
213 Other versions of Linux use partitioning schemes 213 Other versions of Linux use partitioning schemes
214 appropriate to their respective architectures. 214 appropriate to their respective architectures.
215 215
216 4 char TTY devices 216 4 char TTY devices
217 0 = /dev/tty0 Current virtual console 217 0 = /dev/tty0 Current virtual console
218 218
219 1 = /dev/tty1 First virtual console 219 1 = /dev/tty1 First virtual console
220 ... 220 ...
221 63 = /dev/tty63 63rd virtual console 221 63 = /dev/tty63 63rd virtual console
222 64 = /dev/ttyS0 First UART serial port 222 64 = /dev/ttyS0 First UART serial port
223 ... 223 ...
224 255 = /dev/ttyS191 192nd UART serial port 224 255 = /dev/ttyS191 192nd UART serial port
225 225
226 UART serial ports refer to 8250/16450/16550 series devices. 226 UART serial ports refer to 8250/16450/16550 series devices.
227 227
228 Older versions of the Linux kernel used this major 228 Older versions of the Linux kernel used this major
229 number for BSD PTY devices. As of Linux 2.1.115, this 229 number for BSD PTY devices. As of Linux 2.1.115, this
230 is no longer supported. Use major numbers 2 and 3. 230 is no longer supported. Use major numbers 2 and 3.
231 231
232 4 block Aliases for dynamically allocated major devices to be used 232 4 block Aliases for dynamically allocated major devices to be used
233 when its not possible to create the real device nodes 233 when its not possible to create the real device nodes
234 because the root filesystem is mounted read-only. 234 because the root filesystem is mounted read-only.
235 235
236 0 = /dev/root 236 0 = /dev/root
237 237
238 5 char Alternate TTY devices 238 5 char Alternate TTY devices
239 0 = /dev/tty Current TTY device 239 0 = /dev/tty Current TTY device
240 1 = /dev/console System console 240 1 = /dev/console System console
241 2 = /dev/ptmx PTY master multiplex 241 2 = /dev/ptmx PTY master multiplex
242 3 = /dev/ttyprintk User messages via printk TTY device 242 3 = /dev/ttyprintk User messages via printk TTY device
243 64 = /dev/cua0 Callout device for ttyS0 243 64 = /dev/cua0 Callout device for ttyS0
244 ... 244 ...
245 255 = /dev/cua191 Callout device for ttyS191 245 255 = /dev/cua191 Callout device for ttyS191
246 246
247 (5,1) is /dev/console starting with Linux 2.1.71. See 247 (5,1) is /dev/console starting with Linux 2.1.71. See
248 the section on terminal devices for more information 248 the section on terminal devices for more information
249 on /dev/console. 249 on /dev/console.
250 250
251 6 char Parallel printer devices 251 6 char Parallel printer devices
252 0 = /dev/lp0 Parallel printer on parport0 252 0 = /dev/lp0 Parallel printer on parport0
253 1 = /dev/lp1 Parallel printer on parport1 253 1 = /dev/lp1 Parallel printer on parport1
254 ... 254 ...
255 255
256 Current Linux kernels no longer have a fixed mapping 256 Current Linux kernels no longer have a fixed mapping
257 between parallel ports and I/O addresses. Instead, 257 between parallel ports and I/O addresses. Instead,
258 they are redirected through the parport multiplex layer. 258 they are redirected through the parport multiplex layer.
259 259
260 7 char Virtual console capture devices 260 7 char Virtual console capture devices
261 0 = /dev/vcs Current vc text contents 261 0 = /dev/vcs Current vc text contents
262 1 = /dev/vcs1 tty1 text contents 262 1 = /dev/vcs1 tty1 text contents
263 ... 263 ...
264 63 = /dev/vcs63 tty63 text contents 264 63 = /dev/vcs63 tty63 text contents
265 128 = /dev/vcsa Current vc text/attribute contents 265 128 = /dev/vcsa Current vc text/attribute contents
266 129 = /dev/vcsa1 tty1 text/attribute contents 266 129 = /dev/vcsa1 tty1 text/attribute contents
267 ... 267 ...
268 191 = /dev/vcsa63 tty63 text/attribute contents 268 191 = /dev/vcsa63 tty63 text/attribute contents
269 269
270 NOTE: These devices permit both read and write access. 270 NOTE: These devices permit both read and write access.
271 271
272 7 block Loopback devices 272 7 block Loopback devices
273 0 = /dev/loop0 First loop device 273 0 = /dev/loop0 First loop device
274 1 = /dev/loop1 Second loop device 274 1 = /dev/loop1 Second loop device
275 ... 275 ...
276 276
277 The loop devices are used to mount filesystems not 277 The loop devices are used to mount filesystems not
278 associated with block devices. The binding to the 278 associated with block devices. The binding to the
279 loop devices is handled by mount(8) or losetup(8). 279 loop devices is handled by mount(8) or losetup(8).
280 280
281 8 block SCSI disk devices (0-15) 281 8 block SCSI disk devices (0-15)
282 0 = /dev/sda First SCSI disk whole disk 282 0 = /dev/sda First SCSI disk whole disk
283 16 = /dev/sdb Second SCSI disk whole disk 283 16 = /dev/sdb Second SCSI disk whole disk
284 32 = /dev/sdc Third SCSI disk whole disk 284 32 = /dev/sdc Third SCSI disk whole disk
285 ... 285 ...
286 240 = /dev/sdp Sixteenth SCSI disk whole disk 286 240 = /dev/sdp Sixteenth SCSI disk whole disk
287 287
288 Partitions are handled in the same way as for IDE 288 Partitions are handled in the same way as for IDE
289 disks (see major number 3) except that the limit on 289 disks (see major number 3) except that the limit on
290 partitions is 15. 290 partitions is 15.
291 291
292 9 char SCSI tape devices 292 9 char SCSI tape devices
293 0 = /dev/st0 First SCSI tape, mode 0 293 0 = /dev/st0 First SCSI tape, mode 0
294 1 = /dev/st1 Second SCSI tape, mode 0 294 1 = /dev/st1 Second SCSI tape, mode 0
295 ... 295 ...
296 32 = /dev/st0l First SCSI tape, mode 1 296 32 = /dev/st0l First SCSI tape, mode 1
297 33 = /dev/st1l Second SCSI tape, mode 1 297 33 = /dev/st1l Second SCSI tape, mode 1
298 ... 298 ...
299 64 = /dev/st0m First SCSI tape, mode 2 299 64 = /dev/st0m First SCSI tape, mode 2
300 65 = /dev/st1m Second SCSI tape, mode 2 300 65 = /dev/st1m Second SCSI tape, mode 2
301 ... 301 ...
302 96 = /dev/st0a First SCSI tape, mode 3 302 96 = /dev/st0a First SCSI tape, mode 3
303 97 = /dev/st1a Second SCSI tape, mode 3 303 97 = /dev/st1a Second SCSI tape, mode 3
304 ... 304 ...
305 128 = /dev/nst0 First SCSI tape, mode 0, no rewind 305 128 = /dev/nst0 First SCSI tape, mode 0, no rewind
306 129 = /dev/nst1 Second SCSI tape, mode 0, no rewind 306 129 = /dev/nst1 Second SCSI tape, mode 0, no rewind
307 ... 307 ...
308 160 = /dev/nst0l First SCSI tape, mode 1, no rewind 308 160 = /dev/nst0l First SCSI tape, mode 1, no rewind
309 161 = /dev/nst1l Second SCSI tape, mode 1, no rewind 309 161 = /dev/nst1l Second SCSI tape, mode 1, no rewind
310 ... 310 ...
311 192 = /dev/nst0m First SCSI tape, mode 2, no rewind 311 192 = /dev/nst0m First SCSI tape, mode 2, no rewind
312 193 = /dev/nst1m Second SCSI tape, mode 2, no rewind 312 193 = /dev/nst1m Second SCSI tape, mode 2, no rewind
313 ... 313 ...
314 224 = /dev/nst0a First SCSI tape, mode 3, no rewind 314 224 = /dev/nst0a First SCSI tape, mode 3, no rewind
315 225 = /dev/nst1a Second SCSI tape, mode 3, no rewind 315 225 = /dev/nst1a Second SCSI tape, mode 3, no rewind
316 ... 316 ...
317 317
318 "No rewind" refers to the omission of the default 318 "No rewind" refers to the omission of the default
319 automatic rewind on device close. The MTREW or MTOFFL 319 automatic rewind on device close. The MTREW or MTOFFL
320 ioctl()'s can be used to rewind the tape regardless of 320 ioctl()'s can be used to rewind the tape regardless of
321 the device used to access it. 321 the device used to access it.
322 322
323 9 block Metadisk (RAID) devices 323 9 block Metadisk (RAID) devices
324 0 = /dev/md0 First metadisk group 324 0 = /dev/md0 First metadisk group
325 1 = /dev/md1 Second metadisk group 325 1 = /dev/md1 Second metadisk group
326 ... 326 ...
327 327
328 The metadisk driver is used to span a 328 The metadisk driver is used to span a
329 filesystem across multiple physical disks. 329 filesystem across multiple physical disks.
330 330
331 10 char Non-serial mice, misc features 331 10 char Non-serial mice, misc features
332 0 = /dev/logibm Logitech bus mouse 332 0 = /dev/logibm Logitech bus mouse
333 1 = /dev/psaux PS/2-style mouse port 333 1 = /dev/psaux PS/2-style mouse port
334 2 = /dev/inportbm Microsoft Inport bus mouse 334 2 = /dev/inportbm Microsoft Inport bus mouse
335 3 = /dev/atibm ATI XL bus mouse 335 3 = /dev/atibm ATI XL bus mouse
336 4 = /dev/jbm J-mouse 336 4 = /dev/jbm J-mouse
337 4 = /dev/amigamouse Amiga mouse (68k/Amiga) 337 4 = /dev/amigamouse Amiga mouse (68k/Amiga)
338 5 = /dev/atarimouse Atari mouse 338 5 = /dev/atarimouse Atari mouse
339 6 = /dev/sunmouse Sun mouse 339 6 = /dev/sunmouse Sun mouse
340 7 = /dev/amigamouse1 Second Amiga mouse 340 7 = /dev/amigamouse1 Second Amiga mouse
341 8 = /dev/smouse Simple serial mouse driver 341 8 = /dev/smouse Simple serial mouse driver
342 9 = /dev/pc110pad IBM PC-110 digitizer pad 342 9 = /dev/pc110pad IBM PC-110 digitizer pad
343 10 = /dev/adbmouse Apple Desktop Bus mouse 343 10 = /dev/adbmouse Apple Desktop Bus mouse
344 11 = /dev/vrtpanel Vr41xx embedded touch panel 344 11 = /dev/vrtpanel Vr41xx embedded touch panel
345 13 = /dev/vpcmouse Connectix Virtual PC Mouse 345 13 = /dev/vpcmouse Connectix Virtual PC Mouse
346 14 = /dev/touchscreen/ucb1x00 UCB 1x00 touchscreen 346 14 = /dev/touchscreen/ucb1x00 UCB 1x00 touchscreen
347 15 = /dev/touchscreen/mk712 MK712 touchscreen 347 15 = /dev/touchscreen/mk712 MK712 touchscreen
348 128 = /dev/beep Fancy beep device 348 128 = /dev/beep Fancy beep device
349 129 = 349 129 =
350 130 = /dev/watchdog Watchdog timer port 350 130 = /dev/watchdog Watchdog timer port
351 131 = /dev/temperature Machine internal temperature 351 131 = /dev/temperature Machine internal temperature
352 132 = /dev/hwtrap Hardware fault trap 352 132 = /dev/hwtrap Hardware fault trap
353 133 = /dev/exttrp External device trap 353 133 = /dev/exttrp External device trap
354 134 = /dev/apm_bios Advanced Power Management BIOS 354 134 = /dev/apm_bios Advanced Power Management BIOS
355 135 = /dev/rtc Real Time Clock 355 135 = /dev/rtc Real Time Clock
356 139 = /dev/openprom SPARC OpenBoot PROM 356 139 = /dev/openprom SPARC OpenBoot PROM
357 140 = /dev/relay8 Berkshire Products Octal relay card 357 140 = /dev/relay8 Berkshire Products Octal relay card
358 141 = /dev/relay16 Berkshire Products ISO-16 relay card 358 141 = /dev/relay16 Berkshire Products ISO-16 relay card
359 142 = 359 142 =
360 143 = /dev/pciconf PCI configuration space 360 143 = /dev/pciconf PCI configuration space
361 144 = /dev/nvram Non-volatile configuration RAM 361 144 = /dev/nvram Non-volatile configuration RAM
362 145 = /dev/hfmodem Soundcard shortwave modem control 362 145 = /dev/hfmodem Soundcard shortwave modem control
363 146 = /dev/graphics Linux/SGI graphics device 363 146 = /dev/graphics Linux/SGI graphics device
364 147 = /dev/opengl Linux/SGI OpenGL pipe 364 147 = /dev/opengl Linux/SGI OpenGL pipe
365 148 = /dev/gfx Linux/SGI graphics effects device 365 148 = /dev/gfx Linux/SGI graphics effects device
366 149 = /dev/input/mouse Linux/SGI Irix emulation mouse 366 149 = /dev/input/mouse Linux/SGI Irix emulation mouse
367 150 = /dev/input/keyboard Linux/SGI Irix emulation keyboard 367 150 = /dev/input/keyboard Linux/SGI Irix emulation keyboard
368 151 = /dev/led Front panel LEDs 368 151 = /dev/led Front panel LEDs
369 152 = /dev/kpoll Kernel Poll Driver 369 152 = /dev/kpoll Kernel Poll Driver
370 153 = /dev/mergemem Memory merge device 370 153 = /dev/mergemem Memory merge device
371 154 = /dev/pmu Macintosh PowerBook power manager 371 154 = /dev/pmu Macintosh PowerBook power manager
372 155 = /dev/isictl MultiTech ISICom serial control 372 155 = /dev/isictl MultiTech ISICom serial control
373 156 = /dev/lcd Front panel LCD display 373 156 = /dev/lcd Front panel LCD display
374 157 = /dev/ac Applicom Intl Profibus card 374 157 = /dev/ac Applicom Intl Profibus card
375 158 = /dev/nwbutton Netwinder external button 375 158 = /dev/nwbutton Netwinder external button
376 159 = /dev/nwdebug Netwinder debug interface 376 159 = /dev/nwdebug Netwinder debug interface
377 160 = /dev/nwflash Netwinder flash memory 377 160 = /dev/nwflash Netwinder flash memory
378 161 = /dev/userdma User-space DMA access 378 161 = /dev/userdma User-space DMA access
379 162 = /dev/smbus System Management Bus 379 162 = /dev/smbus System Management Bus
380 163 = /dev/lik Logitech Internet Keyboard 380 163 = /dev/lik Logitech Internet Keyboard
381 164 = /dev/ipmo Intel Intelligent Platform Management 381 164 = /dev/ipmo Intel Intelligent Platform Management
382 165 = /dev/vmmon VMWare virtual machine monitor 382 165 = /dev/vmmon VMWare virtual machine monitor
383 166 = /dev/i2o/ctl I2O configuration manager 383 166 = /dev/i2o/ctl I2O configuration manager
384 167 = /dev/specialix_sxctl Specialix serial control 384 167 = /dev/specialix_sxctl Specialix serial control
385 168 = /dev/tcldrv Technology Concepts serial control 385 168 = /dev/tcldrv Technology Concepts serial control
386 169 = /dev/specialix_rioctl Specialix RIO serial control 386 169 = /dev/specialix_rioctl Specialix RIO serial control
387 170 = /dev/thinkpad/thinkpad IBM Thinkpad devices 387 170 = /dev/thinkpad/thinkpad IBM Thinkpad devices
388 171 = /dev/srripc QNX4 API IPC manager 388 171 = /dev/srripc QNX4 API IPC manager
389 172 = /dev/usemaclone Semaphore clone device 389 172 = /dev/usemaclone Semaphore clone device
390 173 = /dev/ipmikcs Intelligent Platform Management 390 173 = /dev/ipmikcs Intelligent Platform Management
391 174 = /dev/uctrl SPARCbook 3 microcontroller 391 174 = /dev/uctrl SPARCbook 3 microcontroller
392 175 = /dev/agpgart AGP Graphics Address Remapping Table 392 175 = /dev/agpgart AGP Graphics Address Remapping Table
393 176 = /dev/gtrsc Gorgy Timing radio clock 393 176 = /dev/gtrsc Gorgy Timing radio clock
394 177 = /dev/cbm Serial CBM bus 394 177 = /dev/cbm Serial CBM bus
395 178 = /dev/jsflash JavaStation OS flash SIMM 395 178 = /dev/jsflash JavaStation OS flash SIMM
396 179 = /dev/xsvc High-speed shared-mem/semaphore service 396 179 = /dev/xsvc High-speed shared-mem/semaphore service
397 180 = /dev/vrbuttons Vr41xx button input device 397 180 = /dev/vrbuttons Vr41xx button input device
398 181 = /dev/toshiba Toshiba laptop SMM support 398 181 = /dev/toshiba Toshiba laptop SMM support
399 182 = /dev/perfctr Performance-monitoring counters 399 182 = /dev/perfctr Performance-monitoring counters
400 183 = /dev/hwrng Generic random number generator 400 183 = /dev/hwrng Generic random number generator
401 184 = /dev/cpu/microcode CPU microcode update interface 401 184 = /dev/cpu/microcode CPU microcode update interface
402 186 = /dev/atomicps Atomic shapshot of process state data 402 186 = /dev/atomicps Atomic shapshot of process state data
403 187 = /dev/irnet IrNET device 403 187 = /dev/irnet IrNET device
404 188 = /dev/smbusbios SMBus BIOS 404 188 = /dev/smbusbios SMBus BIOS
405 189 = /dev/ussp_ctl User space serial port control 405 189 = /dev/ussp_ctl User space serial port control
406 190 = /dev/crash Mission Critical Linux crash dump facility 406 190 = /dev/crash Mission Critical Linux crash dump facility
407 191 = /dev/pcl181 <information missing> 407 191 = /dev/pcl181 <information missing>
408 192 = /dev/nas_xbus NAS xbus LCD/buttons access 408 192 = /dev/nas_xbus NAS xbus LCD/buttons access
409 193 = /dev/d7s SPARC 7-segment display 409 193 = /dev/d7s SPARC 7-segment display
410 194 = /dev/zkshim Zero-Knowledge network shim control 410 194 = /dev/zkshim Zero-Knowledge network shim control
411 195 = /dev/elographics/e2201 Elographics touchscreen E271-2201 411 195 = /dev/elographics/e2201 Elographics touchscreen E271-2201
412 198 = /dev/sexec Signed executable interface 412 198 = /dev/sexec Signed executable interface
413 199 = /dev/scanners/cuecat :CueCat barcode scanner 413 199 = /dev/scanners/cuecat :CueCat barcode scanner
414 200 = /dev/net/tun TAP/TUN network device 414 200 = /dev/net/tun TAP/TUN network device
415 201 = /dev/button/gulpb Transmeta GULP-B buttons 415 201 = /dev/button/gulpb Transmeta GULP-B buttons
416 202 = /dev/emd/ctl Enhanced Metadisk RAID (EMD) control 416 202 = /dev/emd/ctl Enhanced Metadisk RAID (EMD) control
417 204 = /dev/video/em8300 EM8300 DVD decoder control 417 204 = /dev/video/em8300 EM8300 DVD decoder control
418 205 = /dev/video/em8300_mv EM8300 DVD decoder video 418 205 = /dev/video/em8300_mv EM8300 DVD decoder video
419 206 = /dev/video/em8300_ma EM8300 DVD decoder audio 419 206 = /dev/video/em8300_ma EM8300 DVD decoder audio
420 207 = /dev/video/em8300_sp EM8300 DVD decoder subpicture 420 207 = /dev/video/em8300_sp EM8300 DVD decoder subpicture
421 208 = /dev/compaq/cpqphpc Compaq PCI Hot Plug Controller 421 208 = /dev/compaq/cpqphpc Compaq PCI Hot Plug Controller
422 209 = /dev/compaq/cpqrid Compaq Remote Insight Driver 422 209 = /dev/compaq/cpqrid Compaq Remote Insight Driver
423 210 = /dev/impi/bt IMPI coprocessor block transfer 423 210 = /dev/impi/bt IMPI coprocessor block transfer
424 211 = /dev/impi/smic IMPI coprocessor stream interface 424 211 = /dev/impi/smic IMPI coprocessor stream interface
425 212 = /dev/watchdogs/0 First watchdog device 425 212 = /dev/watchdogs/0 First watchdog device
426 213 = /dev/watchdogs/1 Second watchdog device 426 213 = /dev/watchdogs/1 Second watchdog device
427 214 = /dev/watchdogs/2 Third watchdog device 427 214 = /dev/watchdogs/2 Third watchdog device
428 215 = /dev/watchdogs/3 Fourth watchdog device 428 215 = /dev/watchdogs/3 Fourth watchdog device
429 216 = /dev/fujitsu/apanel Fujitsu/Siemens application panel 429 216 = /dev/fujitsu/apanel Fujitsu/Siemens application panel
430 217 = /dev/ni/natmotn National Instruments Motion 430 217 = /dev/ni/natmotn National Instruments Motion
431 218 = /dev/kchuid Inter-process chuid control 431 218 = /dev/kchuid Inter-process chuid control
432 219 = /dev/modems/mwave MWave modem firmware upload 432 219 = /dev/modems/mwave MWave modem firmware upload
433 220 = /dev/mptctl Message passing technology (MPT) control 433 220 = /dev/mptctl Message passing technology (MPT) control
434 221 = /dev/mvista/hssdsi Montavista PICMG hot swap system driver 434 221 = /dev/mvista/hssdsi Montavista PICMG hot swap system driver
435 222 = /dev/mvista/hasi Montavista PICMG high availability 435 222 = /dev/mvista/hasi Montavista PICMG high availability
436 223 = /dev/input/uinput User level driver support for input 436 223 = /dev/input/uinput User level driver support for input
437 224 = /dev/tpm TCPA TPM driver 437 224 = /dev/tpm TCPA TPM driver
438 225 = /dev/pps Pulse Per Second driver 438 225 = /dev/pps Pulse Per Second driver
439 226 = /dev/systrace Systrace device 439 226 = /dev/systrace Systrace device
440 227 = /dev/mcelog X86_64 Machine Check Exception driver 440 227 = /dev/mcelog X86_64 Machine Check Exception driver
441 228 = /dev/hpet HPET driver 441 228 = /dev/hpet HPET driver
442 229 = /dev/fuse Fuse (virtual filesystem in user-space) 442 229 = /dev/fuse Fuse (virtual filesystem in user-space)
443 230 = /dev/midishare MidiShare driver 443 230 = /dev/midishare MidiShare driver
444 231 = /dev/snapshot System memory snapshot device 444 231 = /dev/snapshot System memory snapshot device
445 232 = /dev/kvm Kernel-based virtual machine (hardware virtualization extensions) 445 232 = /dev/kvm Kernel-based virtual machine (hardware virtualization extensions)
446 233 = /dev/kmview View-OS A process with a view 446 233 = /dev/kmview View-OS A process with a view
447 234 = /dev/btrfs-control Btrfs control device 447 234 = /dev/btrfs-control Btrfs control device
448 235 = /dev/autofs Autofs control device 448 235 = /dev/autofs Autofs control device
449 236 = /dev/mapper/control Device-Mapper control device 449 236 = /dev/mapper/control Device-Mapper control device
450 240-254 Reserved for local use 450 240-254 Reserved for local use
451 255 Reserved for MISC_DYNAMIC_MINOR 451 255 Reserved for MISC_DYNAMIC_MINOR
452 452
453 11 char Raw keyboard device (Linux/SPARC only) 453 11 char Raw keyboard device (Linux/SPARC only)
454 0 = /dev/kbd Raw keyboard device 454 0 = /dev/kbd Raw keyboard device
455 455
456 11 char Serial Mux device (Linux/PA-RISC only) 456 11 char Serial Mux device (Linux/PA-RISC only)
457 0 = /dev/ttyB0 First mux port 457 0 = /dev/ttyB0 First mux port
458 1 = /dev/ttyB1 Second mux port 458 1 = /dev/ttyB1 Second mux port
459 ... 459 ...
460 460
461 11 block SCSI CD-ROM devices 461 11 block SCSI CD-ROM devices
462 0 = /dev/scd0 First SCSI CD-ROM 462 0 = /dev/scd0 First SCSI CD-ROM
463 1 = /dev/scd1 Second SCSI CD-ROM 463 1 = /dev/scd1 Second SCSI CD-ROM
464 ... 464 ...
465 465
466 The prefix /dev/sr (instead of /dev/scd) has been deprecated. 466 The prefix /dev/sr (instead of /dev/scd) has been deprecated.
467 467
468 12 char QIC-02 tape 468 12 char QIC-02 tape
469 2 = /dev/ntpqic11 QIC-11, no rewind-on-close 469 2 = /dev/ntpqic11 QIC-11, no rewind-on-close
470 3 = /dev/tpqic11 QIC-11, rewind-on-close 470 3 = /dev/tpqic11 QIC-11, rewind-on-close
471 4 = /dev/ntpqic24 QIC-24, no rewind-on-close 471 4 = /dev/ntpqic24 QIC-24, no rewind-on-close
472 5 = /dev/tpqic24 QIC-24, rewind-on-close 472 5 = /dev/tpqic24 QIC-24, rewind-on-close
473 6 = /dev/ntpqic120 QIC-120, no rewind-on-close 473 6 = /dev/ntpqic120 QIC-120, no rewind-on-close
474 7 = /dev/tpqic120 QIC-120, rewind-on-close 474 7 = /dev/tpqic120 QIC-120, rewind-on-close
475 8 = /dev/ntpqic150 QIC-150, no rewind-on-close 475 8 = /dev/ntpqic150 QIC-150, no rewind-on-close
476 9 = /dev/tpqic150 QIC-150, rewind-on-close 476 9 = /dev/tpqic150 QIC-150, rewind-on-close
477 477
478 The device names specified are proposed -- if there 478 The device names specified are proposed -- if there
479 are "standard" names for these devices, please let me know. 479 are "standard" names for these devices, please let me know.
480 480
481 12 block 481 12 block
482 482
483 13 char Input core 483 13 char Input core
484 0 = /dev/input/js0 First joystick 484 0 = /dev/input/js0 First joystick
485 1 = /dev/input/js1 Second joystick 485 1 = /dev/input/js1 Second joystick
486 ... 486 ...
487 32 = /dev/input/mouse0 First mouse 487 32 = /dev/input/mouse0 First mouse
488 33 = /dev/input/mouse1 Second mouse 488 33 = /dev/input/mouse1 Second mouse
489 ... 489 ...
490 63 = /dev/input/mice Unified mouse 490 63 = /dev/input/mice Unified mouse
491 64 = /dev/input/event0 First event queue 491 64 = /dev/input/event0 First event queue
492 65 = /dev/input/event1 Second event queue 492 65 = /dev/input/event1 Second event queue
493 ... 493 ...
494 494
495 Each device type has 5 bits (32 minors). 495 Each device type has 5 bits (32 minors).
496 496
497 13 block 8-bit MFM/RLL/IDE controller 497 13 block 8-bit MFM/RLL/IDE controller
498 0 = /dev/xda First XT disk whole disk 498 0 = /dev/xda First XT disk whole disk
499 64 = /dev/xdb Second XT disk whole disk 499 64 = /dev/xdb Second XT disk whole disk
500 500
501 Partitions are handled in the same way as IDE disks 501 Partitions are handled in the same way as IDE disks
502 (see major number 3). 502 (see major number 3).
503 503
504 14 char Open Sound System (OSS) 504 14 char Open Sound System (OSS)
505 0 = /dev/mixer Mixer control 505 0 = /dev/mixer Mixer control
506 1 = /dev/sequencer Audio sequencer 506 1 = /dev/sequencer Audio sequencer
507 2 = /dev/midi00 First MIDI port 507 2 = /dev/midi00 First MIDI port
508 3 = /dev/dsp Digital audio 508 3 = /dev/dsp Digital audio
509 4 = /dev/audio Sun-compatible digital audio 509 4 = /dev/audio Sun-compatible digital audio
510 6 = 510 6 =
511 7 = /dev/audioctl SPARC audio control device 511 7 = /dev/audioctl SPARC audio control device
512 8 = /dev/sequencer2 Sequencer -- alternate device 512 8 = /dev/sequencer2 Sequencer -- alternate device
513 16 = /dev/mixer1 Second soundcard mixer control 513 16 = /dev/mixer1 Second soundcard mixer control
514 17 = /dev/patmgr0 Sequencer patch manager 514 17 = /dev/patmgr0 Sequencer patch manager
515 18 = /dev/midi01 Second MIDI port 515 18 = /dev/midi01 Second MIDI port
516 19 = /dev/dsp1 Second soundcard digital audio 516 19 = /dev/dsp1 Second soundcard digital audio
517 20 = /dev/audio1 Second soundcard Sun digital audio 517 20 = /dev/audio1 Second soundcard Sun digital audio
518 33 = /dev/patmgr1 Sequencer patch manager 518 33 = /dev/patmgr1 Sequencer patch manager
519 34 = /dev/midi02 Third MIDI port 519 34 = /dev/midi02 Third MIDI port
520 50 = /dev/midi03 Fourth MIDI port 520 50 = /dev/midi03 Fourth MIDI port
521 521
522 14 block 522 14 block
523 523
524 15 char Joystick 524 15 char Joystick
525 0 = /dev/js0 First analog joystick 525 0 = /dev/js0 First analog joystick
526 1 = /dev/js1 Second analog joystick 526 1 = /dev/js1 Second analog joystick
527 ... 527 ...
528 128 = /dev/djs0 First digital joystick 528 128 = /dev/djs0 First digital joystick
529 129 = /dev/djs1 Second digital joystick 529 129 = /dev/djs1 Second digital joystick
530 ... 530 ...
531 15 block Sony CDU-31A/CDU-33A CD-ROM 531 15 block Sony CDU-31A/CDU-33A CD-ROM
532 0 = /dev/sonycd Sony CDU-31a CD-ROM 532 0 = /dev/sonycd Sony CDU-31a CD-ROM
533 533
534 16 char Non-SCSI scanners 534 16 char Non-SCSI scanners
535 0 = /dev/gs4500 Genius 4500 handheld scanner 535 0 = /dev/gs4500 Genius 4500 handheld scanner
536 536
537 16 block GoldStar CD-ROM 537 16 block GoldStar CD-ROM
538 0 = /dev/gscd GoldStar CD-ROM 538 0 = /dev/gscd GoldStar CD-ROM
539 539
540 17 char OBSOLETE (was Chase serial card) 540 17 char OBSOLETE (was Chase serial card)
541 0 = /dev/ttyH0 First Chase port 541 0 = /dev/ttyH0 First Chase port
542 1 = /dev/ttyH1 Second Chase port 542 1 = /dev/ttyH1 Second Chase port
543 ... 543 ...
544 17 block Optics Storage CD-ROM 544 17 block Optics Storage CD-ROM
545 0 = /dev/optcd Optics Storage CD-ROM 545 0 = /dev/optcd Optics Storage CD-ROM
546 546
547 18 char OBSOLETE (was Chase serial card - alternate devices) 547 18 char OBSOLETE (was Chase serial card - alternate devices)
548 0 = /dev/cuh0 Callout device for ttyH0 548 0 = /dev/cuh0 Callout device for ttyH0
549 1 = /dev/cuh1 Callout device for ttyH1 549 1 = /dev/cuh1 Callout device for ttyH1
550 ... 550 ...
551 18 block Sanyo CD-ROM 551 18 block Sanyo CD-ROM
552 0 = /dev/sjcd Sanyo CD-ROM 552 0 = /dev/sjcd Sanyo CD-ROM
553 553
554 19 char Cyclades serial card 554 19 char Cyclades serial card
555 0 = /dev/ttyC0 First Cyclades port 555 0 = /dev/ttyC0 First Cyclades port
556 ... 556 ...
557 31 = /dev/ttyC31 32nd Cyclades port 557 31 = /dev/ttyC31 32nd Cyclades port
558 558
559 19 block "Double" compressed disk 559 19 block "Double" compressed disk
560 0 = /dev/double0 First compressed disk 560 0 = /dev/double0 First compressed disk
561 ... 561 ...
562 7 = /dev/double7 Eighth compressed disk 562 7 = /dev/double7 Eighth compressed disk
563 128 = /dev/cdouble0 Mirror of first compressed disk 563 128 = /dev/cdouble0 Mirror of first compressed disk
564 ... 564 ...
565 135 = /dev/cdouble7 Mirror of eighth compressed disk 565 135 = /dev/cdouble7 Mirror of eighth compressed disk
566 566
567 See the Double documentation for the meaning of the 567 See the Double documentation for the meaning of the
568 mirror devices. 568 mirror devices.
569 569
570 20 char Cyclades serial card - alternate devices 570 20 char Cyclades serial card - alternate devices
571 0 = /dev/cub0 Callout device for ttyC0 571 0 = /dev/cub0 Callout device for ttyC0
572 ... 572 ...
573 31 = /dev/cub31 Callout device for ttyC31 573 31 = /dev/cub31 Callout device for ttyC31
574 574
575 20 block Hitachi CD-ROM (under development) 575 20 block Hitachi CD-ROM (under development)
576 0 = /dev/hitcd Hitachi CD-ROM 576 0 = /dev/hitcd Hitachi CD-ROM
577 577
578 21 char Generic SCSI access 578 21 char Generic SCSI access
579 0 = /dev/sg0 First generic SCSI device 579 0 = /dev/sg0 First generic SCSI device
580 1 = /dev/sg1 Second generic SCSI device 580 1 = /dev/sg1 Second generic SCSI device
581 ... 581 ...
582 582
583 Most distributions name these /dev/sga, /dev/sgb...; 583 Most distributions name these /dev/sga, /dev/sgb...;
584 this sets an unnecessary limit of 26 SCSI devices in 584 this sets an unnecessary limit of 26 SCSI devices in
585 the system and is counter to standard Linux 585 the system and is counter to standard Linux
586 device-naming practice. 586 device-naming practice.
587 587
588 21 block Acorn MFM hard drive interface 588 21 block Acorn MFM hard drive interface
589 0 = /dev/mfma First MFM drive whole disk 589 0 = /dev/mfma First MFM drive whole disk
590 64 = /dev/mfmb Second MFM drive whole disk 590 64 = /dev/mfmb Second MFM drive whole disk
591 591
592 This device is used on the ARM-based Acorn RiscPC. 592 This device is used on the ARM-based Acorn RiscPC.
593 Partitions are handled the same way as for IDE disks 593 Partitions are handled the same way as for IDE disks
594 (see major number 3). 594 (see major number 3).
595 595
596 22 char Digiboard serial card 596 22 char Digiboard serial card
597 0 = /dev/ttyD0 First Digiboard port 597 0 = /dev/ttyD0 First Digiboard port
598 1 = /dev/ttyD1 Second Digiboard port 598 1 = /dev/ttyD1 Second Digiboard port
599 ... 599 ...
600 22 block Second IDE hard disk/CD-ROM interface 600 22 block Second IDE hard disk/CD-ROM interface
601 0 = /dev/hdc Master: whole disk (or CD-ROM) 601 0 = /dev/hdc Master: whole disk (or CD-ROM)
602 64 = /dev/hdd Slave: whole disk (or CD-ROM) 602 64 = /dev/hdd Slave: whole disk (or CD-ROM)
603 603
604 Partitions are handled the same way as for the first 604 Partitions are handled the same way as for the first
605 interface (see major number 3). 605 interface (see major number 3).
606 606
607 23 char Digiboard serial card - alternate devices 607 23 char Digiboard serial card - alternate devices
608 0 = /dev/cud0 Callout device for ttyD0 608 0 = /dev/cud0 Callout device for ttyD0
609 1 = /dev/cud1 Callout device for ttyD1 609 1 = /dev/cud1 Callout device for ttyD1
610 ... 610 ...
611 23 block Mitsumi proprietary CD-ROM 611 23 block Mitsumi proprietary CD-ROM
612 0 = /dev/mcd Mitsumi CD-ROM 612 0 = /dev/mcd Mitsumi CD-ROM
613 613
614 24 char Stallion serial card 614 24 char Stallion serial card
615 0 = /dev/ttyE0 Stallion port 0 card 0 615 0 = /dev/ttyE0 Stallion port 0 card 0
616 1 = /dev/ttyE1 Stallion port 1 card 0 616 1 = /dev/ttyE1 Stallion port 1 card 0
617 ... 617 ...
618 64 = /dev/ttyE64 Stallion port 0 card 1 618 64 = /dev/ttyE64 Stallion port 0 card 1
619 65 = /dev/ttyE65 Stallion port 1 card 1 619 65 = /dev/ttyE65 Stallion port 1 card 1
620 ... 620 ...
621 128 = /dev/ttyE128 Stallion port 0 card 2 621 128 = /dev/ttyE128 Stallion port 0 card 2
622 129 = /dev/ttyE129 Stallion port 1 card 2 622 129 = /dev/ttyE129 Stallion port 1 card 2
623 ... 623 ...
624 192 = /dev/ttyE192 Stallion port 0 card 3 624 192 = /dev/ttyE192 Stallion port 0 card 3
625 193 = /dev/ttyE193 Stallion port 1 card 3 625 193 = /dev/ttyE193 Stallion port 1 card 3
626 ... 626 ...
627 24 block Sony CDU-535 CD-ROM 627 24 block Sony CDU-535 CD-ROM
628 0 = /dev/cdu535 Sony CDU-535 CD-ROM 628 0 = /dev/cdu535 Sony CDU-535 CD-ROM
629 629
630 25 char Stallion serial card - alternate devices 630 25 char Stallion serial card - alternate devices
631 0 = /dev/cue0 Callout device for ttyE0 631 0 = /dev/cue0 Callout device for ttyE0
632 1 = /dev/cue1 Callout device for ttyE1 632 1 = /dev/cue1 Callout device for ttyE1
633 ... 633 ...
634 64 = /dev/cue64 Callout device for ttyE64 634 64 = /dev/cue64 Callout device for ttyE64
635 65 = /dev/cue65 Callout device for ttyE65 635 65 = /dev/cue65 Callout device for ttyE65
636 ... 636 ...
637 128 = /dev/cue128 Callout device for ttyE128 637 128 = /dev/cue128 Callout device for ttyE128
638 129 = /dev/cue129 Callout device for ttyE129 638 129 = /dev/cue129 Callout device for ttyE129
639 ... 639 ...
640 192 = /dev/cue192 Callout device for ttyE192 640 192 = /dev/cue192 Callout device for ttyE192
641 193 = /dev/cue193 Callout device for ttyE193 641 193 = /dev/cue193 Callout device for ttyE193
642 ... 642 ...
643 25 block First Matsushita (Panasonic/SoundBlaster) CD-ROM 643 25 block First Matsushita (Panasonic/SoundBlaster) CD-ROM
644 0 = /dev/sbpcd0 Panasonic CD-ROM controller 0 unit 0 644 0 = /dev/sbpcd0 Panasonic CD-ROM controller 0 unit 0
645 1 = /dev/sbpcd1 Panasonic CD-ROM controller 0 unit 1 645 1 = /dev/sbpcd1 Panasonic CD-ROM controller 0 unit 1
646 2 = /dev/sbpcd2 Panasonic CD-ROM controller 0 unit 2 646 2 = /dev/sbpcd2 Panasonic CD-ROM controller 0 unit 2
647 3 = /dev/sbpcd3 Panasonic CD-ROM controller 0 unit 3 647 3 = /dev/sbpcd3 Panasonic CD-ROM controller 0 unit 3
648 648
649 26 char 649 26 char
650 650
651 26 block Second Matsushita (Panasonic/SoundBlaster) CD-ROM 651 26 block Second Matsushita (Panasonic/SoundBlaster) CD-ROM
652 0 = /dev/sbpcd4 Panasonic CD-ROM controller 1 unit 0 652 0 = /dev/sbpcd4 Panasonic CD-ROM controller 1 unit 0
653 1 = /dev/sbpcd5 Panasonic CD-ROM controller 1 unit 1 653 1 = /dev/sbpcd5 Panasonic CD-ROM controller 1 unit 1
654 2 = /dev/sbpcd6 Panasonic CD-ROM controller 1 unit 2 654 2 = /dev/sbpcd6 Panasonic CD-ROM controller 1 unit 2
655 3 = /dev/sbpcd7 Panasonic CD-ROM controller 1 unit 3 655 3 = /dev/sbpcd7 Panasonic CD-ROM controller 1 unit 3
656 656
657 27 char QIC-117 tape 657 27 char QIC-117 tape
658 0 = /dev/qft0 Unit 0, rewind-on-close 658 0 = /dev/qft0 Unit 0, rewind-on-close
659 1 = /dev/qft1 Unit 1, rewind-on-close 659 1 = /dev/qft1 Unit 1, rewind-on-close
660 2 = /dev/qft2 Unit 2, rewind-on-close 660 2 = /dev/qft2 Unit 2, rewind-on-close
661 3 = /dev/qft3 Unit 3, rewind-on-close 661 3 = /dev/qft3 Unit 3, rewind-on-close
662 4 = /dev/nqft0 Unit 0, no rewind-on-close 662 4 = /dev/nqft0 Unit 0, no rewind-on-close
663 5 = /dev/nqft1 Unit 1, no rewind-on-close 663 5 = /dev/nqft1 Unit 1, no rewind-on-close
664 6 = /dev/nqft2 Unit 2, no rewind-on-close 664 6 = /dev/nqft2 Unit 2, no rewind-on-close
665 7 = /dev/nqft3 Unit 3, no rewind-on-close 665 7 = /dev/nqft3 Unit 3, no rewind-on-close
666 16 = /dev/zqft0 Unit 0, rewind-on-close, compression 666 16 = /dev/zqft0 Unit 0, rewind-on-close, compression
667 17 = /dev/zqft1 Unit 1, rewind-on-close, compression 667 17 = /dev/zqft1 Unit 1, rewind-on-close, compression
668 18 = /dev/zqft2 Unit 2, rewind-on-close, compression 668 18 = /dev/zqft2 Unit 2, rewind-on-close, compression
669 19 = /dev/zqft3 Unit 3, rewind-on-close, compression 669 19 = /dev/zqft3 Unit 3, rewind-on-close, compression
670 20 = /dev/nzqft0 Unit 0, no rewind-on-close, compression 670 20 = /dev/nzqft0 Unit 0, no rewind-on-close, compression
671 21 = /dev/nzqft1 Unit 1, no rewind-on-close, compression 671 21 = /dev/nzqft1 Unit 1, no rewind-on-close, compression
672 22 = /dev/nzqft2 Unit 2, no rewind-on-close, compression 672 22 = /dev/nzqft2 Unit 2, no rewind-on-close, compression
673 23 = /dev/nzqft3 Unit 3, no rewind-on-close, compression 673 23 = /dev/nzqft3 Unit 3, no rewind-on-close, compression
674 32 = /dev/rawqft0 Unit 0, rewind-on-close, no file marks 674 32 = /dev/rawqft0 Unit 0, rewind-on-close, no file marks
675 33 = /dev/rawqft1 Unit 1, rewind-on-close, no file marks 675 33 = /dev/rawqft1 Unit 1, rewind-on-close, no file marks
676 34 = /dev/rawqft2 Unit 2, rewind-on-close, no file marks 676 34 = /dev/rawqft2 Unit 2, rewind-on-close, no file marks
677 35 = /dev/rawqft3 Unit 3, rewind-on-close, no file marks 677 35 = /dev/rawqft3 Unit 3, rewind-on-close, no file marks
678 36 = /dev/nrawqft0 Unit 0, no rewind-on-close, no file marks 678 36 = /dev/nrawqft0 Unit 0, no rewind-on-close, no file marks
679 37 = /dev/nrawqft1 Unit 1, no rewind-on-close, no file marks 679 37 = /dev/nrawqft1 Unit 1, no rewind-on-close, no file marks
680 38 = /dev/nrawqft2 Unit 2, no rewind-on-close, no file marks 680 38 = /dev/nrawqft2 Unit 2, no rewind-on-close, no file marks
681 39 = /dev/nrawqft3 Unit 3, no rewind-on-close, no file marks 681 39 = /dev/nrawqft3 Unit 3, no rewind-on-close, no file marks
682 682
683 27 block Third Matsushita (Panasonic/SoundBlaster) CD-ROM 683 27 block Third Matsushita (Panasonic/SoundBlaster) CD-ROM
684 0 = /dev/sbpcd8 Panasonic CD-ROM controller 2 unit 0 684 0 = /dev/sbpcd8 Panasonic CD-ROM controller 2 unit 0
685 1 = /dev/sbpcd9 Panasonic CD-ROM controller 2 unit 1 685 1 = /dev/sbpcd9 Panasonic CD-ROM controller 2 unit 1
686 2 = /dev/sbpcd10 Panasonic CD-ROM controller 2 unit 2 686 2 = /dev/sbpcd10 Panasonic CD-ROM controller 2 unit 2
687 3 = /dev/sbpcd11 Panasonic CD-ROM controller 2 unit 3 687 3 = /dev/sbpcd11 Panasonic CD-ROM controller 2 unit 3
688 688
689 28 char Stallion serial card - card programming 689 28 char Stallion serial card - card programming
690 0 = /dev/staliomem0 First Stallion card I/O memory 690 0 = /dev/staliomem0 First Stallion card I/O memory
691 1 = /dev/staliomem1 Second Stallion card I/O memory 691 1 = /dev/staliomem1 Second Stallion card I/O memory
692 2 = /dev/staliomem2 Third Stallion card I/O memory 692 2 = /dev/staliomem2 Third Stallion card I/O memory
693 3 = /dev/staliomem3 Fourth Stallion card I/O memory 693 3 = /dev/staliomem3 Fourth Stallion card I/O memory
694 694
695 28 char Atari SLM ACSI laser printer (68k/Atari) 695 28 char Atari SLM ACSI laser printer (68k/Atari)
696 0 = /dev/slm0 First SLM laser printer 696 0 = /dev/slm0 First SLM laser printer
697 1 = /dev/slm1 Second SLM laser printer 697 1 = /dev/slm1 Second SLM laser printer
698 ... 698 ...
699 28 block Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM 699 28 block Fourth Matsushita (Panasonic/SoundBlaster) CD-ROM
700 0 = /dev/sbpcd12 Panasonic CD-ROM controller 3 unit 0 700 0 = /dev/sbpcd12 Panasonic CD-ROM controller 3 unit 0
701 1 = /dev/sbpcd13 Panasonic CD-ROM controller 3 unit 1 701 1 = /dev/sbpcd13 Panasonic CD-ROM controller 3 unit 1
702 2 = /dev/sbpcd14 Panasonic CD-ROM controller 3 unit 2 702 2 = /dev/sbpcd14 Panasonic CD-ROM controller 3 unit 2
703 3 = /dev/sbpcd15 Panasonic CD-ROM controller 3 unit 3 703 3 = /dev/sbpcd15 Panasonic CD-ROM controller 3 unit 3
704 704
705 28 block ACSI disk (68k/Atari) 705 28 block ACSI disk (68k/Atari)
706 0 = /dev/ada First ACSI disk whole disk 706 0 = /dev/ada First ACSI disk whole disk
707 16 = /dev/adb Second ACSI disk whole disk 707 16 = /dev/adb Second ACSI disk whole disk
708 32 = /dev/adc Third ACSI disk whole disk 708 32 = /dev/adc Third ACSI disk whole disk
709 ... 709 ...
710 240 = /dev/adp 16th ACSI disk whole disk 710 240 = /dev/adp 16th ACSI disk whole disk
711 711
712 Partitions are handled in the same way as for IDE 712 Partitions are handled in the same way as for IDE
713 disks (see major number 3) except that the limit on 713 disks (see major number 3) except that the limit on
714 partitions is 15, like SCSI. 714 partitions is 15, like SCSI.
715 715
716 29 char Universal frame buffer 716 29 char Universal frame buffer
717 0 = /dev/fb0 First frame buffer 717 0 = /dev/fb0 First frame buffer
718 1 = /dev/fb1 Second frame buffer 718 1 = /dev/fb1 Second frame buffer
719 ... 719 ...
720 31 = /dev/fb31 32nd frame buffer 720 31 = /dev/fb31 32nd frame buffer
721 721
722 29 block Aztech/Orchid/Okano/Wearnes CD-ROM 722 29 block Aztech/Orchid/Okano/Wearnes CD-ROM
723 0 = /dev/aztcd Aztech CD-ROM 723 0 = /dev/aztcd Aztech CD-ROM
724 724
725 30 char iBCS-2 compatibility devices 725 30 char iBCS-2 compatibility devices
726 0 = /dev/socksys Socket access 726 0 = /dev/socksys Socket access
727 1 = /dev/spx SVR3 local X interface 727 1 = /dev/spx SVR3 local X interface
728 32 = /dev/inet/ip Network access 728 32 = /dev/inet/ip Network access
729 33 = /dev/inet/icmp 729 33 = /dev/inet/icmp
730 34 = /dev/inet/ggp 730 34 = /dev/inet/ggp
731 35 = /dev/inet/ipip 731 35 = /dev/inet/ipip
732 36 = /dev/inet/tcp 732 36 = /dev/inet/tcp
733 37 = /dev/inet/egp 733 37 = /dev/inet/egp
734 38 = /dev/inet/pup 734 38 = /dev/inet/pup
735 39 = /dev/inet/udp 735 39 = /dev/inet/udp
736 40 = /dev/inet/idp 736 40 = /dev/inet/idp
737 41 = /dev/inet/rawip 737 41 = /dev/inet/rawip
738 738
739 Additionally, iBCS-2 requires the following links: 739 Additionally, iBCS-2 requires the following links:
740 740
741 /dev/ip -> /dev/inet/ip 741 /dev/ip -> /dev/inet/ip
742 /dev/icmp -> /dev/inet/icmp 742 /dev/icmp -> /dev/inet/icmp
743 /dev/ggp -> /dev/inet/ggp 743 /dev/ggp -> /dev/inet/ggp
744 /dev/ipip -> /dev/inet/ipip 744 /dev/ipip -> /dev/inet/ipip
745 /dev/tcp -> /dev/inet/tcp 745 /dev/tcp -> /dev/inet/tcp
746 /dev/egp -> /dev/inet/egp 746 /dev/egp -> /dev/inet/egp
747 /dev/pup -> /dev/inet/pup 747 /dev/pup -> /dev/inet/pup
748 /dev/udp -> /dev/inet/udp 748 /dev/udp -> /dev/inet/udp
749 /dev/idp -> /dev/inet/idp 749 /dev/idp -> /dev/inet/idp
750 /dev/rawip -> /dev/inet/rawip 750 /dev/rawip -> /dev/inet/rawip
751 /dev/inet/arp -> /dev/inet/udp 751 /dev/inet/arp -> /dev/inet/udp
752 /dev/inet/rip -> /dev/inet/udp 752 /dev/inet/rip -> /dev/inet/udp
753 /dev/nfsd -> /dev/socksys 753 /dev/nfsd -> /dev/socksys
754 /dev/X0R -> /dev/null (? apparently not required ?) 754 /dev/X0R -> /dev/null (? apparently not required ?)
755 755
756 30 block Philips LMS CM-205 CD-ROM 756 30 block Philips LMS CM-205 CD-ROM
757 0 = /dev/cm205cd Philips LMS CM-205 CD-ROM 757 0 = /dev/cm205cd Philips LMS CM-205 CD-ROM
758 758
759 /dev/lmscd is an older name for this device. This 759 /dev/lmscd is an older name for this device. This
760 driver does not work with the CM-205MS CD-ROM. 760 driver does not work with the CM-205MS CD-ROM.
761 761
762 31 char MPU-401 MIDI 762 31 char MPU-401 MIDI
763 0 = /dev/mpu401data MPU-401 data port 763 0 = /dev/mpu401data MPU-401 data port
764 1 = /dev/mpu401stat MPU-401 status port 764 1 = /dev/mpu401stat MPU-401 status port
765 765
766 31 block ROM/flash memory card 766 31 block ROM/flash memory card
767 0 = /dev/rom0 First ROM card (rw) 767 0 = /dev/rom0 First ROM card (rw)
768 ... 768 ...
769 7 = /dev/rom7 Eighth ROM card (rw) 769 7 = /dev/rom7 Eighth ROM card (rw)
770 8 = /dev/rrom0 First ROM card (ro) 770 8 = /dev/rrom0 First ROM card (ro)
771 ... 771 ...
772 15 = /dev/rrom7 Eighth ROM card (ro) 772 15 = /dev/rrom7 Eighth ROM card (ro)
773 16 = /dev/flash0 First flash memory card (rw) 773 16 = /dev/flash0 First flash memory card (rw)
774 ... 774 ...
775 23 = /dev/flash7 Eighth flash memory card (rw) 775 23 = /dev/flash7 Eighth flash memory card (rw)
776 24 = /dev/rflash0 First flash memory card (ro) 776 24 = /dev/rflash0 First flash memory card (ro)
777 ... 777 ...
778 31 = /dev/rflash7 Eighth flash memory card (ro) 778 31 = /dev/rflash7 Eighth flash memory card (ro)
779 779
780 The read-write (rw) devices support back-caching 780 The read-write (rw) devices support back-caching
781 written data in RAM, as well as writing to flash RAM 781 written data in RAM, as well as writing to flash RAM
782 devices. The read-only devices (ro) support reading 782 devices. The read-only devices (ro) support reading
783 only. 783 only.
784 784
785 32 char Specialix serial card 785 32 char Specialix serial card
786 0 = /dev/ttyX0 First Specialix port 786 0 = /dev/ttyX0 First Specialix port
787 1 = /dev/ttyX1 Second Specialix port 787 1 = /dev/ttyX1 Second Specialix port
788 ... 788 ...
789 32 block Philips LMS CM-206 CD-ROM 789 32 block Philips LMS CM-206 CD-ROM
790 0 = /dev/cm206cd Philips LMS CM-206 CD-ROM 790 0 = /dev/cm206cd Philips LMS CM-206 CD-ROM
791 791
792 33 char Specialix serial card - alternate devices 792 33 char Specialix serial card - alternate devices
793 0 = /dev/cux0 Callout device for ttyX0 793 0 = /dev/cux0 Callout device for ttyX0
794 1 = /dev/cux1 Callout device for ttyX1 794 1 = /dev/cux1 Callout device for ttyX1
795 ... 795 ...
796 33 block Third IDE hard disk/CD-ROM interface 796 33 block Third IDE hard disk/CD-ROM interface
797 0 = /dev/hde Master: whole disk (or CD-ROM) 797 0 = /dev/hde Master: whole disk (or CD-ROM)
798 64 = /dev/hdf Slave: whole disk (or CD-ROM) 798 64 = /dev/hdf Slave: whole disk (or CD-ROM)
799 799
800 Partitions are handled the same way as for the first 800 Partitions are handled the same way as for the first
801 interface (see major number 3). 801 interface (see major number 3).
802 802
803 34 char Z8530 HDLC driver 803 34 char Z8530 HDLC driver
804 0 = /dev/scc0 First Z8530, first port 804 0 = /dev/scc0 First Z8530, first port
805 1 = /dev/scc1 First Z8530, second port 805 1 = /dev/scc1 First Z8530, second port
806 2 = /dev/scc2 Second Z8530, first port 806 2 = /dev/scc2 Second Z8530, first port
807 3 = /dev/scc3 Second Z8530, second port 807 3 = /dev/scc3 Second Z8530, second port
808 ... 808 ...
809 809
810 In a previous version these devices were named 810 In a previous version these devices were named
811 /dev/sc1 for /dev/scc0, /dev/sc2 for /dev/scc1, and so 811 /dev/sc1 for /dev/scc0, /dev/sc2 for /dev/scc1, and so
812 on. 812 on.
813 813
814 34 block Fourth IDE hard disk/CD-ROM interface 814 34 block Fourth IDE hard disk/CD-ROM interface
815 0 = /dev/hdg Master: whole disk (or CD-ROM) 815 0 = /dev/hdg Master: whole disk (or CD-ROM)
816 64 = /dev/hdh Slave: whole disk (or CD-ROM) 816 64 = /dev/hdh Slave: whole disk (or CD-ROM)
817 817
818 Partitions are handled the same way as for the first 818 Partitions are handled the same way as for the first
819 interface (see major number 3). 819 interface (see major number 3).
820 820
821 35 char tclmidi MIDI driver 821 35 char tclmidi MIDI driver
822 0 = /dev/midi0 First MIDI port, kernel timed 822 0 = /dev/midi0 First MIDI port, kernel timed
823 1 = /dev/midi1 Second MIDI port, kernel timed 823 1 = /dev/midi1 Second MIDI port, kernel timed
824 2 = /dev/midi2 Third MIDI port, kernel timed 824 2 = /dev/midi2 Third MIDI port, kernel timed
825 3 = /dev/midi3 Fourth MIDI port, kernel timed 825 3 = /dev/midi3 Fourth MIDI port, kernel timed
826 64 = /dev/rmidi0 First MIDI port, untimed 826 64 = /dev/rmidi0 First MIDI port, untimed
827 65 = /dev/rmidi1 Second MIDI port, untimed 827 65 = /dev/rmidi1 Second MIDI port, untimed
828 66 = /dev/rmidi2 Third MIDI port, untimed 828 66 = /dev/rmidi2 Third MIDI port, untimed
829 67 = /dev/rmidi3 Fourth MIDI port, untimed 829 67 = /dev/rmidi3 Fourth MIDI port, untimed
830 128 = /dev/smpte0 First MIDI port, SMPTE timed 830 128 = /dev/smpte0 First MIDI port, SMPTE timed
831 129 = /dev/smpte1 Second MIDI port, SMPTE timed 831 129 = /dev/smpte1 Second MIDI port, SMPTE timed
832 130 = /dev/smpte2 Third MIDI port, SMPTE timed 832 130 = /dev/smpte2 Third MIDI port, SMPTE timed
833 131 = /dev/smpte3 Fourth MIDI port, SMPTE timed 833 131 = /dev/smpte3 Fourth MIDI port, SMPTE timed
834 834
835 35 block Slow memory ramdisk 835 35 block Slow memory ramdisk
836 0 = /dev/slram Slow memory ramdisk 836 0 = /dev/slram Slow memory ramdisk
837 837
838 36 char Netlink support 838 36 char Netlink support
839 0 = /dev/route Routing, device updates, kernel to user 839 0 = /dev/route Routing, device updates, kernel to user
840 1 = /dev/skip enSKIP security cache control 840 1 = /dev/skip enSKIP security cache control
841 3 = /dev/fwmonitor Firewall packet copies 841 3 = /dev/fwmonitor Firewall packet copies
842 16 = /dev/tap0 First Ethertap device 842 16 = /dev/tap0 First Ethertap device
843 ... 843 ...
844 31 = /dev/tap15 16th Ethertap device 844 31 = /dev/tap15 16th Ethertap device
845 845
846 36 block MCA ESDI hard disk 846 36 block MCA ESDI hard disk
847 0 = /dev/eda First ESDI disk whole disk 847 0 = /dev/eda First ESDI disk whole disk
848 64 = /dev/edb Second ESDI disk whole disk 848 64 = /dev/edb Second ESDI disk whole disk
849 ... 849 ...
850 850
851 Partitions are handled in the same way as IDE disks 851 Partitions are handled in the same way as IDE disks
852 (see major number 3). 852 (see major number 3).
853 853
854 37 char IDE tape 854 37 char IDE tape
855 0 = /dev/ht0 First IDE tape 855 0 = /dev/ht0 First IDE tape
856 1 = /dev/ht1 Second IDE tape 856 1 = /dev/ht1 Second IDE tape
857 ... 857 ...
858 128 = /dev/nht0 First IDE tape, no rewind-on-close 858 128 = /dev/nht0 First IDE tape, no rewind-on-close
859 129 = /dev/nht1 Second IDE tape, no rewind-on-close 859 129 = /dev/nht1 Second IDE tape, no rewind-on-close
860 ... 860 ...
861 861
862 Currently, only one IDE tape drive is supported. 862 Currently, only one IDE tape drive is supported.
863 863
864 37 block Zorro II ramdisk 864 37 block Zorro II ramdisk
865 0 = /dev/z2ram Zorro II ramdisk 865 0 = /dev/z2ram Zorro II ramdisk
866 866
867 38 char Myricom PCI Myrinet board 867 38 char Myricom PCI Myrinet board
868 0 = /dev/mlanai0 First Myrinet board 868 0 = /dev/mlanai0 First Myrinet board
869 1 = /dev/mlanai1 Second Myrinet board 869 1 = /dev/mlanai1 Second Myrinet board
870 ... 870 ...
871 871
872 This device is used for status query, board control 872 This device is used for status query, board control
873 and "user level packet I/O." This board is also 873 and "user level packet I/O." This board is also
874 accessible as a standard networking "eth" device. 874 accessible as a standard networking "eth" device.
875 875
876 38 block OBSOLETE (was Linux/AP+) 876 38 block OBSOLETE (was Linux/AP+)
877 877
878 39 char ML-16P experimental I/O board 878 39 char ML-16P experimental I/O board
879 0 = /dev/ml16pa-a0 First card, first analog channel 879 0 = /dev/ml16pa-a0 First card, first analog channel
880 1 = /dev/ml16pa-a1 First card, second analog channel 880 1 = /dev/ml16pa-a1 First card, second analog channel
881 ... 881 ...
882 15 = /dev/ml16pa-a15 First card, 16th analog channel 882 15 = /dev/ml16pa-a15 First card, 16th analog channel
883 16 = /dev/ml16pa-d First card, digital lines 883 16 = /dev/ml16pa-d First card, digital lines
884 17 = /dev/ml16pa-c0 First card, first counter/timer 884 17 = /dev/ml16pa-c0 First card, first counter/timer
885 18 = /dev/ml16pa-c1 First card, second counter/timer 885 18 = /dev/ml16pa-c1 First card, second counter/timer
886 19 = /dev/ml16pa-c2 First card, third counter/timer 886 19 = /dev/ml16pa-c2 First card, third counter/timer
887 32 = /dev/ml16pb-a0 Second card, first analog channel 887 32 = /dev/ml16pb-a0 Second card, first analog channel
888 33 = /dev/ml16pb-a1 Second card, second analog channel 888 33 = /dev/ml16pb-a1 Second card, second analog channel
889 ... 889 ...
890 47 = /dev/ml16pb-a15 Second card, 16th analog channel 890 47 = /dev/ml16pb-a15 Second card, 16th analog channel
891 48 = /dev/ml16pb-d Second card, digital lines 891 48 = /dev/ml16pb-d Second card, digital lines
892 49 = /dev/ml16pb-c0 Second card, first counter/timer 892 49 = /dev/ml16pb-c0 Second card, first counter/timer
893 50 = /dev/ml16pb-c1 Second card, second counter/timer 893 50 = /dev/ml16pb-c1 Second card, second counter/timer
894 51 = /dev/ml16pb-c2 Second card, third counter/timer 894 51 = /dev/ml16pb-c2 Second card, third counter/timer
895 ... 895 ...
896 39 block 896 39 block
897 897
898 40 char 898 40 char
899 899
900 40 block 900 40 block
901 901
902 41 char Yet Another Micro Monitor 902 41 char Yet Another Micro Monitor
903 0 = /dev/yamm Yet Another Micro Monitor 903 0 = /dev/yamm Yet Another Micro Monitor
904 904
905 41 block 905 41 block
906 906
907 42 char Demo/sample use 907 42 char Demo/sample use
908 908
909 42 block Demo/sample use 909 42 block Demo/sample use
910 910
911 This number is intended for use in sample code, as 911 This number is intended for use in sample code, as
912 well as a general "example" device number. It 912 well as a general "example" device number. It
913 should never be used for a device driver that is being 913 should never be used for a device driver that is being
914 distributed; either obtain an official number or use 914 distributed; either obtain an official number or use
915 the local/experimental range. The sudden addition or 915 the local/experimental range. The sudden addition or
916 removal of a driver with this number should not cause 916 removal of a driver with this number should not cause
917 ill effects to the system (bugs excepted.) 917 ill effects to the system (bugs excepted.)
918 918
919 IN PARTICULAR, ANY DISTRIBUTION WHICH CONTAINS A 919 IN PARTICULAR, ANY DISTRIBUTION WHICH CONTAINS A
920 DEVICE DRIVER USING MAJOR NUMBER 42 IS NONCOMPLIANT. 920 DEVICE DRIVER USING MAJOR NUMBER 42 IS NONCOMPLIANT.
921 921
922 43 char isdn4linux virtual modem 922 43 char isdn4linux virtual modem
923 0 = /dev/ttyI0 First virtual modem 923 0 = /dev/ttyI0 First virtual modem
924 ... 924 ...
925 63 = /dev/ttyI63 64th virtual modem 925 63 = /dev/ttyI63 64th virtual modem
926 926
927 43 block Network block devices 927 43 block Network block devices
928 0 = /dev/nb0 First network block device 928 0 = /dev/nb0 First network block device
929 1 = /dev/nb1 Second network block device 929 1 = /dev/nb1 Second network block device
930 ... 930 ...
931 931
932 Network Block Device is somehow similar to loopback 932 Network Block Device is somehow similar to loopback
933 devices: If you read from it, it sends packet across 933 devices: If you read from it, it sends packet across
934 network asking server for data. If you write to it, it 934 network asking server for data. If you write to it, it
935 sends packet telling server to write. It could be used 935 sends packet telling server to write. It could be used
936 to mounting filesystems over the net, swapping over 936 to mounting filesystems over the net, swapping over
937 the net, implementing block device in userland etc. 937 the net, implementing block device in userland etc.
938 938
939 44 char isdn4linux virtual modem - alternate devices 939 44 char isdn4linux virtual modem - alternate devices
940 0 = /dev/cui0 Callout device for ttyI0 940 0 = /dev/cui0 Callout device for ttyI0
941 ... 941 ...
942 63 = /dev/cui63 Callout device for ttyI63 942 63 = /dev/cui63 Callout device for ttyI63
943 943
944 44 block Flash Translation Layer (FTL) filesystems 944 44 block Flash Translation Layer (FTL) filesystems
945 0 = /dev/ftla FTL on first Memory Technology Device 945 0 = /dev/ftla FTL on first Memory Technology Device
946 16 = /dev/ftlb FTL on second Memory Technology Device 946 16 = /dev/ftlb FTL on second Memory Technology Device
947 32 = /dev/ftlc FTL on third Memory Technology Device 947 32 = /dev/ftlc FTL on third Memory Technology Device
948 ... 948 ...
949 240 = /dev/ftlp FTL on 16th Memory Technology Device 949 240 = /dev/ftlp FTL on 16th Memory Technology Device
950 950
951 Partitions are handled in the same way as for IDE 951 Partitions are handled in the same way as for IDE
952 disks (see major number 3) except that the partition 952 disks (see major number 3) except that the partition
953 limit is 15 rather than 63 per disk (same as SCSI.) 953 limit is 15 rather than 63 per disk (same as SCSI.)
954 954
955 45 char isdn4linux ISDN BRI driver 955 45 char isdn4linux ISDN BRI driver
956 0 = /dev/isdn0 First virtual B channel raw data 956 0 = /dev/isdn0 First virtual B channel raw data
957 ... 957 ...
958 63 = /dev/isdn63 64th virtual B channel raw data 958 63 = /dev/isdn63 64th virtual B channel raw data
959 64 = /dev/isdnctrl0 First channel control/debug 959 64 = /dev/isdnctrl0 First channel control/debug
960 ... 960 ...
961 127 = /dev/isdnctrl63 64th channel control/debug 961 127 = /dev/isdnctrl63 64th channel control/debug
962 962
963 128 = /dev/ippp0 First SyncPPP device 963 128 = /dev/ippp0 First SyncPPP device
964 ... 964 ...
965 191 = /dev/ippp63 64th SyncPPP device 965 191 = /dev/ippp63 64th SyncPPP device
966 966
967 255 = /dev/isdninfo ISDN monitor interface 967 255 = /dev/isdninfo ISDN monitor interface
968 968
969 45 block Parallel port IDE disk devices 969 45 block Parallel port IDE disk devices
970 0 = /dev/pda First parallel port IDE disk 970 0 = /dev/pda First parallel port IDE disk
971 16 = /dev/pdb Second parallel port IDE disk 971 16 = /dev/pdb Second parallel port IDE disk
972 32 = /dev/pdc Third parallel port IDE disk 972 32 = /dev/pdc Third parallel port IDE disk
973 48 = /dev/pdd Fourth parallel port IDE disk 973 48 = /dev/pdd Fourth parallel port IDE disk
974 974
975 Partitions are handled in the same way as for IDE 975 Partitions are handled in the same way as for IDE
976 disks (see major number 3) except that the partition 976 disks (see major number 3) except that the partition
977 limit is 15 rather than 63 per disk. 977 limit is 15 rather than 63 per disk.
978 978
979 46 char Comtrol Rocketport serial card 979 46 char Comtrol Rocketport serial card
980 0 = /dev/ttyR0 First Rocketport port 980 0 = /dev/ttyR0 First Rocketport port
981 1 = /dev/ttyR1 Second Rocketport port 981 1 = /dev/ttyR1 Second Rocketport port
982 ... 982 ...
983 46 block Parallel port ATAPI CD-ROM devices 983 46 block Parallel port ATAPI CD-ROM devices
984 0 = /dev/pcd0 First parallel port ATAPI CD-ROM 984 0 = /dev/pcd0 First parallel port ATAPI CD-ROM
985 1 = /dev/pcd1 Second parallel port ATAPI CD-ROM 985 1 = /dev/pcd1 Second parallel port ATAPI CD-ROM
986 2 = /dev/pcd2 Third parallel port ATAPI CD-ROM 986 2 = /dev/pcd2 Third parallel port ATAPI CD-ROM
987 3 = /dev/pcd3 Fourth parallel port ATAPI CD-ROM 987 3 = /dev/pcd3 Fourth parallel port ATAPI CD-ROM
988 988
989 47 char Comtrol Rocketport serial card - alternate devices 989 47 char Comtrol Rocketport serial card - alternate devices
990 0 = /dev/cur0 Callout device for ttyR0 990 0 = /dev/cur0 Callout device for ttyR0
991 1 = /dev/cur1 Callout device for ttyR1 991 1 = /dev/cur1 Callout device for ttyR1
992 ... 992 ...
993 47 block Parallel port ATAPI disk devices 993 47 block Parallel port ATAPI disk devices
994 0 = /dev/pf0 First parallel port ATAPI disk 994 0 = /dev/pf0 First parallel port ATAPI disk
995 1 = /dev/pf1 Second parallel port ATAPI disk 995 1 = /dev/pf1 Second parallel port ATAPI disk
996 2 = /dev/pf2 Third parallel port ATAPI disk 996 2 = /dev/pf2 Third parallel port ATAPI disk
997 3 = /dev/pf3 Fourth parallel port ATAPI disk 997 3 = /dev/pf3 Fourth parallel port ATAPI disk
998 998
999 This driver is intended for floppy disks and similar 999 This driver is intended for floppy disks and similar
1000 devices and hence does not support partitioning. 1000 devices and hence does not support partitioning.
1001 1001
1002 48 char SDL RISCom serial card 1002 48 char SDL RISCom serial card
1003 0 = /dev/ttyL0 First RISCom port 1003 0 = /dev/ttyL0 First RISCom port
1004 1 = /dev/ttyL1 Second RISCom port 1004 1 = /dev/ttyL1 Second RISCom port
1005 ... 1005 ...
1006 48 block Mylex DAC960 PCI RAID controller; first controller 1006 48 block Mylex DAC960 PCI RAID controller; first controller
1007 0 = /dev/rd/c0d0 First disk, whole disk 1007 0 = /dev/rd/c0d0 First disk, whole disk
1008 8 = /dev/rd/c0d1 Second disk, whole disk 1008 8 = /dev/rd/c0d1 Second disk, whole disk
1009 ... 1009 ...
1010 248 = /dev/rd/c0d31 32nd disk, whole disk 1010 248 = /dev/rd/c0d31 32nd disk, whole disk
1011 1011
1012 For partitions add: 1012 For partitions add:
1013 0 = /dev/rd/c?d? Whole disk 1013 0 = /dev/rd/c?d? Whole disk
1014 1 = /dev/rd/c?d?p1 First partition 1014 1 = /dev/rd/c?d?p1 First partition
1015 ... 1015 ...
1016 7 = /dev/rd/c?d?p7 Seventh partition 1016 7 = /dev/rd/c?d?p7 Seventh partition
1017 1017
1018 49 char SDL RISCom serial card - alternate devices 1018 49 char SDL RISCom serial card - alternate devices
1019 0 = /dev/cul0 Callout device for ttyL0 1019 0 = /dev/cul0 Callout device for ttyL0
1020 1 = /dev/cul1 Callout device for ttyL1 1020 1 = /dev/cul1 Callout device for ttyL1
1021 ... 1021 ...
1022 49 block Mylex DAC960 PCI RAID controller; second controller 1022 49 block Mylex DAC960 PCI RAID controller; second controller
1023 0 = /dev/rd/c1d0 First disk, whole disk 1023 0 = /dev/rd/c1d0 First disk, whole disk
1024 8 = /dev/rd/c1d1 Second disk, whole disk 1024 8 = /dev/rd/c1d1 Second disk, whole disk
1025 ... 1025 ...
1026 248 = /dev/rd/c1d31 32nd disk, whole disk 1026 248 = /dev/rd/c1d31 32nd disk, whole disk
1027 1027
1028 Partitions are handled as for major 48. 1028 Partitions are handled as for major 48.
1029 1029
1030 50 char Reserved for GLINT 1030 50 char Reserved for GLINT
1031 1031
1032 50 block Mylex DAC960 PCI RAID controller; third controller 1032 50 block Mylex DAC960 PCI RAID controller; third controller
1033 0 = /dev/rd/c2d0 First disk, whole disk 1033 0 = /dev/rd/c2d0 First disk, whole disk
1034 8 = /dev/rd/c2d1 Second disk, whole disk 1034 8 = /dev/rd/c2d1 Second disk, whole disk
1035 ... 1035 ...
1036 248 = /dev/rd/c2d31 32nd disk, whole disk 1036 248 = /dev/rd/c2d31 32nd disk, whole disk
1037 1037
1038 51 char Baycom radio modem OR Radio Tech BIM-XXX-RS232 radio modem 1038 51 char Baycom radio modem OR Radio Tech BIM-XXX-RS232 radio modem
1039 0 = /dev/bc0 First Baycom radio modem 1039 0 = /dev/bc0 First Baycom radio modem
1040 1 = /dev/bc1 Second Baycom radio modem 1040 1 = /dev/bc1 Second Baycom radio modem
1041 ... 1041 ...
1042 51 block Mylex DAC960 PCI RAID controller; fourth controller 1042 51 block Mylex DAC960 PCI RAID controller; fourth controller
1043 0 = /dev/rd/c3d0 First disk, whole disk 1043 0 = /dev/rd/c3d0 First disk, whole disk
1044 8 = /dev/rd/c3d1 Second disk, whole disk 1044 8 = /dev/rd/c3d1 Second disk, whole disk
1045 ... 1045 ...
1046 248 = /dev/rd/c3d31 32nd disk, whole disk 1046 248 = /dev/rd/c3d31 32nd disk, whole disk
1047 1047
1048 Partitions are handled as for major 48. 1048 Partitions are handled as for major 48.
1049 1049
1050 52 char Spellcaster DataComm/BRI ISDN card 1050 52 char Spellcaster DataComm/BRI ISDN card
1051 0 = /dev/dcbri0 First DataComm card 1051 0 = /dev/dcbri0 First DataComm card
1052 1 = /dev/dcbri1 Second DataComm card 1052 1 = /dev/dcbri1 Second DataComm card
1053 2 = /dev/dcbri2 Third DataComm card 1053 2 = /dev/dcbri2 Third DataComm card
1054 3 = /dev/dcbri3 Fourth DataComm card 1054 3 = /dev/dcbri3 Fourth DataComm card
1055 1055
1056 52 block Mylex DAC960 PCI RAID controller; fifth controller 1056 52 block Mylex DAC960 PCI RAID controller; fifth controller
1057 0 = /dev/rd/c4d0 First disk, whole disk 1057 0 = /dev/rd/c4d0 First disk, whole disk
1058 8 = /dev/rd/c4d1 Second disk, whole disk 1058 8 = /dev/rd/c4d1 Second disk, whole disk
1059 ... 1059 ...
1060 248 = /dev/rd/c4d31 32nd disk, whole disk 1060 248 = /dev/rd/c4d31 32nd disk, whole disk
1061 1061
1062 Partitions are handled as for major 48. 1062 Partitions are handled as for major 48.
1063 1063
1064 53 char BDM interface for remote debugging MC683xx microcontrollers 1064 53 char BDM interface for remote debugging MC683xx microcontrollers
1065 0 = /dev/pd_bdm0 PD BDM interface on lp0 1065 0 = /dev/pd_bdm0 PD BDM interface on lp0
1066 1 = /dev/pd_bdm1 PD BDM interface on lp1 1066 1 = /dev/pd_bdm1 PD BDM interface on lp1
1067 2 = /dev/pd_bdm2 PD BDM interface on lp2 1067 2 = /dev/pd_bdm2 PD BDM interface on lp2
1068 4 = /dev/icd_bdm0 ICD BDM interface on lp0 1068 4 = /dev/icd_bdm0 ICD BDM interface on lp0
1069 5 = /dev/icd_bdm1 ICD BDM interface on lp1 1069 5 = /dev/icd_bdm1 ICD BDM interface on lp1
1070 6 = /dev/icd_bdm2 ICD BDM interface on lp2 1070 6 = /dev/icd_bdm2 ICD BDM interface on lp2
1071 1071
1072 This device is used for the interfacing to the MC683xx 1072 This device is used for the interfacing to the MC683xx
1073 microcontrollers via Background Debug Mode by use of a 1073 microcontrollers via Background Debug Mode by use of a
1074 Parallel Port interface. PD is the Motorola Public 1074 Parallel Port interface. PD is the Motorola Public
1075 Domain Interface and ICD is the commercial interface 1075 Domain Interface and ICD is the commercial interface
1076 by P&E. 1076 by P&E.
1077 1077
1078 53 block Mylex DAC960 PCI RAID controller; sixth controller 1078 53 block Mylex DAC960 PCI RAID controller; sixth controller
1079 0 = /dev/rd/c5d0 First disk, whole disk 1079 0 = /dev/rd/c5d0 First disk, whole disk
1080 8 = /dev/rd/c5d1 Second disk, whole disk 1080 8 = /dev/rd/c5d1 Second disk, whole disk
1081 ... 1081 ...
1082 248 = /dev/rd/c5d31 32nd disk, whole disk 1082 248 = /dev/rd/c5d31 32nd disk, whole disk
1083 1083
1084 Partitions are handled as for major 48. 1084 Partitions are handled as for major 48.
1085 1085
1086 54 char Electrocardiognosis Holter serial card 1086 54 char Electrocardiognosis Holter serial card
1087 0 = /dev/holter0 First Holter port 1087 0 = /dev/holter0 First Holter port
1088 1 = /dev/holter1 Second Holter port 1088 1 = /dev/holter1 Second Holter port
1089 2 = /dev/holter2 Third Holter port 1089 2 = /dev/holter2 Third Holter port
1090 1090
1091 A custom serial card used by Electrocardiognosis SRL 1091 A custom serial card used by Electrocardiognosis SRL
1092 <mseritan@ottonel.pub.ro> to transfer data from Holter 1092 <mseritan@ottonel.pub.ro> to transfer data from Holter
1093 24-hour heart monitoring equipment. 1093 24-hour heart monitoring equipment.
1094 1094
1095 54 block Mylex DAC960 PCI RAID controller; seventh controller 1095 54 block Mylex DAC960 PCI RAID controller; seventh controller
1096 0 = /dev/rd/c6d0 First disk, whole disk 1096 0 = /dev/rd/c6d0 First disk, whole disk
1097 8 = /dev/rd/c6d1 Second disk, whole disk 1097 8 = /dev/rd/c6d1 Second disk, whole disk
1098 ... 1098 ...
1099 248 = /dev/rd/c6d31 32nd disk, whole disk 1099 248 = /dev/rd/c6d31 32nd disk, whole disk
1100 1100
1101 Partitions are handled as for major 48. 1101 Partitions are handled as for major 48.
1102 1102
1103 55 char DSP56001 digital signal processor 1103 55 char DSP56001 digital signal processor
1104 0 = /dev/dsp56k First DSP56001 1104 0 = /dev/dsp56k First DSP56001
1105 1105
1106 55 block Mylex DAC960 PCI RAID controller; eighth controller 1106 55 block Mylex DAC960 PCI RAID controller; eighth controller
1107 0 = /dev/rd/c7d0 First disk, whole disk 1107 0 = /dev/rd/c7d0 First disk, whole disk
1108 8 = /dev/rd/c7d1 Second disk, whole disk 1108 8 = /dev/rd/c7d1 Second disk, whole disk
1109 ... 1109 ...
1110 248 = /dev/rd/c7d31 32nd disk, whole disk 1110 248 = /dev/rd/c7d31 32nd disk, whole disk
1111 1111
1112 Partitions are handled as for major 48. 1112 Partitions are handled as for major 48.
1113 1113
1114 56 char Apple Desktop Bus 1114 56 char Apple Desktop Bus
1115 0 = /dev/adb ADB bus control 1115 0 = /dev/adb ADB bus control
1116 1116
1117 Additional devices will be added to this number, all 1117 Additional devices will be added to this number, all
1118 starting with /dev/adb. 1118 starting with /dev/adb.
1119 1119
1120 56 block Fifth IDE hard disk/CD-ROM interface 1120 56 block Fifth IDE hard disk/CD-ROM interface
1121 0 = /dev/hdi Master: whole disk (or CD-ROM) 1121 0 = /dev/hdi Master: whole disk (or CD-ROM)
1122 64 = /dev/hdj Slave: whole disk (or CD-ROM) 1122 64 = /dev/hdj Slave: whole disk (or CD-ROM)
1123 1123
1124 Partitions are handled the same way as for the first 1124 Partitions are handled the same way as for the first
1125 interface (see major number 3). 1125 interface (see major number 3).
1126 1126
1127 57 char Hayes ESP serial card 1127 57 char Hayes ESP serial card
1128 0 = /dev/ttyP0 First ESP port 1128 0 = /dev/ttyP0 First ESP port
1129 1 = /dev/ttyP1 Second ESP port 1129 1 = /dev/ttyP1 Second ESP port
1130 ... 1130 ...
1131 1131
1132 57 block Sixth IDE hard disk/CD-ROM interface 1132 57 block Sixth IDE hard disk/CD-ROM interface
1133 0 = /dev/hdk Master: whole disk (or CD-ROM) 1133 0 = /dev/hdk Master: whole disk (or CD-ROM)
1134 64 = /dev/hdl Slave: whole disk (or CD-ROM) 1134 64 = /dev/hdl Slave: whole disk (or CD-ROM)
1135 1135
1136 Partitions are handled the same way as for the first 1136 Partitions are handled the same way as for the first
1137 interface (see major number 3). 1137 interface (see major number 3).
1138 1138
1139 58 char Hayes ESP serial card - alternate devices 1139 58 char Hayes ESP serial card - alternate devices
1140 0 = /dev/cup0 Callout device for ttyP0 1140 0 = /dev/cup0 Callout device for ttyP0
1141 1 = /dev/cup1 Callout device for ttyP1 1141 1 = /dev/cup1 Callout device for ttyP1
1142 ... 1142 ...
1143 1143
1144 58 block Reserved for logical volume manager 1144 58 block Reserved for logical volume manager
1145 1145
1146 59 char sf firewall package 1146 59 char sf firewall package
1147 0 = /dev/firewall Communication with sf kernel module 1147 0 = /dev/firewall Communication with sf kernel module
1148 1148
1149 59 block Generic PDA filesystem device 1149 59 block Generic PDA filesystem device
1150 0 = /dev/pda0 First PDA device 1150 0 = /dev/pda0 First PDA device
1151 1 = /dev/pda1 Second PDA device 1151 1 = /dev/pda1 Second PDA device
1152 ... 1152 ...
1153 1153
1154 The pda devices are used to mount filesystems on 1154 The pda devices are used to mount filesystems on
1155 remote pda's (basically slow handheld machines with 1155 remote pda's (basically slow handheld machines with
1156 proprietary OS's and limited memory and storage 1156 proprietary OS's and limited memory and storage
1157 running small fs translation drivers) through serial / 1157 running small fs translation drivers) through serial /
1158 IRDA / parallel links. 1158 IRDA / parallel links.
1159 1159
1160 NAMING CONFLICT -- PROPOSED REVISED NAME /dev/rpda0 etc 1160 NAMING CONFLICT -- PROPOSED REVISED NAME /dev/rpda0 etc
1161 1161
1162 60-63 char LOCAL/EXPERIMENTAL USE 1162 60-63 char LOCAL/EXPERIMENTAL USE
1163 1163
1164 60-63 block LOCAL/EXPERIMENTAL USE 1164 60-63 block LOCAL/EXPERIMENTAL USE
1165 Allocated for local/experimental use. For devices not 1165 Allocated for local/experimental use. For devices not
1166 assigned official numbers, these ranges should be 1166 assigned official numbers, these ranges should be
1167 used in order to avoid conflicting with future assignments. 1167 used in order to avoid conflicting with future assignments.
1168 1168
1169 64 char ENskip kernel encryption package 1169 64 char ENskip kernel encryption package
1170 0 = /dev/enskip Communication with ENskip kernel module 1170 0 = /dev/enskip Communication with ENskip kernel module
1171 1171
1172 64 block Scramdisk/DriveCrypt encrypted devices 1172 64 block Scramdisk/DriveCrypt encrypted devices
1173 0 = /dev/scramdisk/master Master node for ioctls 1173 0 = /dev/scramdisk/master Master node for ioctls
1174 1 = /dev/scramdisk/1 First encrypted device 1174 1 = /dev/scramdisk/1 First encrypted device
1175 2 = /dev/scramdisk/2 Second encrypted device 1175 2 = /dev/scramdisk/2 Second encrypted device
1176 ... 1176 ...
1177 255 = /dev/scramdisk/255 255th encrypted device 1177 255 = /dev/scramdisk/255 255th encrypted device
1178 1178
1179 The filename of the encrypted container and the passwords 1179 The filename of the encrypted container and the passwords
1180 are sent via ioctls (using the sdmount tool) to the master 1180 are sent via ioctls (using the sdmount tool) to the master
1181 node which then activates them via one of the 1181 node which then activates them via one of the
1182 /dev/scramdisk/x nodes for loop mounting (all handled 1182 /dev/scramdisk/x nodes for loop mounting (all handled
1183 through the sdmount tool). 1183 through the sdmount tool).
1184 1184
1185 Requested by: andy@scramdisklinux.org 1185 Requested by: andy@scramdisklinux.org
1186 1186
1187 65 char Sundance "plink" Transputer boards (obsolete, unused) 1187 65 char Sundance "plink" Transputer boards (obsolete, unused)
1188 0 = /dev/plink0 First plink device 1188 0 = /dev/plink0 First plink device
1189 1 = /dev/plink1 Second plink device 1189 1 = /dev/plink1 Second plink device
1190 2 = /dev/plink2 Third plink device 1190 2 = /dev/plink2 Third plink device
1191 3 = /dev/plink3 Fourth plink device 1191 3 = /dev/plink3 Fourth plink device
1192 64 = /dev/rplink0 First plink device, raw 1192 64 = /dev/rplink0 First plink device, raw
1193 65 = /dev/rplink1 Second plink device, raw 1193 65 = /dev/rplink1 Second plink device, raw
1194 66 = /dev/rplink2 Third plink device, raw 1194 66 = /dev/rplink2 Third plink device, raw
1195 67 = /dev/rplink3 Fourth plink device, raw 1195 67 = /dev/rplink3 Fourth plink device, raw
1196 128 = /dev/plink0d First plink device, debug 1196 128 = /dev/plink0d First plink device, debug
1197 129 = /dev/plink1d Second plink device, debug 1197 129 = /dev/plink1d Second plink device, debug
1198 130 = /dev/plink2d Third plink device, debug 1198 130 = /dev/plink2d Third plink device, debug
1199 131 = /dev/plink3d Fourth plink device, debug 1199 131 = /dev/plink3d Fourth plink device, debug
1200 192 = /dev/rplink0d First plink device, raw, debug 1200 192 = /dev/rplink0d First plink device, raw, debug
1201 193 = /dev/rplink1d Second plink device, raw, debug 1201 193 = /dev/rplink1d Second plink device, raw, debug
1202 194 = /dev/rplink2d Third plink device, raw, debug 1202 194 = /dev/rplink2d Third plink device, raw, debug
1203 195 = /dev/rplink3d Fourth plink device, raw, debug 1203 195 = /dev/rplink3d Fourth plink device, raw, debug
1204 1204
1205 This is a commercial driver; contact James Howes 1205 This is a commercial driver; contact James Howes
1206 <jth@prosig.demon.co.uk> for information. 1206 <jth@prosig.demon.co.uk> for information.
1207 1207
1208 65 block SCSI disk devices (16-31) 1208 65 block SCSI disk devices (16-31)
1209 0 = /dev/sdq 17th SCSI disk whole disk 1209 0 = /dev/sdq 17th SCSI disk whole disk
1210 16 = /dev/sdr 18th SCSI disk whole disk 1210 16 = /dev/sdr 18th SCSI disk whole disk
1211 32 = /dev/sds 19th SCSI disk whole disk 1211 32 = /dev/sds 19th SCSI disk whole disk
1212 ... 1212 ...
1213 240 = /dev/sdaf 32nd SCSI disk whole disk 1213 240 = /dev/sdaf 32nd SCSI disk whole disk
1214 1214
1215 Partitions are handled in the same way as for IDE 1215 Partitions are handled in the same way as for IDE
1216 disks (see major number 3) except that the limit on 1216 disks (see major number 3) except that the limit on
1217 partitions is 15. 1217 partitions is 15.
1218 1218
1219 66 char YARC PowerPC PCI coprocessor card 1219 66 char YARC PowerPC PCI coprocessor card
1220 0 = /dev/yppcpci0 First YARC card 1220 0 = /dev/yppcpci0 First YARC card
1221 1 = /dev/yppcpci1 Second YARC card 1221 1 = /dev/yppcpci1 Second YARC card
1222 ... 1222 ...
1223 1223
1224 66 block SCSI disk devices (32-47) 1224 66 block SCSI disk devices (32-47)
1225 0 = /dev/sdag 33th SCSI disk whole disk 1225 0 = /dev/sdag 33th SCSI disk whole disk
1226 16 = /dev/sdah 34th SCSI disk whole disk 1226 16 = /dev/sdah 34th SCSI disk whole disk
1227 32 = /dev/sdai 35th SCSI disk whole disk 1227 32 = /dev/sdai 35th SCSI disk whole disk
1228 ... 1228 ...
1229 240 = /dev/sdav 48nd SCSI disk whole disk 1229 240 = /dev/sdav 48nd SCSI disk whole disk
1230 1230
1231 Partitions are handled in the same way as for IDE 1231 Partitions are handled in the same way as for IDE
1232 disks (see major number 3) except that the limit on 1232 disks (see major number 3) except that the limit on
1233 partitions is 15. 1233 partitions is 15.
1234 1234
1235 67 char Coda network file system 1235 67 char Coda network file system
1236 0 = /dev/cfs0 Coda cache manager 1236 0 = /dev/cfs0 Coda cache manager
1237 1237
1238 See http://www.coda.cs.cmu.edu for information about Coda. 1238 See http://www.coda.cs.cmu.edu for information about Coda.
1239 1239
1240 67 block SCSI disk devices (48-63) 1240 67 block SCSI disk devices (48-63)
1241 0 = /dev/sdaw 49th SCSI disk whole disk 1241 0 = /dev/sdaw 49th SCSI disk whole disk
1242 16 = /dev/sdax 50th SCSI disk whole disk 1242 16 = /dev/sdax 50th SCSI disk whole disk
1243 32 = /dev/sday 51st SCSI disk whole disk 1243 32 = /dev/sday 51st SCSI disk whole disk
1244 ... 1244 ...
1245 240 = /dev/sdbl 64th SCSI disk whole disk 1245 240 = /dev/sdbl 64th SCSI disk whole disk
1246 1246
1247 Partitions are handled in the same way as for IDE 1247 Partitions are handled in the same way as for IDE
1248 disks (see major number 3) except that the limit on 1248 disks (see major number 3) except that the limit on
1249 partitions is 15. 1249 partitions is 15.
1250 1250
1251 68 char CAPI 2.0 interface 1251 68 char CAPI 2.0 interface
1252 0 = /dev/capi20 Control device 1252 0 = /dev/capi20 Control device
1253 1 = /dev/capi20.00 First CAPI 2.0 application 1253 1 = /dev/capi20.00 First CAPI 2.0 application
1254 2 = /dev/capi20.01 Second CAPI 2.0 application 1254 2 = /dev/capi20.01 Second CAPI 2.0 application
1255 ... 1255 ...
1256 20 = /dev/capi20.19 19th CAPI 2.0 application 1256 20 = /dev/capi20.19 19th CAPI 2.0 application
1257 1257
1258 ISDN CAPI 2.0 driver for use with CAPI 2.0 1258 ISDN CAPI 2.0 driver for use with CAPI 2.0
1259 applications; currently supports the AVM B1 card. 1259 applications; currently supports the AVM B1 card.
1260 1260
1261 68 block SCSI disk devices (64-79) 1261 68 block SCSI disk devices (64-79)
1262 0 = /dev/sdbm 65th SCSI disk whole disk 1262 0 = /dev/sdbm 65th SCSI disk whole disk
1263 16 = /dev/sdbn 66th SCSI disk whole disk 1263 16 = /dev/sdbn 66th SCSI disk whole disk
1264 32 = /dev/sdbo 67th SCSI disk whole disk 1264 32 = /dev/sdbo 67th SCSI disk whole disk
1265 ... 1265 ...
1266 240 = /dev/sdcb 80th SCSI disk whole disk 1266 240 = /dev/sdcb 80th SCSI disk whole disk
1267 1267
1268 Partitions are handled in the same way as for IDE 1268 Partitions are handled in the same way as for IDE
1269 disks (see major number 3) except that the limit on 1269 disks (see major number 3) except that the limit on
1270 partitions is 15. 1270 partitions is 15.
1271 1271
1272 69 char MA16 numeric accelerator card 1272 69 char MA16 numeric accelerator card
1273 0 = /dev/ma16 Board memory access 1273 0 = /dev/ma16 Board memory access
1274 1274
1275 69 block SCSI disk devices (80-95) 1275 69 block SCSI disk devices (80-95)
1276 0 = /dev/sdcc 81st SCSI disk whole disk 1276 0 = /dev/sdcc 81st SCSI disk whole disk
1277 16 = /dev/sdcd 82nd SCSI disk whole disk 1277 16 = /dev/sdcd 82nd SCSI disk whole disk
1278 32 = /dev/sdce 83th SCSI disk whole disk 1278 32 = /dev/sdce 83th SCSI disk whole disk
1279 ... 1279 ...
1280 240 = /dev/sdcr 96th SCSI disk whole disk 1280 240 = /dev/sdcr 96th SCSI disk whole disk
1281 1281
1282 Partitions are handled in the same way as for IDE 1282 Partitions are handled in the same way as for IDE
1283 disks (see major number 3) except that the limit on 1283 disks (see major number 3) except that the limit on
1284 partitions is 15. 1284 partitions is 15.
1285 1285
1286 70 char SpellCaster Protocol Services Interface 1286 70 char SpellCaster Protocol Services Interface
1287 0 = /dev/apscfg Configuration interface 1287 0 = /dev/apscfg Configuration interface
1288 1 = /dev/apsauth Authentication interface 1288 1 = /dev/apsauth Authentication interface
1289 2 = /dev/apslog Logging interface 1289 2 = /dev/apslog Logging interface
1290 3 = /dev/apsdbg Debugging interface 1290 3 = /dev/apsdbg Debugging interface
1291 64 = /dev/apsisdn ISDN command interface 1291 64 = /dev/apsisdn ISDN command interface
1292 65 = /dev/apsasync Async command interface 1292 65 = /dev/apsasync Async command interface
1293 128 = /dev/apsmon Monitor interface 1293 128 = /dev/apsmon Monitor interface
1294 1294
1295 70 block SCSI disk devices (96-111) 1295 70 block SCSI disk devices (96-111)
1296 0 = /dev/sdcs 97th SCSI disk whole disk 1296 0 = /dev/sdcs 97th SCSI disk whole disk
1297 16 = /dev/sdct 98th SCSI disk whole disk 1297 16 = /dev/sdct 98th SCSI disk whole disk
1298 32 = /dev/sdcu 99th SCSI disk whole disk 1298 32 = /dev/sdcu 99th SCSI disk whole disk
1299 ... 1299 ...
1300 240 = /dev/sddh 112nd SCSI disk whole disk 1300 240 = /dev/sddh 112nd SCSI disk whole disk
1301 1301
1302 Partitions are handled in the same way as for IDE 1302 Partitions are handled in the same way as for IDE
1303 disks (see major number 3) except that the limit on 1303 disks (see major number 3) except that the limit on
1304 partitions is 15. 1304 partitions is 15.
1305 1305
1306 71 char Computone IntelliPort II serial card 1306 71 char Computone IntelliPort II serial card
1307 0 = /dev/ttyF0 IntelliPort II board 0, port 0 1307 0 = /dev/ttyF0 IntelliPort II board 0, port 0
1308 1 = /dev/ttyF1 IntelliPort II board 0, port 1 1308 1 = /dev/ttyF1 IntelliPort II board 0, port 1
1309 ... 1309 ...
1310 63 = /dev/ttyF63 IntelliPort II board 0, port 63 1310 63 = /dev/ttyF63 IntelliPort II board 0, port 63
1311 64 = /dev/ttyF64 IntelliPort II board 1, port 0 1311 64 = /dev/ttyF64 IntelliPort II board 1, port 0
1312 65 = /dev/ttyF65 IntelliPort II board 1, port 1 1312 65 = /dev/ttyF65 IntelliPort II board 1, port 1
1313 ... 1313 ...
1314 127 = /dev/ttyF127 IntelliPort II board 1, port 63 1314 127 = /dev/ttyF127 IntelliPort II board 1, port 63
1315 128 = /dev/ttyF128 IntelliPort II board 2, port 0 1315 128 = /dev/ttyF128 IntelliPort II board 2, port 0
1316 129 = /dev/ttyF129 IntelliPort II board 2, port 1 1316 129 = /dev/ttyF129 IntelliPort II board 2, port 1
1317 ... 1317 ...
1318 191 = /dev/ttyF191 IntelliPort II board 2, port 63 1318 191 = /dev/ttyF191 IntelliPort II board 2, port 63
1319 192 = /dev/ttyF192 IntelliPort II board 3, port 0 1319 192 = /dev/ttyF192 IntelliPort II board 3, port 0
1320 193 = /dev/ttyF193 IntelliPort II board 3, port 1 1320 193 = /dev/ttyF193 IntelliPort II board 3, port 1
1321 ... 1321 ...
1322 255 = /dev/ttyF255 IntelliPort II board 3, port 63 1322 255 = /dev/ttyF255 IntelliPort II board 3, port 63
1323 1323
1324 71 block SCSI disk devices (112-127) 1324 71 block SCSI disk devices (112-127)
1325 0 = /dev/sddi 113th SCSI disk whole disk 1325 0 = /dev/sddi 113th SCSI disk whole disk
1326 16 = /dev/sddj 114th SCSI disk whole disk 1326 16 = /dev/sddj 114th SCSI disk whole disk
1327 32 = /dev/sddk 115th SCSI disk whole disk 1327 32 = /dev/sddk 115th SCSI disk whole disk
1328 ... 1328 ...
1329 240 = /dev/sddx 128th SCSI disk whole disk 1329 240 = /dev/sddx 128th SCSI disk whole disk
1330 1330
1331 Partitions are handled in the same way as for IDE 1331 Partitions are handled in the same way as for IDE
1332 disks (see major number 3) except that the limit on 1332 disks (see major number 3) except that the limit on
1333 partitions is 15. 1333 partitions is 15.
1334 1334
1335 72 char Computone IntelliPort II serial card - alternate devices 1335 72 char Computone IntelliPort II serial card - alternate devices
1336 0 = /dev/cuf0 Callout device for ttyF0 1336 0 = /dev/cuf0 Callout device for ttyF0
1337 1 = /dev/cuf1 Callout device for ttyF1 1337 1 = /dev/cuf1 Callout device for ttyF1
1338 ... 1338 ...
1339 63 = /dev/cuf63 Callout device for ttyF63 1339 63 = /dev/cuf63 Callout device for ttyF63
1340 64 = /dev/cuf64 Callout device for ttyF64 1340 64 = /dev/cuf64 Callout device for ttyF64
1341 65 = /dev/cuf65 Callout device for ttyF65 1341 65 = /dev/cuf65 Callout device for ttyF65
1342 ... 1342 ...
1343 127 = /dev/cuf127 Callout device for ttyF127 1343 127 = /dev/cuf127 Callout device for ttyF127
1344 128 = /dev/cuf128 Callout device for ttyF128 1344 128 = /dev/cuf128 Callout device for ttyF128
1345 129 = /dev/cuf129 Callout device for ttyF129 1345 129 = /dev/cuf129 Callout device for ttyF129
1346 ... 1346 ...
1347 191 = /dev/cuf191 Callout device for ttyF191 1347 191 = /dev/cuf191 Callout device for ttyF191
1348 192 = /dev/cuf192 Callout device for ttyF192 1348 192 = /dev/cuf192 Callout device for ttyF192
1349 193 = /dev/cuf193 Callout device for ttyF193 1349 193 = /dev/cuf193 Callout device for ttyF193
1350 ... 1350 ...
1351 255 = /dev/cuf255 Callout device for ttyF255 1351 255 = /dev/cuf255 Callout device for ttyF255
1352 1352
1353 72 block Compaq Intelligent Drive Array, first controller 1353 72 block Compaq Intelligent Drive Array, first controller
1354 0 = /dev/ida/c0d0 First logical drive whole disk 1354 0 = /dev/ida/c0d0 First logical drive whole disk
1355 16 = /dev/ida/c0d1 Second logical drive whole disk 1355 16 = /dev/ida/c0d1 Second logical drive whole disk
1356 ... 1356 ...
1357 240 = /dev/ida/c0d15 16th logical drive whole disk 1357 240 = /dev/ida/c0d15 16th logical drive whole disk
1358 1358
1359 Partitions are handled the same way as for Mylex 1359 Partitions are handled the same way as for Mylex
1360 DAC960 (see major number 48) except that the limit on 1360 DAC960 (see major number 48) except that the limit on
1361 partitions is 15. 1361 partitions is 15.
1362 1362
1363 73 char Computone IntelliPort II serial card - control devices 1363 73 char Computone IntelliPort II serial card - control devices
1364 0 = /dev/ip2ipl0 Loadware device for board 0 1364 0 = /dev/ip2ipl0 Loadware device for board 0
1365 1 = /dev/ip2stat0 Status device for board 0 1365 1 = /dev/ip2stat0 Status device for board 0
1366 4 = /dev/ip2ipl1 Loadware device for board 1 1366 4 = /dev/ip2ipl1 Loadware device for board 1
1367 5 = /dev/ip2stat1 Status device for board 1 1367 5 = /dev/ip2stat1 Status device for board 1
1368 8 = /dev/ip2ipl2 Loadware device for board 2 1368 8 = /dev/ip2ipl2 Loadware device for board 2
1369 9 = /dev/ip2stat2 Status device for board 2 1369 9 = /dev/ip2stat2 Status device for board 2
1370 12 = /dev/ip2ipl3 Loadware device for board 3 1370 12 = /dev/ip2ipl3 Loadware device for board 3
1371 13 = /dev/ip2stat3 Status device for board 3 1371 13 = /dev/ip2stat3 Status device for board 3
1372 1372
1373 73 block Compaq Intelligent Drive Array, second controller 1373 73 block Compaq Intelligent Drive Array, second controller
1374 0 = /dev/ida/c1d0 First logical drive whole disk 1374 0 = /dev/ida/c1d0 First logical drive whole disk
1375 16 = /dev/ida/c1d1 Second logical drive whole disk 1375 16 = /dev/ida/c1d1 Second logical drive whole disk
1376 ... 1376 ...
1377 240 = /dev/ida/c1d15 16th logical drive whole disk 1377 240 = /dev/ida/c1d15 16th logical drive whole disk
1378 1378
1379 Partitions are handled the same way as for Mylex 1379 Partitions are handled the same way as for Mylex
1380 DAC960 (see major number 48) except that the limit on 1380 DAC960 (see major number 48) except that the limit on
1381 partitions is 15. 1381 partitions is 15.
1382 1382
1383 74 char SCI bridge 1383 74 char SCI bridge
1384 0 = /dev/SCI/0 SCI device 0 1384 0 = /dev/SCI/0 SCI device 0
1385 1 = /dev/SCI/1 SCI device 1 1385 1 = /dev/SCI/1 SCI device 1
1386 ... 1386 ...
1387 1387
1388 Currently for Dolphin Interconnect Solutions' PCI-SCI 1388 Currently for Dolphin Interconnect Solutions' PCI-SCI
1389 bridge. 1389 bridge.
1390 1390
1391 74 block Compaq Intelligent Drive Array, third controller 1391 74 block Compaq Intelligent Drive Array, third controller
1392 0 = /dev/ida/c2d0 First logical drive whole disk 1392 0 = /dev/ida/c2d0 First logical drive whole disk
1393 16 = /dev/ida/c2d1 Second logical drive whole disk 1393 16 = /dev/ida/c2d1 Second logical drive whole disk
1394 ... 1394 ...
1395 240 = /dev/ida/c2d15 16th logical drive whole disk 1395 240 = /dev/ida/c2d15 16th logical drive whole disk
1396 1396
1397 Partitions are handled the same way as for Mylex 1397 Partitions are handled the same way as for Mylex
1398 DAC960 (see major number 48) except that the limit on 1398 DAC960 (see major number 48) except that the limit on
1399 partitions is 15. 1399 partitions is 15.
1400 1400
1401 75 char Specialix IO8+ serial card 1401 75 char Specialix IO8+ serial card
1402 0 = /dev/ttyW0 First IO8+ port, first card 1402 0 = /dev/ttyW0 First IO8+ port, first card
1403 1 = /dev/ttyW1 Second IO8+ port, first card 1403 1 = /dev/ttyW1 Second IO8+ port, first card
1404 ... 1404 ...
1405 8 = /dev/ttyW8 First IO8+ port, second card 1405 8 = /dev/ttyW8 First IO8+ port, second card
1406 ... 1406 ...
1407 1407
1408 75 block Compaq Intelligent Drive Array, fourth controller 1408 75 block Compaq Intelligent Drive Array, fourth controller
1409 0 = /dev/ida/c3d0 First logical drive whole disk 1409 0 = /dev/ida/c3d0 First logical drive whole disk
1410 16 = /dev/ida/c3d1 Second logical drive whole disk 1410 16 = /dev/ida/c3d1 Second logical drive whole disk
1411 ... 1411 ...
1412 240 = /dev/ida/c3d15 16th logical drive whole disk 1412 240 = /dev/ida/c3d15 16th logical drive whole disk
1413 1413
1414 Partitions are handled the same way as for Mylex 1414 Partitions are handled the same way as for Mylex
1415 DAC960 (see major number 48) except that the limit on 1415 DAC960 (see major number 48) except that the limit on
1416 partitions is 15. 1416 partitions is 15.
1417 1417
1418 76 char Specialix IO8+ serial card - alternate devices 1418 76 char Specialix IO8+ serial card - alternate devices
1419 0 = /dev/cuw0 Callout device for ttyW0 1419 0 = /dev/cuw0 Callout device for ttyW0
1420 1 = /dev/cuw1 Callout device for ttyW1 1420 1 = /dev/cuw1 Callout device for ttyW1
1421 ... 1421 ...
1422 8 = /dev/cuw8 Callout device for ttyW8 1422 8 = /dev/cuw8 Callout device for ttyW8
1423 ... 1423 ...
1424 1424
1425 76 block Compaq Intelligent Drive Array, fifth controller 1425 76 block Compaq Intelligent Drive Array, fifth controller
1426 0 = /dev/ida/c4d0 First logical drive whole disk 1426 0 = /dev/ida/c4d0 First logical drive whole disk
1427 16 = /dev/ida/c4d1 Second logical drive whole disk 1427 16 = /dev/ida/c4d1 Second logical drive whole disk
1428 ... 1428 ...
1429 240 = /dev/ida/c4d15 16th logical drive whole disk 1429 240 = /dev/ida/c4d15 16th logical drive whole disk
1430 1430
1431 Partitions are handled the same way as for Mylex 1431 Partitions are handled the same way as for Mylex
1432 DAC960 (see major number 48) except that the limit on 1432 DAC960 (see major number 48) except that the limit on
1433 partitions is 15. 1433 partitions is 15.
1434 1434
1435 1435
1436 77 char ComScire Quantum Noise Generator 1436 77 char ComScire Quantum Noise Generator
1437 0 = /dev/qng ComScire Quantum Noise Generator 1437 0 = /dev/qng ComScire Quantum Noise Generator
1438 1438
1439 77 block Compaq Intelligent Drive Array, sixth controller 1439 77 block Compaq Intelligent Drive Array, sixth controller
1440 0 = /dev/ida/c5d0 First logical drive whole disk 1440 0 = /dev/ida/c5d0 First logical drive whole disk
1441 16 = /dev/ida/c5d1 Second logical drive whole disk 1441 16 = /dev/ida/c5d1 Second logical drive whole disk
1442 ... 1442 ...
1443 240 = /dev/ida/c5d15 16th logical drive whole disk 1443 240 = /dev/ida/c5d15 16th logical drive whole disk
1444 1444
1445 Partitions are handled the same way as for Mylex 1445 Partitions are handled the same way as for Mylex
1446 DAC960 (see major number 48) except that the limit on 1446 DAC960 (see major number 48) except that the limit on
1447 partitions is 15. 1447 partitions is 15.
1448 1448
1449 78 char PAM Software's multimodem boards 1449 78 char PAM Software's multimodem boards
1450 0 = /dev/ttyM0 First PAM modem 1450 0 = /dev/ttyM0 First PAM modem
1451 1 = /dev/ttyM1 Second PAM modem 1451 1 = /dev/ttyM1 Second PAM modem
1452 ... 1452 ...
1453 1453
1454 78 block Compaq Intelligent Drive Array, seventh controller 1454 78 block Compaq Intelligent Drive Array, seventh controller
1455 0 = /dev/ida/c6d0 First logical drive whole disk 1455 0 = /dev/ida/c6d0 First logical drive whole disk
1456 16 = /dev/ida/c6d1 Second logical drive whole disk 1456 16 = /dev/ida/c6d1 Second logical drive whole disk
1457 ... 1457 ...
1458 240 = /dev/ida/c6d15 16th logical drive whole disk 1458 240 = /dev/ida/c6d15 16th logical drive whole disk
1459 1459
1460 Partitions are handled the same way as for Mylex 1460 Partitions are handled the same way as for Mylex
1461 DAC960 (see major number 48) except that the limit on 1461 DAC960 (see major number 48) except that the limit on
1462 partitions is 15. 1462 partitions is 15.
1463 1463
1464 79 char PAM Software's multimodem boards - alternate devices 1464 79 char PAM Software's multimodem boards - alternate devices
1465 0 = /dev/cum0 Callout device for ttyM0 1465 0 = /dev/cum0 Callout device for ttyM0
1466 1 = /dev/cum1 Callout device for ttyM1 1466 1 = /dev/cum1 Callout device for ttyM1
1467 ... 1467 ...
1468 1468
1469 79 block Compaq Intelligent Drive Array, eighth controller 1469 79 block Compaq Intelligent Drive Array, eighth controller
1470 0 = /dev/ida/c7d0 First logical drive whole disk 1470 0 = /dev/ida/c7d0 First logical drive whole disk
1471 16 = /dev/ida/c7d1 Second logical drive whole disk 1471 16 = /dev/ida/c7d1 Second logical drive whole disk
1472 ... 1472 ...
1473 240 = /dev/ida/c715 16th logical drive whole disk 1473 240 = /dev/ida/c715 16th logical drive whole disk
1474 1474
1475 Partitions are handled the same way as for Mylex 1475 Partitions are handled the same way as for Mylex
1476 DAC960 (see major number 48) except that the limit on 1476 DAC960 (see major number 48) except that the limit on
1477 partitions is 15. 1477 partitions is 15.
1478 1478
1479 80 char Photometrics AT200 CCD camera 1479 80 char Photometrics AT200 CCD camera
1480 0 = /dev/at200 Photometrics AT200 CCD camera 1480 0 = /dev/at200 Photometrics AT200 CCD camera
1481 1481
1482 80 block I2O hard disk 1482 80 block I2O hard disk
1483 0 = /dev/i2o/hda First I2O hard disk, whole disk 1483 0 = /dev/i2o/hda First I2O hard disk, whole disk
1484 16 = /dev/i2o/hdb Second I2O hard disk, whole disk 1484 16 = /dev/i2o/hdb Second I2O hard disk, whole disk
1485 ... 1485 ...
1486 240 = /dev/i2o/hdp 16th I2O hard disk, whole disk 1486 240 = /dev/i2o/hdp 16th I2O hard disk, whole disk
1487 1487
1488 Partitions are handled in the same way as for IDE 1488 Partitions are handled in the same way as for IDE
1489 disks (see major number 3) except that the limit on 1489 disks (see major number 3) except that the limit on
1490 partitions is 15. 1490 partitions is 15.
1491 1491
1492 81 char video4linux 1492 81 char video4linux
1493 0 = /dev/video0 Video capture/overlay device 1493 0 = /dev/video0 Video capture/overlay device
1494 ... 1494 ...
1495 63 = /dev/video63 Video capture/overlay device 1495 63 = /dev/video63 Video capture/overlay device
1496 64 = /dev/radio0 Radio device 1496 64 = /dev/radio0 Radio device
1497 ... 1497 ...
1498 127 = /dev/radio63 Radio device 1498 127 = /dev/radio63 Radio device
1499 192 = /dev/vtx0 Teletext device 1499 192 = /dev/vtx0 Teletext device
1500 ... 1500 ...
1501 223 = /dev/vtx31 Teletext device 1501 223 = /dev/vtx31 Teletext device
1502 224 = /dev/vbi0 Vertical blank interrupt 1502 224 = /dev/vbi0 Vertical blank interrupt
1503 ... 1503 ...
1504 255 = /dev/vbi31 Vertical blank interrupt 1504 255 = /dev/vbi31 Vertical blank interrupt
1505 1505
1506 81 block I2O hard disk 1506 81 block I2O hard disk
1507 0 = /dev/i2o/hdq 17th I2O hard disk, whole disk 1507 0 = /dev/i2o/hdq 17th I2O hard disk, whole disk
1508 16 = /dev/i2o/hdr 18th I2O hard disk, whole disk 1508 16 = /dev/i2o/hdr 18th I2O hard disk, whole disk
1509 ... 1509 ...
1510 240 = /dev/i2o/hdaf 32nd I2O hard disk, whole disk 1510 240 = /dev/i2o/hdaf 32nd I2O hard disk, whole disk
1511 1511
1512 Partitions are handled in the same way as for IDE 1512 Partitions are handled in the same way as for IDE
1513 disks (see major number 3) except that the limit on 1513 disks (see major number 3) except that the limit on
1514 partitions is 15. 1514 partitions is 15.
1515 1515
1516 82 char WiNRADiO communications receiver card 1516 82 char WiNRADiO communications receiver card
1517 0 = /dev/winradio0 First WiNRADiO card 1517 0 = /dev/winradio0 First WiNRADiO card
1518 1 = /dev/winradio1 Second WiNRADiO card 1518 1 = /dev/winradio1 Second WiNRADiO card
1519 ... 1519 ...
1520 1520
1521 The driver and documentation may be obtained from 1521 The driver and documentation may be obtained from
1522 http://www.winradio.com/ 1522 http://www.winradio.com/
1523 1523
1524 82 block I2O hard disk 1524 82 block I2O hard disk
1525 0 = /dev/i2o/hdag 33rd I2O hard disk, whole disk 1525 0 = /dev/i2o/hdag 33rd I2O hard disk, whole disk
1526 16 = /dev/i2o/hdah 34th I2O hard disk, whole disk 1526 16 = /dev/i2o/hdah 34th I2O hard disk, whole disk
1527 ... 1527 ...
1528 240 = /dev/i2o/hdav 48th I2O hard disk, whole disk 1528 240 = /dev/i2o/hdav 48th I2O hard disk, whole disk
1529 1529
1530 Partitions are handled in the same way as for IDE 1530 Partitions are handled in the same way as for IDE
1531 disks (see major number 3) except that the limit on 1531 disks (see major number 3) except that the limit on
1532 partitions is 15. 1532 partitions is 15.
1533 1533
1534 83 char Matrox mga_vid video driver 1534 83 char Matrox mga_vid video driver
1535 0 = /dev/mga_vid0 1st video card 1535 0 = /dev/mga_vid0 1st video card
1536 1 = /dev/mga_vid1 2nd video card 1536 1 = /dev/mga_vid1 2nd video card
1537 2 = /dev/mga_vid2 3rd video card 1537 2 = /dev/mga_vid2 3rd video card
1538 ... 1538 ...
1539 15 = /dev/mga_vid15 16th video card 1539 15 = /dev/mga_vid15 16th video card
1540 1540
1541 83 block I2O hard disk 1541 83 block I2O hard disk
1542 0 = /dev/i2o/hdaw 49th I2O hard disk, whole disk 1542 0 = /dev/i2o/hdaw 49th I2O hard disk, whole disk
1543 16 = /dev/i2o/hdax 50th I2O hard disk, whole disk 1543 16 = /dev/i2o/hdax 50th I2O hard disk, whole disk
1544 ... 1544 ...
1545 240 = /dev/i2o/hdbl 64th I2O hard disk, whole disk 1545 240 = /dev/i2o/hdbl 64th I2O hard disk, whole disk
1546 1546
1547 Partitions are handled in the same way as for IDE 1547 Partitions are handled in the same way as for IDE
1548 disks (see major number 3) except that the limit on 1548 disks (see major number 3) except that the limit on
1549 partitions is 15. 1549 partitions is 15.
1550 1550
1551 84 char Ikon 1011[57] Versatec Greensheet Interface 1551 84 char Ikon 1011[57] Versatec Greensheet Interface
1552 0 = /dev/ihcp0 First Greensheet port 1552 0 = /dev/ihcp0 First Greensheet port
1553 1 = /dev/ihcp1 Second Greensheet port 1553 1 = /dev/ihcp1 Second Greensheet port
1554 1554
1555 84 block I2O hard disk 1555 84 block I2O hard disk
1556 0 = /dev/i2o/hdbm 65th I2O hard disk, whole disk 1556 0 = /dev/i2o/hdbm 65th I2O hard disk, whole disk
1557 16 = /dev/i2o/hdbn 66th I2O hard disk, whole disk 1557 16 = /dev/i2o/hdbn 66th I2O hard disk, whole disk
1558 ... 1558 ...
1559 240 = /dev/i2o/hdcb 80th I2O hard disk, whole disk 1559 240 = /dev/i2o/hdcb 80th I2O hard disk, whole disk
1560 1560
1561 Partitions are handled in the same way as for IDE 1561 Partitions are handled in the same way as for IDE
1562 disks (see major number 3) except that the limit on 1562 disks (see major number 3) except that the limit on
1563 partitions is 15. 1563 partitions is 15.
1564 1564
1565 85 char Linux/SGI shared memory input queue 1565 85 char Linux/SGI shared memory input queue
1566 0 = /dev/shmiq Master shared input queue 1566 0 = /dev/shmiq Master shared input queue
1567 1 = /dev/qcntl0 First device pushed 1567 1 = /dev/qcntl0 First device pushed
1568 2 = /dev/qcntl1 Second device pushed 1568 2 = /dev/qcntl1 Second device pushed
1569 ... 1569 ...
1570 1570
1571 85 block I2O hard disk 1571 85 block I2O hard disk
1572 0 = /dev/i2o/hdcc 81st I2O hard disk, whole disk 1572 0 = /dev/i2o/hdcc 81st I2O hard disk, whole disk
1573 16 = /dev/i2o/hdcd 82nd I2O hard disk, whole disk 1573 16 = /dev/i2o/hdcd 82nd I2O hard disk, whole disk
1574 ... 1574 ...
1575 240 = /dev/i2o/hdcr 96th I2O hard disk, whole disk 1575 240 = /dev/i2o/hdcr 96th I2O hard disk, whole disk
1576 1576
1577 Partitions are handled in the same way as for IDE 1577 Partitions are handled in the same way as for IDE
1578 disks (see major number 3) except that the limit on 1578 disks (see major number 3) except that the limit on
1579 partitions is 15. 1579 partitions is 15.
1580 1580
1581 86 char SCSI media changer 1581 86 char SCSI media changer
1582 0 = /dev/sch0 First SCSI media changer 1582 0 = /dev/sch0 First SCSI media changer
1583 1 = /dev/sch1 Second SCSI media changer 1583 1 = /dev/sch1 Second SCSI media changer
1584 ... 1584 ...
1585 1585
1586 86 block I2O hard disk 1586 86 block I2O hard disk
1587 0 = /dev/i2o/hdcs 97th I2O hard disk, whole disk 1587 0 = /dev/i2o/hdcs 97th I2O hard disk, whole disk
1588 16 = /dev/i2o/hdct 98th I2O hard disk, whole disk 1588 16 = /dev/i2o/hdct 98th I2O hard disk, whole disk
1589 ... 1589 ...
1590 240 = /dev/i2o/hddh 112th I2O hard disk, whole disk 1590 240 = /dev/i2o/hddh 112th I2O hard disk, whole disk
1591 1591
1592 Partitions are handled in the same way as for IDE 1592 Partitions are handled in the same way as for IDE
1593 disks (see major number 3) except that the limit on 1593 disks (see major number 3) except that the limit on
1594 partitions is 15. 1594 partitions is 15.
1595 1595
1596 87 char Sony Control-A1 stereo control bus 1596 87 char Sony Control-A1 stereo control bus
1597 0 = /dev/controla0 First device on chain 1597 0 = /dev/controla0 First device on chain
1598 1 = /dev/controla1 Second device on chain 1598 1 = /dev/controla1 Second device on chain
1599 ... 1599 ...
1600 1600
1601 87 block I2O hard disk 1601 87 block I2O hard disk
1602 0 = /dev/i2o/hddi 113rd I2O hard disk, whole disk 1602 0 = /dev/i2o/hddi 113rd I2O hard disk, whole disk
1603 16 = /dev/i2o/hddj 114th I2O hard disk, whole disk 1603 16 = /dev/i2o/hddj 114th I2O hard disk, whole disk
1604 ... 1604 ...
1605 240 = /dev/i2o/hddx 128th I2O hard disk, whole disk 1605 240 = /dev/i2o/hddx 128th I2O hard disk, whole disk
1606 1606
1607 Partitions are handled in the same way as for IDE 1607 Partitions are handled in the same way as for IDE
1608 disks (see major number 3) except that the limit on 1608 disks (see major number 3) except that the limit on
1609 partitions is 15. 1609 partitions is 15.
1610 1610
1611 88 char COMX synchronous serial card 1611 88 char COMX synchronous serial card
1612 0 = /dev/comx0 COMX channel 0 1612 0 = /dev/comx0 COMX channel 0
1613 1 = /dev/comx1 COMX channel 1 1613 1 = /dev/comx1 COMX channel 1
1614 ... 1614 ...
1615 1615
1616 88 block Seventh IDE hard disk/CD-ROM interface 1616 88 block Seventh IDE hard disk/CD-ROM interface
1617 0 = /dev/hdm Master: whole disk (or CD-ROM) 1617 0 = /dev/hdm Master: whole disk (or CD-ROM)
1618 64 = /dev/hdn Slave: whole disk (or CD-ROM) 1618 64 = /dev/hdn Slave: whole disk (or CD-ROM)
1619 1619
1620 Partitions are handled the same way as for the first 1620 Partitions are handled the same way as for the first
1621 interface (see major number 3). 1621 interface (see major number 3).
1622 1622
1623 89 char I2C bus interface 1623 89 char I2C bus interface
1624 0 = /dev/i2c-0 First I2C adapter 1624 0 = /dev/i2c-0 First I2C adapter
1625 1 = /dev/i2c-1 Second I2C adapter 1625 1 = /dev/i2c-1 Second I2C adapter
1626 ... 1626 ...
1627 1627
1628 89 block Eighth IDE hard disk/CD-ROM interface 1628 89 block Eighth IDE hard disk/CD-ROM interface
1629 0 = /dev/hdo Master: whole disk (or CD-ROM) 1629 0 = /dev/hdo Master: whole disk (or CD-ROM)
1630 64 = /dev/hdp Slave: whole disk (or CD-ROM) 1630 64 = /dev/hdp Slave: whole disk (or CD-ROM)
1631 1631
1632 Partitions are handled the same way as for the first 1632 Partitions are handled the same way as for the first
1633 interface (see major number 3). 1633 interface (see major number 3).
1634 1634
1635 90 char Memory Technology Device (RAM, ROM, Flash) 1635 90 char Memory Technology Device (RAM, ROM, Flash)
1636 0 = /dev/mtd0 First MTD (rw) 1636 0 = /dev/mtd0 First MTD (rw)
1637 1 = /dev/mtdr0 First MTD (ro) 1637 1 = /dev/mtdr0 First MTD (ro)
1638 ... 1638 ...
1639 30 = /dev/mtd15 16th MTD (rw) 1639 30 = /dev/mtd15 16th MTD (rw)
1640 31 = /dev/mtdr15 16th MTD (ro) 1640 31 = /dev/mtdr15 16th MTD (ro)
1641 1641
1642 90 block Ninth IDE hard disk/CD-ROM interface 1642 90 block Ninth IDE hard disk/CD-ROM interface
1643 0 = /dev/hdq Master: whole disk (or CD-ROM) 1643 0 = /dev/hdq Master: whole disk (or CD-ROM)
1644 64 = /dev/hdr Slave: whole disk (or CD-ROM) 1644 64 = /dev/hdr Slave: whole disk (or CD-ROM)
1645 1645
1646 Partitions are handled the same way as for the first 1646 Partitions are handled the same way as for the first
1647 interface (see major number 3). 1647 interface (see major number 3).
1648 1648
1649 91 char CAN-Bus devices 1649 91 char CAN-Bus devices
1650 0 = /dev/can0 First CAN-Bus controller 1650 0 = /dev/can0 First CAN-Bus controller
1651 1 = /dev/can1 Second CAN-Bus controller 1651 1 = /dev/can1 Second CAN-Bus controller
1652 ... 1652 ...
1653 1653
1654 91 block Tenth IDE hard disk/CD-ROM interface 1654 91 block Tenth IDE hard disk/CD-ROM interface
1655 0 = /dev/hds Master: whole disk (or CD-ROM) 1655 0 = /dev/hds Master: whole disk (or CD-ROM)
1656 64 = /dev/hdt Slave: whole disk (or CD-ROM) 1656 64 = /dev/hdt Slave: whole disk (or CD-ROM)
1657 1657
1658 Partitions are handled the same way as for the first 1658 Partitions are handled the same way as for the first
1659 interface (see major number 3). 1659 interface (see major number 3).
1660 1660
1661 92 char Reserved for ith Kommunikationstechnik MIC ISDN card 1661 92 char Reserved for ith Kommunikationstechnik MIC ISDN card
1662 1662
1663 92 block PPDD encrypted disk driver 1663 92 block PPDD encrypted disk driver
1664 0 = /dev/ppdd0 First encrypted disk 1664 0 = /dev/ppdd0 First encrypted disk
1665 1 = /dev/ppdd1 Second encrypted disk 1665 1 = /dev/ppdd1 Second encrypted disk
1666 ... 1666 ...
1667 1667
1668 Partitions are handled in the same way as for IDE 1668 Partitions are handled in the same way as for IDE
1669 disks (see major number 3) except that the limit on 1669 disks (see major number 3) except that the limit on
1670 partitions is 15. 1670 partitions is 15.
1671 1671
1672 93 char 1672 93 char
1673 1673
1674 93 block NAND Flash Translation Layer filesystem 1674 93 block NAND Flash Translation Layer filesystem
1675 0 = /dev/nftla First NFTL layer 1675 0 = /dev/nftla First NFTL layer
1676 16 = /dev/nftlb Second NFTL layer 1676 16 = /dev/nftlb Second NFTL layer
1677 ... 1677 ...
1678 240 = /dev/nftlp 16th NTFL layer 1678 240 = /dev/nftlp 16th NTFL layer
1679 1679
1680 94 char 1680 94 char
1681 1681
1682 94 block IBM S/390 DASD block storage 1682 94 block IBM S/390 DASD block storage
1683 0 = /dev/dasda First DASD device, major 1683 0 = /dev/dasda First DASD device, major
1684 1 = /dev/dasda1 First DASD device, block 1 1684 1 = /dev/dasda1 First DASD device, block 1
1685 2 = /dev/dasda2 First DASD device, block 2 1685 2 = /dev/dasda2 First DASD device, block 2
1686 3 = /dev/dasda3 First DASD device, block 3 1686 3 = /dev/dasda3 First DASD device, block 3
1687 4 = /dev/dasdb Second DASD device, major 1687 4 = /dev/dasdb Second DASD device, major
1688 5 = /dev/dasdb1 Second DASD device, block 1 1688 5 = /dev/dasdb1 Second DASD device, block 1
1689 6 = /dev/dasdb2 Second DASD device, block 2 1689 6 = /dev/dasdb2 Second DASD device, block 2
1690 7 = /dev/dasdb3 Second DASD device, block 3 1690 7 = /dev/dasdb3 Second DASD device, block 3
1691 ... 1691 ...
1692 1692
1693 95 char IP filter 1693 95 char IP filter
1694 0 = /dev/ipl Filter control device/log file 1694 0 = /dev/ipl Filter control device/log file
1695 1 = /dev/ipnat NAT control device/log file 1695 1 = /dev/ipnat NAT control device/log file
1696 2 = /dev/ipstate State information log file 1696 2 = /dev/ipstate State information log file
1697 3 = /dev/ipauth Authentication control device/log file 1697 3 = /dev/ipauth Authentication control device/log file
1698 ... 1698 ...
1699 1699
1700 96 char Parallel port ATAPI tape devices 1700 96 char Parallel port ATAPI tape devices
1701 0 = /dev/pt0 First parallel port ATAPI tape 1701 0 = /dev/pt0 First parallel port ATAPI tape
1702 1 = /dev/pt1 Second parallel port ATAPI tape 1702 1 = /dev/pt1 Second parallel port ATAPI tape
1703 ... 1703 ...
1704 128 = /dev/npt0 First p.p. ATAPI tape, no rewind 1704 128 = /dev/npt0 First p.p. ATAPI tape, no rewind
1705 129 = /dev/npt1 Second p.p. ATAPI tape, no rewind 1705 129 = /dev/npt1 Second p.p. ATAPI tape, no rewind
1706 ... 1706 ...
1707 1707
1708 96 block Inverse NAND Flash Translation Layer 1708 96 block Inverse NAND Flash Translation Layer
1709 0 = /dev/inftla First INFTL layer 1709 0 = /dev/inftla First INFTL layer
1710 16 = /dev/inftlb Second INFTL layer 1710 16 = /dev/inftlb Second INFTL layer
1711 ... 1711 ...
1712 240 = /dev/inftlp 16th INTFL layer 1712 240 = /dev/inftlp 16th INTFL layer
1713 1713
1714 97 char Parallel port generic ATAPI interface 1714 97 char Parallel port generic ATAPI interface
1715 0 = /dev/pg0 First parallel port ATAPI device 1715 0 = /dev/pg0 First parallel port ATAPI device
1716 1 = /dev/pg1 Second parallel port ATAPI device 1716 1 = /dev/pg1 Second parallel port ATAPI device
1717 2 = /dev/pg2 Third parallel port ATAPI device 1717 2 = /dev/pg2 Third parallel port ATAPI device
1718 3 = /dev/pg3 Fourth parallel port ATAPI device 1718 3 = /dev/pg3 Fourth parallel port ATAPI device
1719 1719
1720 These devices support the same API as the generic SCSI 1720 These devices support the same API as the generic SCSI
1721 devices. 1721 devices.
1722 1722
1723 98 char Control and Measurement Device (comedi) 1723 98 char Control and Measurement Device (comedi)
1724 0 = /dev/comedi0 First comedi device 1724 0 = /dev/comedi0 First comedi device
1725 1 = /dev/comedi1 Second comedi device 1725 1 = /dev/comedi1 Second comedi device
1726 ... 1726 ...
1727 1727
1728 See http://stm.lbl.gov/comedi. 1728 See http://stm.lbl.gov/comedi.
1729 1729
1730 98 block User-mode virtual block device 1730 98 block User-mode virtual block device
1731 0 = /dev/ubda First user-mode block device 1731 0 = /dev/ubda First user-mode block device
1732 16 = /dev/udbb Second user-mode block device 1732 16 = /dev/udbb Second user-mode block device
1733 ... 1733 ...
1734 1734
1735 Partitions are handled in the same way as for IDE 1735 Partitions are handled in the same way as for IDE
1736 disks (see major number 3) except that the limit on 1736 disks (see major number 3) except that the limit on
1737 partitions is 15. 1737 partitions is 15.
1738 1738
1739 This device is used by the user-mode virtual kernel port. 1739 This device is used by the user-mode virtual kernel port.
1740 1740
1741 99 char Raw parallel ports 1741 99 char Raw parallel ports
1742 0 = /dev/parport0 First parallel port 1742 0 = /dev/parport0 First parallel port
1743 1 = /dev/parport1 Second parallel port 1743 1 = /dev/parport1 Second parallel port
1744 ... 1744 ...
1745 1745
1746 99 block JavaStation flash disk 1746 99 block JavaStation flash disk
1747 0 = /dev/jsfd JavaStation flash disk 1747 0 = /dev/jsfd JavaStation flash disk
1748 1748
1749 100 char Telephony for Linux 1749 100 char Telephony for Linux
1750 0 = /dev/phone0 First telephony device 1750 0 = /dev/phone0 First telephony device
1751 1 = /dev/phone1 Second telephony device 1751 1 = /dev/phone1 Second telephony device
1752 ... 1752 ...
1753 1753
1754 101 char Motorola DSP 56xxx board 1754 101 char Motorola DSP 56xxx board
1755 0 = /dev/mdspstat Status information 1755 0 = /dev/mdspstat Status information
1756 1 = /dev/mdsp1 First DSP board I/O controls 1756 1 = /dev/mdsp1 First DSP board I/O controls
1757 ... 1757 ...
1758 16 = /dev/mdsp16 16th DSP board I/O controls 1758 16 = /dev/mdsp16 16th DSP board I/O controls
1759 1759
1760 101 block AMI HyperDisk RAID controller 1760 101 block AMI HyperDisk RAID controller
1761 0 = /dev/amiraid/ar0 First array whole disk 1761 0 = /dev/amiraid/ar0 First array whole disk
1762 16 = /dev/amiraid/ar1 Second array whole disk 1762 16 = /dev/amiraid/ar1 Second array whole disk
1763 ... 1763 ...
1764 240 = /dev/amiraid/ar15 16th array whole disk 1764 240 = /dev/amiraid/ar15 16th array whole disk
1765 1765
1766 For each device, partitions are added as: 1766 For each device, partitions are added as:
1767 0 = /dev/amiraid/ar? Whole disk 1767 0 = /dev/amiraid/ar? Whole disk
1768 1 = /dev/amiraid/ar?p1 First partition 1768 1 = /dev/amiraid/ar?p1 First partition
1769 2 = /dev/amiraid/ar?p2 Second partition 1769 2 = /dev/amiraid/ar?p2 Second partition
1770 ... 1770 ...
1771 15 = /dev/amiraid/ar?p15 15th partition 1771 15 = /dev/amiraid/ar?p15 15th partition
1772 1772
1773 102 char 1773 102 char
1774 1774
1775 102 block Compressed block device 1775 102 block Compressed block device
1776 0 = /dev/cbd/a First compressed block device, whole device 1776 0 = /dev/cbd/a First compressed block device, whole device
1777 16 = /dev/cbd/b Second compressed block device, whole device 1777 16 = /dev/cbd/b Second compressed block device, whole device
1778 ... 1778 ...
1779 240 = /dev/cbd/p 16th compressed block device, whole device 1779 240 = /dev/cbd/p 16th compressed block device, whole device
1780 1780
1781 Partitions are handled in the same way as for IDE 1781 Partitions are handled in the same way as for IDE
1782 disks (see major number 3) except that the limit on 1782 disks (see major number 3) except that the limit on
1783 partitions is 15. 1783 partitions is 15.
1784 1784
1785 103 char Arla network file system 1785 103 char Arla network file system
1786 0 = /dev/nnpfs0 First NNPFS device 1786 0 = /dev/nnpfs0 First NNPFS device
1787 1 = /dev/nnpfs1 Second NNPFS device 1787 1 = /dev/nnpfs1 Second NNPFS device
1788 1788
1789 Arla is a free clone of the Andrew File System, AFS. 1789 Arla is a free clone of the Andrew File System, AFS.
1790 The NNPFS device gives user mode filesystem 1790 The NNPFS device gives user mode filesystem
1791 implementations a kernel presence for caching and easy 1791 implementations a kernel presence for caching and easy
1792 mounting. For more information about the project, 1792 mounting. For more information about the project,
1793 write to <arla-drinkers@stacken.kth.se> or see 1793 write to <arla-drinkers@stacken.kth.se> or see
1794 http://www.stacken.kth.se/project/arla/ 1794 http://www.stacken.kth.se/project/arla/
1795 1795
1796 103 block Audit device 1796 103 block Audit device
1797 0 = /dev/audit Audit device 1797 0 = /dev/audit Audit device
1798 1798
1799 104 char Flash BIOS support 1799 104 char Flash BIOS support
1800 1800
1801 104 block Compaq Next Generation Drive Array, first controller 1801 104 block Compaq Next Generation Drive Array, first controller
1802 0 = /dev/cciss/c0d0 First logical drive, whole disk 1802 0 = /dev/cciss/c0d0 First logical drive, whole disk
1803 16 = /dev/cciss/c0d1 Second logical drive, whole disk 1803 16 = /dev/cciss/c0d1 Second logical drive, whole disk
1804 ... 1804 ...
1805 240 = /dev/cciss/c0d15 16th logical drive, whole disk 1805 240 = /dev/cciss/c0d15 16th logical drive, whole disk
1806 1806
1807 Partitions are handled the same way as for Mylex 1807 Partitions are handled the same way as for Mylex
1808 DAC960 (see major number 48) except that the limit on 1808 DAC960 (see major number 48) except that the limit on
1809 partitions is 15. 1809 partitions is 15.
1810 1810
1811 105 char Comtrol VS-1000 serial controller 1811 105 char Comtrol VS-1000 serial controller
1812 0 = /dev/ttyV0 First VS-1000 port 1812 0 = /dev/ttyV0 First VS-1000 port
1813 1 = /dev/ttyV1 Second VS-1000 port 1813 1 = /dev/ttyV1 Second VS-1000 port
1814 ... 1814 ...
1815 1815
1816 105 block Compaq Next Generation Drive Array, second controller 1816 105 block Compaq Next Generation Drive Array, second controller
1817 0 = /dev/cciss/c1d0 First logical drive, whole disk 1817 0 = /dev/cciss/c1d0 First logical drive, whole disk
1818 16 = /dev/cciss/c1d1 Second logical drive, whole disk 1818 16 = /dev/cciss/c1d1 Second logical drive, whole disk
1819 ... 1819 ...
1820 240 = /dev/cciss/c1d15 16th logical drive, whole disk 1820 240 = /dev/cciss/c1d15 16th logical drive, whole disk
1821 1821
1822 Partitions are handled the same way as for Mylex 1822 Partitions are handled the same way as for Mylex
1823 DAC960 (see major number 48) except that the limit on 1823 DAC960 (see major number 48) except that the limit on
1824 partitions is 15. 1824 partitions is 15.
1825 1825
1826 106 char Comtrol VS-1000 serial controller - alternate devices 1826 106 char Comtrol VS-1000 serial controller - alternate devices
1827 0 = /dev/cuv0 First VS-1000 port 1827 0 = /dev/cuv0 First VS-1000 port
1828 1 = /dev/cuv1 Second VS-1000 port 1828 1 = /dev/cuv1 Second VS-1000 port
1829 ... 1829 ...
1830 1830
1831 106 block Compaq Next Generation Drive Array, third controller 1831 106 block Compaq Next Generation Drive Array, third controller
1832 0 = /dev/cciss/c2d0 First logical drive, whole disk 1832 0 = /dev/cciss/c2d0 First logical drive, whole disk
1833 16 = /dev/cciss/c2d1 Second logical drive, whole disk 1833 16 = /dev/cciss/c2d1 Second logical drive, whole disk
1834 ... 1834 ...
1835 240 = /dev/cciss/c2d15 16th logical drive, whole disk 1835 240 = /dev/cciss/c2d15 16th logical drive, whole disk
1836 1836
1837 Partitions are handled the same way as for Mylex 1837 Partitions are handled the same way as for Mylex
1838 DAC960 (see major number 48) except that the limit on 1838 DAC960 (see major number 48) except that the limit on
1839 partitions is 15. 1839 partitions is 15.
1840 1840
1841 107 char 3Dfx Voodoo Graphics device 1841 107 char 3Dfx Voodoo Graphics device
1842 0 = /dev/3dfx Primary 3Dfx graphics device 1842 0 = /dev/3dfx Primary 3Dfx graphics device
1843 1843
1844 107 block Compaq Next Generation Drive Array, fourth controller 1844 107 block Compaq Next Generation Drive Array, fourth controller
1845 0 = /dev/cciss/c3d0 First logical drive, whole disk 1845 0 = /dev/cciss/c3d0 First logical drive, whole disk
1846 16 = /dev/cciss/c3d1 Second logical drive, whole disk 1846 16 = /dev/cciss/c3d1 Second logical drive, whole disk
1847 ... 1847 ...
1848 240 = /dev/cciss/c3d15 16th logical drive, whole disk 1848 240 = /dev/cciss/c3d15 16th logical drive, whole disk
1849 1849
1850 Partitions are handled the same way as for Mylex 1850 Partitions are handled the same way as for Mylex
1851 DAC960 (see major number 48) except that the limit on 1851 DAC960 (see major number 48) except that the limit on
1852 partitions is 15. 1852 partitions is 15.
1853 1853
1854 108 char Device independent PPP interface 1854 108 char Device independent PPP interface
1855 0 = /dev/ppp Device independent PPP interface 1855 0 = /dev/ppp Device independent PPP interface
1856 1856
1857 108 block Compaq Next Generation Drive Array, fifth controller 1857 108 block Compaq Next Generation Drive Array, fifth controller
1858 0 = /dev/cciss/c4d0 First logical drive, whole disk 1858 0 = /dev/cciss/c4d0 First logical drive, whole disk
1859 16 = /dev/cciss/c4d1 Second logical drive, whole disk 1859 16 = /dev/cciss/c4d1 Second logical drive, whole disk
1860 ... 1860 ...
1861 240 = /dev/cciss/c4d15 16th logical drive, whole disk 1861 240 = /dev/cciss/c4d15 16th logical drive, whole disk
1862 1862
1863 Partitions are handled the same way as for Mylex 1863 Partitions are handled the same way as for Mylex
1864 DAC960 (see major number 48) except that the limit on 1864 DAC960 (see major number 48) except that the limit on
1865 partitions is 15. 1865 partitions is 15.
1866 1866
1867 109 char Reserved for logical volume manager 1867 109 char Reserved for logical volume manager
1868 1868
1869 109 block Compaq Next Generation Drive Array, sixth controller 1869 109 block Compaq Next Generation Drive Array, sixth controller
1870 0 = /dev/cciss/c5d0 First logical drive, whole disk 1870 0 = /dev/cciss/c5d0 First logical drive, whole disk
1871 16 = /dev/cciss/c5d1 Second logical drive, whole disk 1871 16 = /dev/cciss/c5d1 Second logical drive, whole disk
1872 ... 1872 ...
1873 240 = /dev/cciss/c5d15 16th logical drive, whole disk 1873 240 = /dev/cciss/c5d15 16th logical drive, whole disk
1874 1874
1875 Partitions are handled the same way as for Mylex 1875 Partitions are handled the same way as for Mylex
1876 DAC960 (see major number 48) except that the limit on 1876 DAC960 (see major number 48) except that the limit on
1877 partitions is 15. 1877 partitions is 15.
1878 1878
1879 110 char miroMEDIA Surround board 1879 110 char miroMEDIA Surround board
1880 0 = /dev/srnd0 First miroMEDIA Surround board 1880 0 = /dev/srnd0 First miroMEDIA Surround board
1881 1 = /dev/srnd1 Second miroMEDIA Surround board 1881 1 = /dev/srnd1 Second miroMEDIA Surround board
1882 ... 1882 ...
1883 1883
1884 110 block Compaq Next Generation Drive Array, seventh controller 1884 110 block Compaq Next Generation Drive Array, seventh controller
1885 0 = /dev/cciss/c6d0 First logical drive, whole disk 1885 0 = /dev/cciss/c6d0 First logical drive, whole disk
1886 16 = /dev/cciss/c6d1 Second logical drive, whole disk 1886 16 = /dev/cciss/c6d1 Second logical drive, whole disk
1887 ... 1887 ...
1888 240 = /dev/cciss/c6d15 16th logical drive, whole disk 1888 240 = /dev/cciss/c6d15 16th logical drive, whole disk
1889 1889
1890 Partitions are handled the same way as for Mylex 1890 Partitions are handled the same way as for Mylex
1891 DAC960 (see major number 48) except that the limit on 1891 DAC960 (see major number 48) except that the limit on
1892 partitions is 15. 1892 partitions is 15.
1893 1893
1894 111 char 1894 111 char
1895 1895
1896 111 block Compaq Next Generation Drive Array, eighth controller 1896 111 block Compaq Next Generation Drive Array, eighth controller
1897 0 = /dev/cciss/c7d0 First logical drive, whole disk 1897 0 = /dev/cciss/c7d0 First logical drive, whole disk
1898 16 = /dev/cciss/c7d1 Second logical drive, whole disk 1898 16 = /dev/cciss/c7d1 Second logical drive, whole disk
1899 ... 1899 ...
1900 240 = /dev/cciss/c7d15 16th logical drive, whole disk 1900 240 = /dev/cciss/c7d15 16th logical drive, whole disk
1901 1901
1902 Partitions are handled the same way as for Mylex 1902 Partitions are handled the same way as for Mylex
1903 DAC960 (see major number 48) except that the limit on 1903 DAC960 (see major number 48) except that the limit on
1904 partitions is 15. 1904 partitions is 15.
1905 1905
1906 112 char ISI serial card 1906 112 char ISI serial card
1907 0 = /dev/ttyM0 First ISI port 1907 0 = /dev/ttyM0 First ISI port
1908 1 = /dev/ttyM1 Second ISI port 1908 1 = /dev/ttyM1 Second ISI port
1909 ... 1909 ...
1910 1910
1911 There is currently a device-naming conflict between 1911 There is currently a device-naming conflict between
1912 these and PAM multimodems (major 78). 1912 these and PAM multimodems (major 78).
1913 1913
1914 112 block IBM iSeries virtual disk 1914 112 block IBM iSeries virtual disk
1915 0 = /dev/iseries/vda First virtual disk, whole disk 1915 0 = /dev/iseries/vda First virtual disk, whole disk
1916 8 = /dev/iseries/vdb Second virtual disk, whole disk 1916 8 = /dev/iseries/vdb Second virtual disk, whole disk
1917 ... 1917 ...
1918 200 = /dev/iseries/vdz 26th virtual disk, whole disk 1918 200 = /dev/iseries/vdz 26th virtual disk, whole disk
1919 208 = /dev/iseries/vdaa 27th virtual disk, whole disk 1919 208 = /dev/iseries/vdaa 27th virtual disk, whole disk
1920 ... 1920 ...
1921 248 = /dev/iseries/vdaf 32nd virtual disk, whole disk 1921 248 = /dev/iseries/vdaf 32nd virtual disk, whole disk
1922 1922
1923 Partitions are handled in the same way as for IDE 1923 Partitions are handled in the same way as for IDE
1924 disks (see major number 3) except that the limit on 1924 disks (see major number 3) except that the limit on
1925 partitions is 7. 1925 partitions is 7.
1926 1926
1927 113 char ISI serial card - alternate devices 1927 113 char ISI serial card - alternate devices
1928 0 = /dev/cum0 Callout device for ttyM0 1928 0 = /dev/cum0 Callout device for ttyM0
1929 1 = /dev/cum1 Callout device for ttyM1 1929 1 = /dev/cum1 Callout device for ttyM1
1930 ... 1930 ...
1931 1931
1932 113 block IBM iSeries virtual CD-ROM 1932 113 block IBM iSeries virtual CD-ROM
1933 0 = /dev/iseries/vcda First virtual CD-ROM 1933 0 = /dev/iseries/vcda First virtual CD-ROM
1934 1 = /dev/iseries/vcdb Second virtual CD-ROM 1934 1 = /dev/iseries/vcdb Second virtual CD-ROM
1935 ... 1935 ...
1936 1936
1937 114 char Picture Elements ISE board 1937 114 char Picture Elements ISE board
1938 0 = /dev/ise0 First ISE board 1938 0 = /dev/ise0 First ISE board
1939 1 = /dev/ise1 Second ISE board 1939 1 = /dev/ise1 Second ISE board
1940 ... 1940 ...
1941 128 = /dev/isex0 Control node for first ISE board 1941 128 = /dev/isex0 Control node for first ISE board
1942 129 = /dev/isex1 Control node for second ISE board 1942 129 = /dev/isex1 Control node for second ISE board
1943 ... 1943 ...
1944 1944
1945 The ISE board is an embedded computer, optimized for 1945 The ISE board is an embedded computer, optimized for
1946 image processing. The /dev/iseN nodes are the general 1946 image processing. The /dev/iseN nodes are the general
1947 I/O access to the board, the /dev/isex0 nodes command 1947 I/O access to the board, the /dev/isex0 nodes command
1948 nodes used to control the board. 1948 nodes used to control the board.
1949 1949
1950 114 block IDE BIOS powered software RAID interfaces such as the 1950 114 block IDE BIOS powered software RAID interfaces such as the
1951 Promise Fastrak 1951 Promise Fastrak
1952 1952
1953 0 = /dev/ataraid/d0 1953 0 = /dev/ataraid/d0
1954 1 = /dev/ataraid/d0p1 1954 1 = /dev/ataraid/d0p1
1955 2 = /dev/ataraid/d0p2 1955 2 = /dev/ataraid/d0p2
1956 ... 1956 ...
1957 16 = /dev/ataraid/d1 1957 16 = /dev/ataraid/d1
1958 17 = /dev/ataraid/d1p1 1958 17 = /dev/ataraid/d1p1
1959 18 = /dev/ataraid/d1p2 1959 18 = /dev/ataraid/d1p2
1960 ... 1960 ...
1961 255 = /dev/ataraid/d15p15 1961 255 = /dev/ataraid/d15p15
1962 1962
1963 Partitions are handled in the same way as for IDE 1963 Partitions are handled in the same way as for IDE
1964 disks (see major number 3) except that the limit on 1964 disks (see major number 3) except that the limit on
1965 partitions is 15. 1965 partitions is 15.
1966 1966
1967 115 char TI link cable devices (115 was formerly the console driver speaker) 1967 115 char TI link cable devices (115 was formerly the console driver speaker)
1968 0 = /dev/tipar0 Parallel cable on first parallel port 1968 0 = /dev/tipar0 Parallel cable on first parallel port
1969 ... 1969 ...
1970 7 = /dev/tipar7 Parallel cable on seventh parallel port 1970 7 = /dev/tipar7 Parallel cable on seventh parallel port
1971 1971
1972 8 = /dev/tiser0 Serial cable on first serial port 1972 8 = /dev/tiser0 Serial cable on first serial port
1973 ... 1973 ...
1974 15 = /dev/tiser7 Serial cable on seventh serial port 1974 15 = /dev/tiser7 Serial cable on seventh serial port
1975 1975
1976 16 = /dev/tiusb0 First USB cable 1976 16 = /dev/tiusb0 First USB cable
1977 ... 1977 ...
1978 47 = /dev/tiusb31 32nd USB cable 1978 47 = /dev/tiusb31 32nd USB cable
1979 1979
1980 115 block NetWare (NWFS) Devices (0-255) 1980 115 block NetWare (NWFS) Devices (0-255)
1981 1981
1982 The NWFS (NetWare) devices are used to present a 1982 The NWFS (NetWare) devices are used to present a
1983 collection of NetWare Mirror Groups or NetWare 1983 collection of NetWare Mirror Groups or NetWare
1984 Partitions as a logical storage segment for 1984 Partitions as a logical storage segment for
1985 use in mounting NetWare volumes. A maximum of 1985 use in mounting NetWare volumes. A maximum of
1986 256 NetWare volumes can be supported in a single 1986 256 NetWare volumes can be supported in a single
1987 machine. 1987 machine.
1988 1988
1989 http://cgfa.telepac.pt/ftp2/kernel.org/linux/kernel/people/jmerkey/nwfs/ 1989 http://cgfa.telepac.pt/ftp2/kernel.org/linux/kernel/people/jmerkey/nwfs/
1990 1990
1991 0 = /dev/nwfs/v0 First NetWare (NWFS) Logical Volume 1991 0 = /dev/nwfs/v0 First NetWare (NWFS) Logical Volume
1992 1 = /dev/nwfs/v1 Second NetWare (NWFS) Logical Volume 1992 1 = /dev/nwfs/v1 Second NetWare (NWFS) Logical Volume
1993 2 = /dev/nwfs/v2 Third NetWare (NWFS) Logical Volume 1993 2 = /dev/nwfs/v2 Third NetWare (NWFS) Logical Volume
1994 ... 1994 ...
1995 255 = /dev/nwfs/v255 Last NetWare (NWFS) Logical Volume 1995 255 = /dev/nwfs/v255 Last NetWare (NWFS) Logical Volume
1996 1996
1997 116 char Advanced Linux Sound Driver (ALSA) 1997 116 char Advanced Linux Sound Driver (ALSA)
1998 1998
1999 116 block MicroMemory battery backed RAM adapter (NVRAM) 1999 116 block MicroMemory battery backed RAM adapter (NVRAM)
2000 Supports 16 boards, 15 partitions each. 2000 Supports 16 boards, 15 partitions each.
2001 Requested by neilb at cse.unsw.edu.au. 2001 Requested by neilb at cse.unsw.edu.au.
2002 2002
2003 0 = /dev/umem/d0 Whole of first board 2003 0 = /dev/umem/d0 Whole of first board
2004 1 = /dev/umem/d0p1 First partition of first board 2004 1 = /dev/umem/d0p1 First partition of first board
2005 2 = /dev/umem/d0p2 Second partition of first board 2005 2 = /dev/umem/d0p2 Second partition of first board
2006 15 = /dev/umem/d0p15 15th partition of first board 2006 15 = /dev/umem/d0p15 15th partition of first board
2007 2007
2008 16 = /dev/umem/d1 Whole of second board 2008 16 = /dev/umem/d1 Whole of second board
2009 17 = /dev/umem/d1p1 First partition of second board 2009 17 = /dev/umem/d1p1 First partition of second board
2010 ... 2010 ...
2011 255= /dev/umem/d15p15 15th partition of 16th board. 2011 255= /dev/umem/d15p15 15th partition of 16th board.
2012 2012
2013 117 char COSA/SRP synchronous serial card 2013 117 char COSA/SRP synchronous serial card
2014 0 = /dev/cosa0c0 1st board, 1st channel 2014 0 = /dev/cosa0c0 1st board, 1st channel
2015 1 = /dev/cosa0c1 1st board, 2nd channel 2015 1 = /dev/cosa0c1 1st board, 2nd channel
2016 ... 2016 ...
2017 16 = /dev/cosa1c0 2nd board, 1st channel 2017 16 = /dev/cosa1c0 2nd board, 1st channel
2018 17 = /dev/cosa1c1 2nd board, 2nd channel 2018 17 = /dev/cosa1c1 2nd board, 2nd channel
2019 ... 2019 ...
2020 2020
2021 117 block Enterprise Volume Management System (EVMS) 2021 117 block Enterprise Volume Management System (EVMS)
2022 2022
2023 The EVMS driver uses a layered, plug-in model to provide 2023 The EVMS driver uses a layered, plug-in model to provide
2024 unparalleled flexibility and extensibility in managing 2024 unparalleled flexibility and extensibility in managing
2025 storage. This allows for easy expansion or customization 2025 storage. This allows for easy expansion or customization
2026 of various levels of volume management. Requested by 2026 of various levels of volume management. Requested by
2027 Mark Peloquin (peloquin at us.ibm.com). 2027 Mark Peloquin (peloquin at us.ibm.com).
2028 2028
2029 Note: EVMS populates and manages all the devnodes in 2029 Note: EVMS populates and manages all the devnodes in
2030 /dev/evms. 2030 /dev/evms.
2031 2031
2032 http://sf.net/projects/evms 2032 http://sf.net/projects/evms
2033 2033
2034 0 = /dev/evms/block_device EVMS block device 2034 0 = /dev/evms/block_device EVMS block device
2035 1 = /dev/evms/legacyname1 First EVMS legacy device 2035 1 = /dev/evms/legacyname1 First EVMS legacy device
2036 2 = /dev/evms/legacyname2 Second EVMS legacy device 2036 2 = /dev/evms/legacyname2 Second EVMS legacy device
2037 ... 2037 ...
2038 Both ranges can grow (down or up) until they meet. 2038 Both ranges can grow (down or up) until they meet.
2039 ... 2039 ...
2040 254 = /dev/evms/EVMSname2 Second EVMS native device 2040 254 = /dev/evms/EVMSname2 Second EVMS native device
2041 255 = /dev/evms/EVMSname1 First EVMS native device 2041 255 = /dev/evms/EVMSname1 First EVMS native device
2042 2042
2043 Note: legacyname(s) are derived from the normal legacy 2043 Note: legacyname(s) are derived from the normal legacy
2044 device names. For example, /dev/hda5 would become 2044 device names. For example, /dev/hda5 would become
2045 /dev/evms/hda5. 2045 /dev/evms/hda5.
2046 2046
2047 118 char IBM Cryptographic Accelerator 2047 118 char IBM Cryptographic Accelerator
2048 0 = /dev/ica Virtual interface to all IBM Crypto Accelerators 2048 0 = /dev/ica Virtual interface to all IBM Crypto Accelerators
2049 1 = /dev/ica0 IBMCA Device 0 2049 1 = /dev/ica0 IBMCA Device 0
2050 2 = /dev/ica1 IBMCA Device 1 2050 2 = /dev/ica1 IBMCA Device 1
2051 ... 2051 ...
2052 2052
2053 119 char VMware virtual network control 2053 119 char VMware virtual network control
2054 0 = /dev/vnet0 1st virtual network 2054 0 = /dev/vnet0 1st virtual network
2055 1 = /dev/vnet1 2nd virtual network 2055 1 = /dev/vnet1 2nd virtual network
2056 ... 2056 ...
2057 2057
2058 120-127 char LOCAL/EXPERIMENTAL USE 2058 120-127 char LOCAL/EXPERIMENTAL USE
2059 2059
2060 120-127 block LOCAL/EXPERIMENTAL USE 2060 120-127 block LOCAL/EXPERIMENTAL USE
2061 Allocated for local/experimental use. For devices not 2061 Allocated for local/experimental use. For devices not
2062 assigned official numbers, these ranges should be 2062 assigned official numbers, these ranges should be
2063 used in order to avoid conflicting with future assignments. 2063 used in order to avoid conflicting with future assignments.
2064 2064
2065 128-135 char Unix98 PTY masters 2065 128-135 char Unix98 PTY masters
2066 2066
2067 These devices should not have corresponding device 2067 These devices should not have corresponding device
2068 nodes; instead they should be accessed through the 2068 nodes; instead they should be accessed through the
2069 /dev/ptmx cloning interface. 2069 /dev/ptmx cloning interface.
2070 2070
2071 128 block SCSI disk devices (128-143) 2071 128 block SCSI disk devices (128-143)
2072 0 = /dev/sddy 129th SCSI disk whole disk 2072 0 = /dev/sddy 129th SCSI disk whole disk
2073 16 = /dev/sddz 130th SCSI disk whole disk 2073 16 = /dev/sddz 130th SCSI disk whole disk
2074 32 = /dev/sdea 131th SCSI disk whole disk 2074 32 = /dev/sdea 131th SCSI disk whole disk
2075 ... 2075 ...
2076 240 = /dev/sden 144th SCSI disk whole disk 2076 240 = /dev/sden 144th SCSI disk whole disk
2077 2077
2078 Partitions are handled in the same way as for IDE 2078 Partitions are handled in the same way as for IDE
2079 disks (see major number 3) except that the limit on 2079 disks (see major number 3) except that the limit on
2080 partitions is 15. 2080 partitions is 15.
2081 2081
2082 129 block SCSI disk devices (144-159) 2082 129 block SCSI disk devices (144-159)
2083 0 = /dev/sdeo 145th SCSI disk whole disk 2083 0 = /dev/sdeo 145th SCSI disk whole disk
2084 16 = /dev/sdep 146th SCSI disk whole disk 2084 16 = /dev/sdep 146th SCSI disk whole disk
2085 32 = /dev/sdeq 147th SCSI disk whole disk 2085 32 = /dev/sdeq 147th SCSI disk whole disk
2086 ... 2086 ...
2087 240 = /dev/sdfd 160th SCSI disk whole disk 2087 240 = /dev/sdfd 160th SCSI disk whole disk
2088 2088
2089 Partitions are handled in the same way as for IDE 2089 Partitions are handled in the same way as for IDE
2090 disks (see major number 3) except that the limit on 2090 disks (see major number 3) except that the limit on
2091 partitions is 15. 2091 partitions is 15.
2092 2092
2093 130 char (Misc devices) 2093 130 char (Misc devices)
2094 2094
2095 130 block SCSI disk devices (160-175) 2095 130 block SCSI disk devices (160-175)
2096 0 = /dev/sdfe 161st SCSI disk whole disk 2096 0 = /dev/sdfe 161st SCSI disk whole disk
2097 16 = /dev/sdff 162nd SCSI disk whole disk 2097 16 = /dev/sdff 162nd SCSI disk whole disk
2098 32 = /dev/sdfg 163rd SCSI disk whole disk 2098 32 = /dev/sdfg 163rd SCSI disk whole disk
2099 ... 2099 ...
2100 240 = /dev/sdft 176th SCSI disk whole disk 2100 240 = /dev/sdft 176th SCSI disk whole disk
2101 2101
2102 Partitions are handled in the same way as for IDE 2102 Partitions are handled in the same way as for IDE
2103 disks (see major number 3) except that the limit on 2103 disks (see major number 3) except that the limit on
2104 partitions is 15. 2104 partitions is 15.
2105 2105
2106 131 block SCSI disk devices (176-191) 2106 131 block SCSI disk devices (176-191)
2107 0 = /dev/sdfu 177th SCSI disk whole disk 2107 0 = /dev/sdfu 177th SCSI disk whole disk
2108 16 = /dev/sdfv 178th SCSI disk whole disk 2108 16 = /dev/sdfv 178th SCSI disk whole disk
2109 32 = /dev/sdfw 179th SCSI disk whole disk 2109 32 = /dev/sdfw 179th SCSI disk whole disk
2110 ... 2110 ...
2111 240 = /dev/sdgj 192nd SCSI disk whole disk 2111 240 = /dev/sdgj 192nd SCSI disk whole disk
2112 2112
2113 Partitions are handled in the same way as for IDE 2113 Partitions are handled in the same way as for IDE
2114 disks (see major number 3) except that the limit on 2114 disks (see major number 3) except that the limit on
2115 partitions is 15. 2115 partitions is 15.
2116 2116
2117 132 block SCSI disk devices (192-207) 2117 132 block SCSI disk devices (192-207)
2118 0 = /dev/sdgk 193rd SCSI disk whole disk 2118 0 = /dev/sdgk 193rd SCSI disk whole disk
2119 16 = /dev/sdgl 194th SCSI disk whole disk 2119 16 = /dev/sdgl 194th SCSI disk whole disk
2120 32 = /dev/sdgm 195th SCSI disk whole disk 2120 32 = /dev/sdgm 195th SCSI disk whole disk
2121 ... 2121 ...
2122 240 = /dev/sdgz 208th SCSI disk whole disk 2122 240 = /dev/sdgz 208th SCSI disk whole disk
2123 2123
2124 Partitions are handled in the same way as for IDE 2124 Partitions are handled in the same way as for IDE
2125 disks (see major number 3) except that the limit on 2125 disks (see major number 3) except that the limit on
2126 partitions is 15. 2126 partitions is 15.
2127 2127
2128 133 block SCSI disk devices (208-223) 2128 133 block SCSI disk devices (208-223)
2129 0 = /dev/sdha 209th SCSI disk whole disk 2129 0 = /dev/sdha 209th SCSI disk whole disk
2130 16 = /dev/sdhb 210th SCSI disk whole disk 2130 16 = /dev/sdhb 210th SCSI disk whole disk
2131 32 = /dev/sdhc 211th SCSI disk whole disk 2131 32 = /dev/sdhc 211th SCSI disk whole disk
2132 ... 2132 ...
2133 240 = /dev/sdhp 224th SCSI disk whole disk 2133 240 = /dev/sdhp 224th SCSI disk whole disk
2134 2134
2135 Partitions are handled in the same way as for IDE 2135 Partitions are handled in the same way as for IDE
2136 disks (see major number 3) except that the limit on 2136 disks (see major number 3) except that the limit on
2137 partitions is 15. 2137 partitions is 15.
2138 2138
2139 134 block SCSI disk devices (224-239) 2139 134 block SCSI disk devices (224-239)
2140 0 = /dev/sdhq 225th SCSI disk whole disk 2140 0 = /dev/sdhq 225th SCSI disk whole disk
2141 16 = /dev/sdhr 226th SCSI disk whole disk 2141 16 = /dev/sdhr 226th SCSI disk whole disk
2142 32 = /dev/sdhs 227th SCSI disk whole disk 2142 32 = /dev/sdhs 227th SCSI disk whole disk
2143 ... 2143 ...
2144 240 = /dev/sdif 240th SCSI disk whole disk 2144 240 = /dev/sdif 240th SCSI disk whole disk
2145 2145
2146 Partitions are handled in the same way as for IDE 2146 Partitions are handled in the same way as for IDE
2147 disks (see major number 3) except that the limit on 2147 disks (see major number 3) except that the limit on
2148 partitions is 15. 2148 partitions is 15.
2149 2149
2150 135 block SCSI disk devices (240-255) 2150 135 block SCSI disk devices (240-255)
2151 0 = /dev/sdig 241st SCSI disk whole disk 2151 0 = /dev/sdig 241st SCSI disk whole disk
2152 16 = /dev/sdih 242nd SCSI disk whole disk 2152 16 = /dev/sdih 242nd SCSI disk whole disk
2153 32 = /dev/sdih 243rd SCSI disk whole disk 2153 32 = /dev/sdih 243rd SCSI disk whole disk
2154 ... 2154 ...
2155 240 = /dev/sdiv 256th SCSI disk whole disk 2155 240 = /dev/sdiv 256th SCSI disk whole disk
2156 2156
2157 Partitions are handled in the same way as for IDE 2157 Partitions are handled in the same way as for IDE
2158 disks (see major number 3) except that the limit on 2158 disks (see major number 3) except that the limit on
2159 partitions is 15. 2159 partitions is 15.
2160 2160
2161 136-143 char Unix98 PTY slaves 2161 136-143 char Unix98 PTY slaves
2162 0 = /dev/pts/0 First Unix98 pseudo-TTY 2162 0 = /dev/pts/0 First Unix98 pseudo-TTY
2163 1 = /dev/pts/1 Second Unix98 pseudo-TTY 2163 1 = /dev/pts/1 Second Unix98 pseudo-TTY
2164 ... 2164 ...
2165 2165
2166 These device nodes are automatically generated with 2166 These device nodes are automatically generated with
2167 the proper permissions and modes by mounting the 2167 the proper permissions and modes by mounting the
2168 devpts filesystem onto /dev/pts with the appropriate 2168 devpts filesystem onto /dev/pts with the appropriate
2169 mount options (distribution dependent, however, on 2169 mount options (distribution dependent, however, on
2170 *most* distributions the appropriate options are 2170 *most* distributions the appropriate options are
2171 "mode=0620,gid=<gid of the "tty" group>".) 2171 "mode=0620,gid=<gid of the "tty" group>".)
2172 2172
2173 136 block Mylex DAC960 PCI RAID controller; ninth controller 2173 136 block Mylex DAC960 PCI RAID controller; ninth controller
2174 0 = /dev/rd/c8d0 First disk, whole disk 2174 0 = /dev/rd/c8d0 First disk, whole disk
2175 8 = /dev/rd/c8d1 Second disk, whole disk 2175 8 = /dev/rd/c8d1 Second disk, whole disk
2176 ... 2176 ...
2177 248 = /dev/rd/c8d31 32nd disk, whole disk 2177 248 = /dev/rd/c8d31 32nd disk, whole disk
2178 2178
2179 Partitions are handled as for major 48. 2179 Partitions are handled as for major 48.
2180 2180
2181 137 block Mylex DAC960 PCI RAID controller; tenth controller 2181 137 block Mylex DAC960 PCI RAID controller; tenth controller
2182 0 = /dev/rd/c9d0 First disk, whole disk 2182 0 = /dev/rd/c9d0 First disk, whole disk
2183 8 = /dev/rd/c9d1 Second disk, whole disk 2183 8 = /dev/rd/c9d1 Second disk, whole disk
2184 ... 2184 ...
2185 248 = /dev/rd/c9d31 32nd disk, whole disk 2185 248 = /dev/rd/c9d31 32nd disk, whole disk
2186 2186
2187 Partitions are handled as for major 48. 2187 Partitions are handled as for major 48.
2188 2188
2189 138 block Mylex DAC960 PCI RAID controller; eleventh controller 2189 138 block Mylex DAC960 PCI RAID controller; eleventh controller
2190 0 = /dev/rd/c10d0 First disk, whole disk 2190 0 = /dev/rd/c10d0 First disk, whole disk
2191 8 = /dev/rd/c10d1 Second disk, whole disk 2191 8 = /dev/rd/c10d1 Second disk, whole disk
2192 ... 2192 ...
2193 248 = /dev/rd/c10d31 32nd disk, whole disk 2193 248 = /dev/rd/c10d31 32nd disk, whole disk
2194 2194
2195 Partitions are handled as for major 48. 2195 Partitions are handled as for major 48.
2196 2196
2197 139 block Mylex DAC960 PCI RAID controller; twelfth controller 2197 139 block Mylex DAC960 PCI RAID controller; twelfth controller
2198 0 = /dev/rd/c11d0 First disk, whole disk 2198 0 = /dev/rd/c11d0 First disk, whole disk
2199 8 = /dev/rd/c11d1 Second disk, whole disk 2199 8 = /dev/rd/c11d1 Second disk, whole disk
2200 ... 2200 ...
2201 248 = /dev/rd/c11d31 32nd disk, whole disk 2201 248 = /dev/rd/c11d31 32nd disk, whole disk
2202 2202
2203 Partitions are handled as for major 48. 2203 Partitions are handled as for major 48.
2204 2204
2205 140 block Mylex DAC960 PCI RAID controller; thirteenth controller 2205 140 block Mylex DAC960 PCI RAID controller; thirteenth controller
2206 0 = /dev/rd/c12d0 First disk, whole disk 2206 0 = /dev/rd/c12d0 First disk, whole disk
2207 8 = /dev/rd/c12d1 Second disk, whole disk 2207 8 = /dev/rd/c12d1 Second disk, whole disk
2208 ... 2208 ...
2209 248 = /dev/rd/c12d31 32nd disk, whole disk 2209 248 = /dev/rd/c12d31 32nd disk, whole disk
2210 2210
2211 Partitions are handled as for major 48. 2211 Partitions are handled as for major 48.
2212 2212
2213 141 block Mylex DAC960 PCI RAID controller; fourteenth controller 2213 141 block Mylex DAC960 PCI RAID controller; fourteenth controller
2214 0 = /dev/rd/c13d0 First disk, whole disk 2214 0 = /dev/rd/c13d0 First disk, whole disk
2215 8 = /dev/rd/c13d1 Second disk, whole disk 2215 8 = /dev/rd/c13d1 Second disk, whole disk
2216 ... 2216 ...
2217 248 = /dev/rd/c13d31 32nd disk, whole disk 2217 248 = /dev/rd/c13d31 32nd disk, whole disk
2218 2218
2219 Partitions are handled as for major 48. 2219 Partitions are handled as for major 48.
2220 2220
2221 142 block Mylex DAC960 PCI RAID controller; fifteenth controller 2221 142 block Mylex DAC960 PCI RAID controller; fifteenth controller
2222 0 = /dev/rd/c14d0 First disk, whole disk 2222 0 = /dev/rd/c14d0 First disk, whole disk
2223 8 = /dev/rd/c14d1 Second disk, whole disk 2223 8 = /dev/rd/c14d1 Second disk, whole disk
2224 ... 2224 ...
2225 248 = /dev/rd/c14d31 32nd disk, whole disk 2225 248 = /dev/rd/c14d31 32nd disk, whole disk
2226 2226
2227 Partitions are handled as for major 48. 2227 Partitions are handled as for major 48.
2228 2228
2229 143 block Mylex DAC960 PCI RAID controller; sixteenth controller 2229 143 block Mylex DAC960 PCI RAID controller; sixteenth controller
2230 0 = /dev/rd/c15d0 First disk, whole disk 2230 0 = /dev/rd/c15d0 First disk, whole disk
2231 8 = /dev/rd/c15d1 Second disk, whole disk 2231 8 = /dev/rd/c15d1 Second disk, whole disk
2232 ... 2232 ...
2233 248 = /dev/rd/c15d31 32nd disk, whole disk 2233 248 = /dev/rd/c15d31 32nd disk, whole disk
2234 2234
2235 Partitions are handled as for major 48. 2235 Partitions are handled as for major 48.
2236 2236
2237 144 char Encapsulated PPP 2237 144 char Encapsulated PPP
2238 0 = /dev/pppox0 First PPP over Ethernet 2238 0 = /dev/pppox0 First PPP over Ethernet
2239 ... 2239 ...
2240 63 = /dev/pppox63 64th PPP over Ethernet 2240 63 = /dev/pppox63 64th PPP over Ethernet
2241 2241
2242 This is primarily used for ADSL. 2242 This is primarily used for ADSL.
2243 2243
2244 The SST 5136-DN DeviceNet interface driver has been 2244 The SST 5136-DN DeviceNet interface driver has been
2245 relocated to major 183 due to an unfortunate conflict. 2245 relocated to major 183 due to an unfortunate conflict.
2246 2246
2247 144 block Expansion Area #1 for more non-device (e.g. NFS) mounts 2247 144 block Expansion Area #1 for more non-device (e.g. NFS) mounts
2248 0 = mounted device 256 2248 0 = mounted device 256
2249 255 = mounted device 511 2249 255 = mounted device 511
2250 2250
2251 145 char SAM9407-based soundcard 2251 145 char SAM9407-based soundcard
2252 0 = /dev/sam0_mixer 2252 0 = /dev/sam0_mixer
2253 1 = /dev/sam0_sequencer 2253 1 = /dev/sam0_sequencer
2254 2 = /dev/sam0_midi00 2254 2 = /dev/sam0_midi00
2255 3 = /dev/sam0_dsp 2255 3 = /dev/sam0_dsp
2256 4 = /dev/sam0_audio 2256 4 = /dev/sam0_audio
2257 6 = /dev/sam0_sndstat 2257 6 = /dev/sam0_sndstat
2258 18 = /dev/sam0_midi01 2258 18 = /dev/sam0_midi01
2259 34 = /dev/sam0_midi02 2259 34 = /dev/sam0_midi02
2260 50 = /dev/sam0_midi03 2260 50 = /dev/sam0_midi03
2261 64 = /dev/sam1_mixer 2261 64 = /dev/sam1_mixer
2262 ... 2262 ...
2263 128 = /dev/sam2_mixer 2263 128 = /dev/sam2_mixer
2264 ... 2264 ...
2265 192 = /dev/sam3_mixer 2265 192 = /dev/sam3_mixer
2266 ... 2266 ...
2267 2267
2268 Device functions match OSS, but offer a number of 2268 Device functions match OSS, but offer a number of
2269 addons, which are sam9407 specific. OSS can be 2269 addons, which are sam9407 specific. OSS can be
2270 operated simultaneously, taking care of the codec. 2270 operated simultaneously, taking care of the codec.
2271 2271
2272 145 block Expansion Area #2 for more non-device (e.g. NFS) mounts 2272 145 block Expansion Area #2 for more non-device (e.g. NFS) mounts
2273 0 = mounted device 512 2273 0 = mounted device 512
2274 255 = mounted device 767 2274 255 = mounted device 767
2275 2275
2276 146 char SYSTRAM SCRAMNet mirrored-memory network 2276 146 char SYSTRAM SCRAMNet mirrored-memory network
2277 0 = /dev/scramnet0 First SCRAMNet device 2277 0 = /dev/scramnet0 First SCRAMNet device
2278 1 = /dev/scramnet1 Second SCRAMNet device 2278 1 = /dev/scramnet1 Second SCRAMNet device
2279 ... 2279 ...
2280 2280
2281 146 block Expansion Area #3 for more non-device (e.g. NFS) mounts 2281 146 block Expansion Area #3 for more non-device (e.g. NFS) mounts
2282 0 = mounted device 768 2282 0 = mounted device 768
2283 255 = mounted device 1023 2283 255 = mounted device 1023
2284 2284
2285 147 char Aureal Semiconductor Vortex Audio device 2285 147 char Aureal Semiconductor Vortex Audio device
2286 0 = /dev/aureal0 First Aureal Vortex 2286 0 = /dev/aureal0 First Aureal Vortex
2287 1 = /dev/aureal1 Second Aureal Vortex 2287 1 = /dev/aureal1 Second Aureal Vortex
2288 ... 2288 ...
2289 2289
2290 147 block Distributed Replicated Block Device (DRBD) 2290 147 block Distributed Replicated Block Device (DRBD)
2291 0 = /dev/drbd0 First DRBD device 2291 0 = /dev/drbd0 First DRBD device
2292 1 = /dev/drbd1 Second DRBD device 2292 1 = /dev/drbd1 Second DRBD device
2293 ... 2293 ...
2294 2294
2295 148 char Technology Concepts serial card 2295 148 char Technology Concepts serial card
2296 0 = /dev/ttyT0 First TCL port 2296 0 = /dev/ttyT0 First TCL port
2297 1 = /dev/ttyT1 Second TCL port 2297 1 = /dev/ttyT1 Second TCL port
2298 ... 2298 ...
2299 2299
2300 149 char Technology Concepts serial card - alternate devices 2300 149 char Technology Concepts serial card - alternate devices
2301 0 = /dev/cut0 Callout device for ttyT0 2301 0 = /dev/cut0 Callout device for ttyT0
2302 1 = /dev/cut0 Callout device for ttyT1 2302 1 = /dev/cut0 Callout device for ttyT1
2303 ... 2303 ...
2304 2304
2305 150 char Real-Time Linux FIFOs 2305 150 char Real-Time Linux FIFOs
2306 0 = /dev/rtf0 First RTLinux FIFO 2306 0 = /dev/rtf0 First RTLinux FIFO
2307 1 = /dev/rtf1 Second RTLinux FIFO 2307 1 = /dev/rtf1 Second RTLinux FIFO
2308 ... 2308 ...
2309 2309
2310 151 char DPT I2O SmartRaid V controller 2310 151 char DPT I2O SmartRaid V controller
2311 0 = /dev/dpti0 First DPT I2O adapter 2311 0 = /dev/dpti0 First DPT I2O adapter
2312 1 = /dev/dpti1 Second DPT I2O adapter 2312 1 = /dev/dpti1 Second DPT I2O adapter
2313 ... 2313 ...
2314 2314
2315 152 char EtherDrive Control Device 2315 152 char EtherDrive Control Device
2316 0 = /dev/etherd/ctl Connect/Disconnect an EtherDrive 2316 0 = /dev/etherd/ctl Connect/Disconnect an EtherDrive
2317 1 = /dev/etherd/err Monitor errors 2317 1 = /dev/etherd/err Monitor errors
2318 2 = /dev/etherd/raw Raw AoE packet monitor 2318 2 = /dev/etherd/raw Raw AoE packet monitor
2319 2319
2320 152 block EtherDrive Block Devices 2320 152 block EtherDrive Block Devices
2321 0 = /dev/etherd/0 EtherDrive 0 2321 0 = /dev/etherd/0 EtherDrive 0
2322 ... 2322 ...
2323 255 = /dev/etherd/255 EtherDrive 255 2323 255 = /dev/etherd/255 EtherDrive 255
2324 2324
2325 153 char SPI Bus Interface (sometimes referred to as MicroWire) 2325 153 char SPI Bus Interface (sometimes referred to as MicroWire)
2326 0 = /dev/spi0 First SPI device on the bus 2326 0 = /dev/spi0 First SPI device on the bus
2327 1 = /dev/spi1 Second SPI device on the bus 2327 1 = /dev/spi1 Second SPI device on the bus
2328 ... 2328 ...
2329 15 = /dev/spi15 Sixteenth SPI device on the bus 2329 15 = /dev/spi15 Sixteenth SPI device on the bus
2330 2330
2331 153 block Enhanced Metadisk RAID (EMD) storage units 2331 153 block Enhanced Metadisk RAID (EMD) storage units
2332 0 = /dev/emd/0 First unit 2332 0 = /dev/emd/0 First unit
2333 1 = /dev/emd/0p1 Partition 1 on First unit 2333 1 = /dev/emd/0p1 Partition 1 on First unit
2334 2 = /dev/emd/0p2 Partition 2 on First unit 2334 2 = /dev/emd/0p2 Partition 2 on First unit
2335 ... 2335 ...
2336 15 = /dev/emd/0p15 Partition 15 on First unit 2336 15 = /dev/emd/0p15 Partition 15 on First unit
2337 2337
2338 16 = /dev/emd/1 Second unit 2338 16 = /dev/emd/1 Second unit
2339 32 = /dev/emd/2 Third unit 2339 32 = /dev/emd/2 Third unit
2340 ... 2340 ...
2341 240 = /dev/emd/15 Sixteenth unit 2341 240 = /dev/emd/15 Sixteenth unit
2342 2342
2343 Partitions are handled in the same way as for IDE 2343 Partitions are handled in the same way as for IDE
2344 disks (see major number 3) except that the limit on 2344 disks (see major number 3) except that the limit on
2345 partitions is 15. 2345 partitions is 15.
2346 2346
2347 154 char Specialix RIO serial card 2347 154 char Specialix RIO serial card
2348 0 = /dev/ttySR0 First RIO port 2348 0 = /dev/ttySR0 First RIO port
2349 ... 2349 ...
2350 255 = /dev/ttySR255 256th RIO port 2350 255 = /dev/ttySR255 256th RIO port
2351 2351
2352 155 char Specialix RIO serial card - alternate devices 2352 155 char Specialix RIO serial card - alternate devices
2353 0 = /dev/cusr0 Callout device for ttySR0 2353 0 = /dev/cusr0 Callout device for ttySR0
2354 ... 2354 ...
2355 255 = /dev/cusr255 Callout device for ttySR255 2355 255 = /dev/cusr255 Callout device for ttySR255
2356 2356
2357 156 char Specialix RIO serial card 2357 156 char Specialix RIO serial card
2358 0 = /dev/ttySR256 257th RIO port 2358 0 = /dev/ttySR256 257th RIO port
2359 ... 2359 ...
2360 255 = /dev/ttySR511 512th RIO port 2360 255 = /dev/ttySR511 512th RIO port
2361 2361
2362 157 char Specialix RIO serial card - alternate devices 2362 157 char Specialix RIO serial card - alternate devices
2363 0 = /dev/cusr256 Callout device for ttySR256 2363 0 = /dev/cusr256 Callout device for ttySR256
2364 ... 2364 ...
2365 255 = /dev/cusr511 Callout device for ttySR511 2365 255 = /dev/cusr511 Callout device for ttySR511
2366 2366
2367 158 char Dialogic GammaLink fax driver 2367 158 char Dialogic GammaLink fax driver
2368 0 = /dev/gfax0 GammaLink channel 0 2368 0 = /dev/gfax0 GammaLink channel 0
2369 1 = /dev/gfax1 GammaLink channel 1 2369 1 = /dev/gfax1 GammaLink channel 1
2370 ... 2370 ...
2371 2371
2372 159 char RESERVED 2372 159 char RESERVED
2373 2373
2374 159 block RESERVED 2374 159 block RESERVED
2375 2375
2376 160 char General Purpose Instrument Bus (GPIB) 2376 160 char General Purpose Instrument Bus (GPIB)
2377 0 = /dev/gpib0 First GPIB bus 2377 0 = /dev/gpib0 First GPIB bus
2378 1 = /dev/gpib1 Second GPIB bus 2378 1 = /dev/gpib1 Second GPIB bus
2379 ... 2379 ...
2380 2380
2381 160 block Carmel 8-port SATA Disks on First Controller 2381 160 block Carmel 8-port SATA Disks on First Controller
2382 0 = /dev/carmel/0 SATA disk 0 whole disk 2382 0 = /dev/carmel/0 SATA disk 0 whole disk
2383 1 = /dev/carmel/0p1 SATA disk 0 partition 1 2383 1 = /dev/carmel/0p1 SATA disk 0 partition 1
2384 ... 2384 ...
2385 31 = /dev/carmel/0p31 SATA disk 0 partition 31 2385 31 = /dev/carmel/0p31 SATA disk 0 partition 31
2386 2386
2387 32 = /dev/carmel/1 SATA disk 1 whole disk 2387 32 = /dev/carmel/1 SATA disk 1 whole disk
2388 64 = /dev/carmel/2 SATA disk 2 whole disk 2388 64 = /dev/carmel/2 SATA disk 2 whole disk
2389 ... 2389 ...
2390 224 = /dev/carmel/7 SATA disk 7 whole disk 2390 224 = /dev/carmel/7 SATA disk 7 whole disk
2391 2391
2392 Partitions are handled in the same way as for IDE 2392 Partitions are handled in the same way as for IDE
2393 disks (see major number 3) except that the limit on 2393 disks (see major number 3) except that the limit on
2394 partitions is 31. 2394 partitions is 31.
2395 2395
2396 161 char IrCOMM devices (IrDA serial/parallel emulation) 2396 161 char IrCOMM devices (IrDA serial/parallel emulation)
2397 0 = /dev/ircomm0 First IrCOMM device 2397 0 = /dev/ircomm0 First IrCOMM device
2398 1 = /dev/ircomm1 Second IrCOMM device 2398 1 = /dev/ircomm1 Second IrCOMM device
2399 ... 2399 ...
2400 16 = /dev/irlpt0 First IrLPT device 2400 16 = /dev/irlpt0 First IrLPT device
2401 17 = /dev/irlpt1 Second IrLPT device 2401 17 = /dev/irlpt1 Second IrLPT device
2402 ... 2402 ...
2403 2403
2404 161 block Carmel 8-port SATA Disks on Second Controller 2404 161 block Carmel 8-port SATA Disks on Second Controller
2405 0 = /dev/carmel/8 SATA disk 8 whole disk 2405 0 = /dev/carmel/8 SATA disk 8 whole disk
2406 1 = /dev/carmel/8p1 SATA disk 8 partition 1 2406 1 = /dev/carmel/8p1 SATA disk 8 partition 1
2407 ... 2407 ...
2408 31 = /dev/carmel/8p31 SATA disk 8 partition 31 2408 31 = /dev/carmel/8p31 SATA disk 8 partition 31
2409 2409
2410 32 = /dev/carmel/9 SATA disk 9 whole disk 2410 32 = /dev/carmel/9 SATA disk 9 whole disk
2411 64 = /dev/carmel/10 SATA disk 10 whole disk 2411 64 = /dev/carmel/10 SATA disk 10 whole disk
2412 ... 2412 ...
2413 224 = /dev/carmel/15 SATA disk 15 whole disk 2413 224 = /dev/carmel/15 SATA disk 15 whole disk
2414 2414
2415 Partitions are handled in the same way as for IDE 2415 Partitions are handled in the same way as for IDE
2416 disks (see major number 3) except that the limit on 2416 disks (see major number 3) except that the limit on
2417 partitions is 31. 2417 partitions is 31.
2418 2418
2419 162 char Raw block device interface 2419 162 char Raw block device interface
2420 0 = /dev/rawctl Raw I/O control device 2420 0 = /dev/rawctl Raw I/O control device
2421 1 = /dev/raw/raw1 First raw I/O device 2421 1 = /dev/raw/raw1 First raw I/O device
2422 2 = /dev/raw/raw2 Second raw I/O device 2422 2 = /dev/raw/raw2 Second raw I/O device
2423 ... 2423 ...
2424 2424
2425 163 char 2425 163 char
2426 2426
2427 164 char Chase Research AT/PCI-Fast serial card 2427 164 char Chase Research AT/PCI-Fast serial card
2428 0 = /dev/ttyCH0 AT/PCI-Fast board 0, port 0 2428 0 = /dev/ttyCH0 AT/PCI-Fast board 0, port 0
2429 ... 2429 ...
2430 15 = /dev/ttyCH15 AT/PCI-Fast board 0, port 15 2430 15 = /dev/ttyCH15 AT/PCI-Fast board 0, port 15
2431 16 = /dev/ttyCH16 AT/PCI-Fast board 1, port 0 2431 16 = /dev/ttyCH16 AT/PCI-Fast board 1, port 0
2432 ... 2432 ...
2433 31 = /dev/ttyCH31 AT/PCI-Fast board 1, port 15 2433 31 = /dev/ttyCH31 AT/PCI-Fast board 1, port 15
2434 32 = /dev/ttyCH32 AT/PCI-Fast board 2, port 0 2434 32 = /dev/ttyCH32 AT/PCI-Fast board 2, port 0
2435 ... 2435 ...
2436 47 = /dev/ttyCH47 AT/PCI-Fast board 2, port 15 2436 47 = /dev/ttyCH47 AT/PCI-Fast board 2, port 15
2437 48 = /dev/ttyCH48 AT/PCI-Fast board 3, port 0 2437 48 = /dev/ttyCH48 AT/PCI-Fast board 3, port 0
2438 ... 2438 ...
2439 63 = /dev/ttyCH63 AT/PCI-Fast board 3, port 15 2439 63 = /dev/ttyCH63 AT/PCI-Fast board 3, port 15
2440 2440
2441 165 char Chase Research AT/PCI-Fast serial card - alternate devices 2441 165 char Chase Research AT/PCI-Fast serial card - alternate devices
2442 0 = /dev/cuch0 Callout device for ttyCH0 2442 0 = /dev/cuch0 Callout device for ttyCH0
2443 ... 2443 ...
2444 63 = /dev/cuch63 Callout device for ttyCH63 2444 63 = /dev/cuch63 Callout device for ttyCH63
2445 2445
2446 166 char ACM USB modems 2446 166 char ACM USB modems
2447 0 = /dev/ttyACM0 First ACM modem 2447 0 = /dev/ttyACM0 First ACM modem
2448 1 = /dev/ttyACM1 Second ACM modem 2448 1 = /dev/ttyACM1 Second ACM modem
2449 ... 2449 ...
2450 2450
2451 167 char ACM USB modems - alternate devices 2451 167 char ACM USB modems - alternate devices
2452 0 = /dev/cuacm0 Callout device for ttyACM0 2452 0 = /dev/cuacm0 Callout device for ttyACM0
2453 1 = /dev/cuacm1 Callout device for ttyACM1 2453 1 = /dev/cuacm1 Callout device for ttyACM1
2454 ... 2454 ...
2455 2455
2456 168 char Eracom CSA7000 PCI encryption adaptor 2456 168 char Eracom CSA7000 PCI encryption adaptor
2457 0 = /dev/ecsa0 First CSA7000 2457 0 = /dev/ecsa0 First CSA7000
2458 1 = /dev/ecsa1 Second CSA7000 2458 1 = /dev/ecsa1 Second CSA7000
2459 ... 2459 ...
2460 2460
2461 169 char Eracom CSA8000 PCI encryption adaptor 2461 169 char Eracom CSA8000 PCI encryption adaptor
2462 0 = /dev/ecsa8-0 First CSA8000 2462 0 = /dev/ecsa8-0 First CSA8000
2463 1 = /dev/ecsa8-1 Second CSA8000 2463 1 = /dev/ecsa8-1 Second CSA8000
2464 ... 2464 ...
2465 2465
2466 170 char AMI MegaRAC remote access controller 2466 170 char AMI MegaRAC remote access controller
2467 0 = /dev/megarac0 First MegaRAC card 2467 0 = /dev/megarac0 First MegaRAC card
2468 1 = /dev/megarac1 Second MegaRAC card 2468 1 = /dev/megarac1 Second MegaRAC card
2469 ... 2469 ...
2470 2470
2471 171 char Reserved for IEEE 1394 (Firewire) 2471 171 char Reserved for IEEE 1394 (Firewire)
2472 2472
2473 172 char Moxa Intellio serial card 2473 172 char Moxa Intellio serial card
2474 0 = /dev/ttyMX0 First Moxa port 2474 0 = /dev/ttyMX0 First Moxa port
2475 1 = /dev/ttyMX1 Second Moxa port 2475 1 = /dev/ttyMX1 Second Moxa port
2476 ... 2476 ...
2477 127 = /dev/ttyMX127 128th Moxa port 2477 127 = /dev/ttyMX127 128th Moxa port
2478 128 = /dev/moxactl Moxa control port 2478 128 = /dev/moxactl Moxa control port
2479 2479
2480 173 char Moxa Intellio serial card - alternate devices 2480 173 char Moxa Intellio serial card - alternate devices
2481 0 = /dev/cumx0 Callout device for ttyMX0 2481 0 = /dev/cumx0 Callout device for ttyMX0
2482 1 = /dev/cumx1 Callout device for ttyMX1 2482 1 = /dev/cumx1 Callout device for ttyMX1
2483 ... 2483 ...
2484 127 = /dev/cumx127 Callout device for ttyMX127 2484 127 = /dev/cumx127 Callout device for ttyMX127
2485 2485
2486 174 char SmartIO serial card 2486 174 char SmartIO serial card
2487 0 = /dev/ttySI0 First SmartIO port 2487 0 = /dev/ttySI0 First SmartIO port
2488 1 = /dev/ttySI1 Second SmartIO port 2488 1 = /dev/ttySI1 Second SmartIO port
2489 ... 2489 ...
2490 2490
2491 175 char SmartIO serial card - alternate devices 2491 175 char SmartIO serial card - alternate devices
2492 0 = /dev/cusi0 Callout device for ttySI0 2492 0 = /dev/cusi0 Callout device for ttySI0
2493 1 = /dev/cusi1 Callout device for ttySI1 2493 1 = /dev/cusi1 Callout device for ttySI1
2494 ... 2494 ...
2495 2495
2496 176 char nCipher nFast PCI crypto accelerator 2496 176 char nCipher nFast PCI crypto accelerator
2497 0 = /dev/nfastpci0 First nFast PCI device 2497 0 = /dev/nfastpci0 First nFast PCI device
2498 1 = /dev/nfastpci1 First nFast PCI device 2498 1 = /dev/nfastpci1 First nFast PCI device
2499 ... 2499 ...
2500 2500
2501 177 char TI PCILynx memory spaces 2501 177 char TI PCILynx memory spaces
2502 0 = /dev/pcilynx/aux0 AUX space of first PCILynx card 2502 0 = /dev/pcilynx/aux0 AUX space of first PCILynx card
2503 ... 2503 ...
2504 15 = /dev/pcilynx/aux15 AUX space of 16th PCILynx card 2504 15 = /dev/pcilynx/aux15 AUX space of 16th PCILynx card
2505 16 = /dev/pcilynx/rom0 ROM space of first PCILynx card 2505 16 = /dev/pcilynx/rom0 ROM space of first PCILynx card
2506 ... 2506 ...
2507 31 = /dev/pcilynx/rom15 ROM space of 16th PCILynx card 2507 31 = /dev/pcilynx/rom15 ROM space of 16th PCILynx card
2508 32 = /dev/pcilynx/ram0 RAM space of first PCILynx card 2508 32 = /dev/pcilynx/ram0 RAM space of first PCILynx card
2509 ... 2509 ...
2510 47 = /dev/pcilynx/ram15 RAM space of 16th PCILynx card 2510 47 = /dev/pcilynx/ram15 RAM space of 16th PCILynx card
2511 2511
2512 178 char Giganet cLAN1xxx virtual interface adapter 2512 178 char Giganet cLAN1xxx virtual interface adapter
2513 0 = /dev/clanvi0 First cLAN adapter 2513 0 = /dev/clanvi0 First cLAN adapter
2514 1 = /dev/clanvi1 Second cLAN adapter 2514 1 = /dev/clanvi1 Second cLAN adapter
2515 ... 2515 ...
2516 2516
2517 179 block MMC block devices 2517 179 block MMC block devices
2518 0 = /dev/mmcblk0 First SD/MMC card 2518 0 = /dev/mmcblk0 First SD/MMC card
2519 1 = /dev/mmcblk0p1 First partition on first MMC card 2519 1 = /dev/mmcblk0p1 First partition on first MMC card
2520 8 = /dev/mmcblk1 Second SD/MMC card 2520 8 = /dev/mmcblk1 Second SD/MMC card
2521 ... 2521 ...
2522 2522
2523 The start of next SD/MMC card can be configured with
2524 CONFIG_MMC_BLOCK_MINORS, or overridden at boot/modprobe
2525 time using the mmcblk.perdev_minors option. That would
2526 bump the offset between each card to be the configured
2527 value instead of the default 8.
2528
2523 179 char CCube DVXChip-based PCI products 2529 179 char CCube DVXChip-based PCI products
2524 0 = /dev/dvxirq0 First DVX device 2530 0 = /dev/dvxirq0 First DVX device
2525 1 = /dev/dvxirq1 Second DVX device 2531 1 = /dev/dvxirq1 Second DVX device
2526 ... 2532 ...
2527 2533
2528 180 char USB devices 2534 180 char USB devices
2529 0 = /dev/usb/lp0 First USB printer 2535 0 = /dev/usb/lp0 First USB printer
2530 ... 2536 ...
2531 15 = /dev/usb/lp15 16th USB printer 2537 15 = /dev/usb/lp15 16th USB printer
2532 48 = /dev/usb/scanner0 First USB scanner 2538 48 = /dev/usb/scanner0 First USB scanner
2533 ... 2539 ...
2534 63 = /dev/usb/scanner15 16th USB scanner 2540 63 = /dev/usb/scanner15 16th USB scanner
2535 64 = /dev/usb/rio500 Diamond Rio 500 2541 64 = /dev/usb/rio500 Diamond Rio 500
2536 65 = /dev/usb/usblcd USBLCD Interface (info@usblcd.de) 2542 65 = /dev/usb/usblcd USBLCD Interface (info@usblcd.de)
2537 66 = /dev/usb/cpad0 Synaptics cPad (mouse/LCD) 2543 66 = /dev/usb/cpad0 Synaptics cPad (mouse/LCD)
2538 96 = /dev/usb/hiddev0 1st USB HID device 2544 96 = /dev/usb/hiddev0 1st USB HID device
2539 ... 2545 ...
2540 111 = /dev/usb/hiddev15 16th USB HID device 2546 111 = /dev/usb/hiddev15 16th USB HID device
2541 112 = /dev/usb/auer0 1st auerswald ISDN device 2547 112 = /dev/usb/auer0 1st auerswald ISDN device
2542 ... 2548 ...
2543 127 = /dev/usb/auer15 16th auerswald ISDN device 2549 127 = /dev/usb/auer15 16th auerswald ISDN device
2544 128 = /dev/usb/brlvgr0 First Braille Voyager device 2550 128 = /dev/usb/brlvgr0 First Braille Voyager device
2545 ... 2551 ...
2546 131 = /dev/usb/brlvgr3 Fourth Braille Voyager device 2552 131 = /dev/usb/brlvgr3 Fourth Braille Voyager device
2547 132 = /dev/usb/idmouse ID Mouse (fingerprint scanner) device 2553 132 = /dev/usb/idmouse ID Mouse (fingerprint scanner) device
2548 133 = /dev/usb/sisusbvga1 First SiSUSB VGA device 2554 133 = /dev/usb/sisusbvga1 First SiSUSB VGA device
2549 ... 2555 ...
2550 140 = /dev/usb/sisusbvga8 Eighth SISUSB VGA device 2556 140 = /dev/usb/sisusbvga8 Eighth SISUSB VGA device
2551 144 = /dev/usb/lcd USB LCD device 2557 144 = /dev/usb/lcd USB LCD device
2552 160 = /dev/usb/legousbtower0 1st USB Legotower device 2558 160 = /dev/usb/legousbtower0 1st USB Legotower device
2553 ... 2559 ...
2554 175 = /dev/usb/legousbtower15 16th USB Legotower device 2560 175 = /dev/usb/legousbtower15 16th USB Legotower device
2555 176 = /dev/usb/usbtmc1 First USB TMC device 2561 176 = /dev/usb/usbtmc1 First USB TMC device
2556 ... 2562 ...
2557 191 = /dev/usb/usbtmc16 16th USB TMC device 2563 191 = /dev/usb/usbtmc16 16th USB TMC device
2558 192 = /dev/usb/yurex1 First USB Yurex device 2564 192 = /dev/usb/yurex1 First USB Yurex device
2559 ... 2565 ...
2560 209 = /dev/usb/yurex16 16th USB Yurex device 2566 209 = /dev/usb/yurex16 16th USB Yurex device
2561 240 = /dev/usb/dabusb0 First daubusb device 2567 240 = /dev/usb/dabusb0 First daubusb device
2562 ... 2568 ...
2563 243 = /dev/usb/dabusb3 Fourth dabusb device 2569 243 = /dev/usb/dabusb3 Fourth dabusb device
2564 2570
2565 180 block USB block devices 2571 180 block USB block devices
2566 0 = /dev/uba First USB block device 2572 0 = /dev/uba First USB block device
2567 8 = /dev/ubb Second USB block device 2573 8 = /dev/ubb Second USB block device
2568 16 = /dev/ubc Third USB block device 2574 16 = /dev/ubc Third USB block device
2569 ... 2575 ...
2570 2576
2571 181 char Conrad Electronic parallel port radio clocks 2577 181 char Conrad Electronic parallel port radio clocks
2572 0 = /dev/pcfclock0 First Conrad radio clock 2578 0 = /dev/pcfclock0 First Conrad radio clock
2573 1 = /dev/pcfclock1 Second Conrad radio clock 2579 1 = /dev/pcfclock1 Second Conrad radio clock
2574 ... 2580 ...
2575 2581
2576 182 char Picture Elements THR2 binarizer 2582 182 char Picture Elements THR2 binarizer
2577 0 = /dev/pethr0 First THR2 board 2583 0 = /dev/pethr0 First THR2 board
2578 1 = /dev/pethr1 Second THR2 board 2584 1 = /dev/pethr1 Second THR2 board
2579 ... 2585 ...
2580 2586
2581 183 char SST 5136-DN DeviceNet interface 2587 183 char SST 5136-DN DeviceNet interface
2582 0 = /dev/ss5136dn0 First DeviceNet interface 2588 0 = /dev/ss5136dn0 First DeviceNet interface
2583 1 = /dev/ss5136dn1 Second DeviceNet interface 2589 1 = /dev/ss5136dn1 Second DeviceNet interface
2584 ... 2590 ...
2585 2591
2586 This device used to be assigned to major number 144. 2592 This device used to be assigned to major number 144.
2587 It had to be moved due to an unfortunate conflict. 2593 It had to be moved due to an unfortunate conflict.
2588 2594
2589 184 char Picture Elements' video simulator/sender 2595 184 char Picture Elements' video simulator/sender
2590 0 = /dev/pevss0 First sender board 2596 0 = /dev/pevss0 First sender board
2591 1 = /dev/pevss1 Second sender board 2597 1 = /dev/pevss1 Second sender board
2592 ... 2598 ...
2593 2599
2594 185 char InterMezzo high availability file system 2600 185 char InterMezzo high availability file system
2595 0 = /dev/intermezzo0 First cache manager 2601 0 = /dev/intermezzo0 First cache manager
2596 1 = /dev/intermezzo1 Second cache manager 2602 1 = /dev/intermezzo1 Second cache manager
2597 ... 2603 ...
2598 2604
2599 See http://web.archive.org/web/20080115195241/ 2605 See http://web.archive.org/web/20080115195241/
2600 http://inter-mezzo.org/index.html 2606 http://inter-mezzo.org/index.html
2601 2607
2602 186 char Object-based storage control device 2608 186 char Object-based storage control device
2603 0 = /dev/obd0 First obd control device 2609 0 = /dev/obd0 First obd control device
2604 1 = /dev/obd1 Second obd control device 2610 1 = /dev/obd1 Second obd control device
2605 ... 2611 ...
2606 2612
2607 See ftp://ftp.lustre.org/pub/obd for code and information. 2613 See ftp://ftp.lustre.org/pub/obd for code and information.
2608 2614
2609 187 char DESkey hardware encryption device 2615 187 char DESkey hardware encryption device
2610 0 = /dev/deskey0 First DES key 2616 0 = /dev/deskey0 First DES key
2611 1 = /dev/deskey1 Second DES key 2617 1 = /dev/deskey1 Second DES key
2612 ... 2618 ...
2613 2619
2614 188 char USB serial converters 2620 188 char USB serial converters
2615 0 = /dev/ttyUSB0 First USB serial converter 2621 0 = /dev/ttyUSB0 First USB serial converter
2616 1 = /dev/ttyUSB1 Second USB serial converter 2622 1 = /dev/ttyUSB1 Second USB serial converter
2617 ... 2623 ...
2618 2624
2619 189 char USB serial converters - alternate devices 2625 189 char USB serial converters - alternate devices
2620 0 = /dev/cuusb0 Callout device for ttyUSB0 2626 0 = /dev/cuusb0 Callout device for ttyUSB0
2621 1 = /dev/cuusb1 Callout device for ttyUSB1 2627 1 = /dev/cuusb1 Callout device for ttyUSB1
2622 ... 2628 ...
2623 2629
2624 190 char Kansas City tracker/tuner card 2630 190 char Kansas City tracker/tuner card
2625 0 = /dev/kctt0 First KCT/T card 2631 0 = /dev/kctt0 First KCT/T card
2626 1 = /dev/kctt1 Second KCT/T card 2632 1 = /dev/kctt1 Second KCT/T card
2627 ... 2633 ...
2628 2634
2629 191 char Reserved for PCMCIA 2635 191 char Reserved for PCMCIA
2630 2636
2631 192 char Kernel profiling interface 2637 192 char Kernel profiling interface
2632 0 = /dev/profile Profiling control device 2638 0 = /dev/profile Profiling control device
2633 1 = /dev/profile0 Profiling device for CPU 0 2639 1 = /dev/profile0 Profiling device for CPU 0
2634 2 = /dev/profile1 Profiling device for CPU 1 2640 2 = /dev/profile1 Profiling device for CPU 1
2635 ... 2641 ...
2636 2642
2637 193 char Kernel event-tracing interface 2643 193 char Kernel event-tracing interface
2638 0 = /dev/trace Tracing control device 2644 0 = /dev/trace Tracing control device
2639 1 = /dev/trace0 Tracing device for CPU 0 2645 1 = /dev/trace0 Tracing device for CPU 0
2640 2 = /dev/trace1 Tracing device for CPU 1 2646 2 = /dev/trace1 Tracing device for CPU 1
2641 ... 2647 ...
2642 2648
2643 194 char linVideoStreams (LINVS) 2649 194 char linVideoStreams (LINVS)
2644 0 = /dev/mvideo/status0 Video compression status 2650 0 = /dev/mvideo/status0 Video compression status
2645 1 = /dev/mvideo/stream0 Video stream 2651 1 = /dev/mvideo/stream0 Video stream
2646 2 = /dev/mvideo/frame0 Single compressed frame 2652 2 = /dev/mvideo/frame0 Single compressed frame
2647 3 = /dev/mvideo/rawframe0 Raw uncompressed frame 2653 3 = /dev/mvideo/rawframe0 Raw uncompressed frame
2648 4 = /dev/mvideo/codec0 Direct codec access 2654 4 = /dev/mvideo/codec0 Direct codec access
2649 5 = /dev/mvideo/video4linux0 Video4Linux compatibility 2655 5 = /dev/mvideo/video4linux0 Video4Linux compatibility
2650 2656
2651 16 = /dev/mvideo/status1 Second device 2657 16 = /dev/mvideo/status1 Second device
2652 ... 2658 ...
2653 32 = /dev/mvideo/status2 Third device 2659 32 = /dev/mvideo/status2 Third device
2654 ... 2660 ...
2655 ... 2661 ...
2656 240 = /dev/mvideo/status15 16th device 2662 240 = /dev/mvideo/status15 16th device
2657 ... 2663 ...
2658 2664
2659 195 char Nvidia graphics devices 2665 195 char Nvidia graphics devices
2660 0 = /dev/nvidia0 First Nvidia card 2666 0 = /dev/nvidia0 First Nvidia card
2661 1 = /dev/nvidia1 Second Nvidia card 2667 1 = /dev/nvidia1 Second Nvidia card
2662 ... 2668 ...
2663 255 = /dev/nvidiactl Nvidia card control device 2669 255 = /dev/nvidiactl Nvidia card control device
2664 2670
2665 196 char Tormenta T1 card 2671 196 char Tormenta T1 card
2666 0 = /dev/tor/0 Master control channel for all cards 2672 0 = /dev/tor/0 Master control channel for all cards
2667 1 = /dev/tor/1 First DS0 2673 1 = /dev/tor/1 First DS0
2668 2 = /dev/tor/2 Second DS0 2674 2 = /dev/tor/2 Second DS0
2669 ... 2675 ...
2670 48 = /dev/tor/48 48th DS0 2676 48 = /dev/tor/48 48th DS0
2671 49 = /dev/tor/49 First pseudo-channel 2677 49 = /dev/tor/49 First pseudo-channel
2672 50 = /dev/tor/50 Second pseudo-channel 2678 50 = /dev/tor/50 Second pseudo-channel
2673 ... 2679 ...
2674 2680
2675 197 char OpenTNF tracing facility 2681 197 char OpenTNF tracing facility
2676 0 = /dev/tnf/t0 Trace 0 data extraction 2682 0 = /dev/tnf/t0 Trace 0 data extraction
2677 1 = /dev/tnf/t1 Trace 1 data extraction 2683 1 = /dev/tnf/t1 Trace 1 data extraction
2678 ... 2684 ...
2679 128 = /dev/tnf/status Tracing facility status 2685 128 = /dev/tnf/status Tracing facility status
2680 130 = /dev/tnf/trace Tracing device 2686 130 = /dev/tnf/trace Tracing device
2681 2687
2682 198 char Total Impact TPMP2 quad coprocessor PCI card 2688 198 char Total Impact TPMP2 quad coprocessor PCI card
2683 0 = /dev/tpmp2/0 First card 2689 0 = /dev/tpmp2/0 First card
2684 1 = /dev/tpmp2/1 Second card 2690 1 = /dev/tpmp2/1 Second card
2685 ... 2691 ...
2686 2692
2687 199 char Veritas volume manager (VxVM) volumes 2693 199 char Veritas volume manager (VxVM) volumes
2688 0 = /dev/vx/rdsk/*/* First volume 2694 0 = /dev/vx/rdsk/*/* First volume
2689 1 = /dev/vx/rdsk/*/* Second volume 2695 1 = /dev/vx/rdsk/*/* Second volume
2690 ... 2696 ...
2691 2697
2692 199 block Veritas volume manager (VxVM) volumes 2698 199 block Veritas volume manager (VxVM) volumes
2693 0 = /dev/vx/dsk/*/* First volume 2699 0 = /dev/vx/dsk/*/* First volume
2694 1 = /dev/vx/dsk/*/* Second volume 2700 1 = /dev/vx/dsk/*/* Second volume
2695 ... 2701 ...
2696 2702
2697 The namespace in these directories is maintained by 2703 The namespace in these directories is maintained by
2698 the user space VxVM software. 2704 the user space VxVM software.
2699 2705
2700 200 char Veritas VxVM configuration interface 2706 200 char Veritas VxVM configuration interface
2701 0 = /dev/vx/config Configuration access node 2707 0 = /dev/vx/config Configuration access node
2702 1 = /dev/vx/trace Volume i/o trace access node 2708 1 = /dev/vx/trace Volume i/o trace access node
2703 2 = /dev/vx/iod Volume i/o daemon access node 2709 2 = /dev/vx/iod Volume i/o daemon access node
2704 3 = /dev/vx/info Volume information access node 2710 3 = /dev/vx/info Volume information access node
2705 4 = /dev/vx/task Volume tasks access node 2711 4 = /dev/vx/task Volume tasks access node
2706 5 = /dev/vx/taskmon Volume tasks monitor daemon 2712 5 = /dev/vx/taskmon Volume tasks monitor daemon
2707 2713
2708 201 char Veritas VxVM dynamic multipathing driver 2714 201 char Veritas VxVM dynamic multipathing driver
2709 0 = /dev/vx/rdmp/* First multipath device 2715 0 = /dev/vx/rdmp/* First multipath device
2710 1 = /dev/vx/rdmp/* Second multipath device 2716 1 = /dev/vx/rdmp/* Second multipath device
2711 ... 2717 ...
2712 201 block Veritas VxVM dynamic multipathing driver 2718 201 block Veritas VxVM dynamic multipathing driver
2713 0 = /dev/vx/dmp/* First multipath device 2719 0 = /dev/vx/dmp/* First multipath device
2714 1 = /dev/vx/dmp/* Second multipath device 2720 1 = /dev/vx/dmp/* Second multipath device
2715 ... 2721 ...
2716 2722
2717 The namespace in these directories is maintained by 2723 The namespace in these directories is maintained by
2718 the user space VxVM software. 2724 the user space VxVM software.
2719 2725
2720 202 char CPU model-specific registers 2726 202 char CPU model-specific registers
2721 0 = /dev/cpu/0/msr MSRs on CPU 0 2727 0 = /dev/cpu/0/msr MSRs on CPU 0
2722 1 = /dev/cpu/1/msr MSRs on CPU 1 2728 1 = /dev/cpu/1/msr MSRs on CPU 1
2723 ... 2729 ...
2724 2730
2725 202 block Xen Virtual Block Device 2731 202 block Xen Virtual Block Device
2726 0 = /dev/xvda First Xen VBD whole disk 2732 0 = /dev/xvda First Xen VBD whole disk
2727 16 = /dev/xvdb Second Xen VBD whole disk 2733 16 = /dev/xvdb Second Xen VBD whole disk
2728 32 = /dev/xvdc Third Xen VBD whole disk 2734 32 = /dev/xvdc Third Xen VBD whole disk
2729 ... 2735 ...
2730 240 = /dev/xvdp Sixteenth Xen VBD whole disk 2736 240 = /dev/xvdp Sixteenth Xen VBD whole disk
2731 2737
2732 Partitions are handled in the same way as for IDE 2738 Partitions are handled in the same way as for IDE
2733 disks (see major number 3) except that the limit on 2739 disks (see major number 3) except that the limit on
2734 partitions is 15. 2740 partitions is 15.
2735 2741
2736 203 char CPU CPUID information 2742 203 char CPU CPUID information
2737 0 = /dev/cpu/0/cpuid CPUID on CPU 0 2743 0 = /dev/cpu/0/cpuid CPUID on CPU 0
2738 1 = /dev/cpu/1/cpuid CPUID on CPU 1 2744 1 = /dev/cpu/1/cpuid CPUID on CPU 1
2739 ... 2745 ...
2740 2746
2741 204 char Low-density serial ports 2747 204 char Low-density serial ports
2742 0 = /dev/ttyLU0 LinkUp Systems L72xx UART - port 0 2748 0 = /dev/ttyLU0 LinkUp Systems L72xx UART - port 0
2743 1 = /dev/ttyLU1 LinkUp Systems L72xx UART - port 1 2749 1 = /dev/ttyLU1 LinkUp Systems L72xx UART - port 1
2744 2 = /dev/ttyLU2 LinkUp Systems L72xx UART - port 2 2750 2 = /dev/ttyLU2 LinkUp Systems L72xx UART - port 2
2745 3 = /dev/ttyLU3 LinkUp Systems L72xx UART - port 3 2751 3 = /dev/ttyLU3 LinkUp Systems L72xx UART - port 3
2746 4 = /dev/ttyFB0 Intel Footbridge (ARM) 2752 4 = /dev/ttyFB0 Intel Footbridge (ARM)
2747 5 = /dev/ttySA0 StrongARM builtin serial port 0 2753 5 = /dev/ttySA0 StrongARM builtin serial port 0
2748 6 = /dev/ttySA1 StrongARM builtin serial port 1 2754 6 = /dev/ttySA1 StrongARM builtin serial port 1
2749 7 = /dev/ttySA2 StrongARM builtin serial port 2 2755 7 = /dev/ttySA2 StrongARM builtin serial port 2
2750 8 = /dev/ttySC0 SCI serial port (SuperH) - port 0 2756 8 = /dev/ttySC0 SCI serial port (SuperH) - port 0
2751 9 = /dev/ttySC1 SCI serial port (SuperH) - port 1 2757 9 = /dev/ttySC1 SCI serial port (SuperH) - port 1
2752 10 = /dev/ttySC2 SCI serial port (SuperH) - port 2 2758 10 = /dev/ttySC2 SCI serial port (SuperH) - port 2
2753 11 = /dev/ttySC3 SCI serial port (SuperH) - port 3 2759 11 = /dev/ttySC3 SCI serial port (SuperH) - port 3
2754 12 = /dev/ttyFW0 Firmware console - port 0 2760 12 = /dev/ttyFW0 Firmware console - port 0
2755 13 = /dev/ttyFW1 Firmware console - port 1 2761 13 = /dev/ttyFW1 Firmware console - port 1
2756 14 = /dev/ttyFW2 Firmware console - port 2 2762 14 = /dev/ttyFW2 Firmware console - port 2
2757 15 = /dev/ttyFW3 Firmware console - port 3 2763 15 = /dev/ttyFW3 Firmware console - port 3
2758 16 = /dev/ttyAM0 ARM "AMBA" serial port 0 2764 16 = /dev/ttyAM0 ARM "AMBA" serial port 0
2759 ... 2765 ...
2760 31 = /dev/ttyAM15 ARM "AMBA" serial port 15 2766 31 = /dev/ttyAM15 ARM "AMBA" serial port 15
2761 32 = /dev/ttyDB0 DataBooster serial port 0 2767 32 = /dev/ttyDB0 DataBooster serial port 0
2762 ... 2768 ...
2763 39 = /dev/ttyDB7 DataBooster serial port 7 2769 39 = /dev/ttyDB7 DataBooster serial port 7
2764 40 = /dev/ttySG0 SGI Altix console port 2770 40 = /dev/ttySG0 SGI Altix console port
2765 41 = /dev/ttySMX0 Motorola i.MX - port 0 2771 41 = /dev/ttySMX0 Motorola i.MX - port 0
2766 42 = /dev/ttySMX1 Motorola i.MX - port 1 2772 42 = /dev/ttySMX1 Motorola i.MX - port 1
2767 43 = /dev/ttySMX2 Motorola i.MX - port 2 2773 43 = /dev/ttySMX2 Motorola i.MX - port 2
2768 44 = /dev/ttyMM0 Marvell MPSC - port 0 2774 44 = /dev/ttyMM0 Marvell MPSC - port 0
2769 45 = /dev/ttyMM1 Marvell MPSC - port 1 2775 45 = /dev/ttyMM1 Marvell MPSC - port 1
2770 46 = /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0 2776 46 = /dev/ttyCPM0 PPC CPM (SCC or SMC) - port 0
2771 ... 2777 ...
2772 47 = /dev/ttyCPM5 PPC CPM (SCC or SMC) - port 5 2778 47 = /dev/ttyCPM5 PPC CPM (SCC or SMC) - port 5
2773 50 = /dev/ttyIOC0 Altix serial card 2779 50 = /dev/ttyIOC0 Altix serial card
2774 ... 2780 ...
2775 81 = /dev/ttyIOC31 Altix serial card 2781 81 = /dev/ttyIOC31 Altix serial card
2776 82 = /dev/ttyVR0 NEC VR4100 series SIU 2782 82 = /dev/ttyVR0 NEC VR4100 series SIU
2777 83 = /dev/ttyVR1 NEC VR4100 series DSIU 2783 83 = /dev/ttyVR1 NEC VR4100 series DSIU
2778 84 = /dev/ttyIOC84 Altix ioc4 serial card 2784 84 = /dev/ttyIOC84 Altix ioc4 serial card
2779 ... 2785 ...
2780 115 = /dev/ttyIOC115 Altix ioc4 serial card 2786 115 = /dev/ttyIOC115 Altix ioc4 serial card
2781 116 = /dev/ttySIOC0 Altix ioc3 serial card 2787 116 = /dev/ttySIOC0 Altix ioc3 serial card
2782 ... 2788 ...
2783 147 = /dev/ttySIOC31 Altix ioc3 serial card 2789 147 = /dev/ttySIOC31 Altix ioc3 serial card
2784 148 = /dev/ttyPSC0 PPC PSC - port 0 2790 148 = /dev/ttyPSC0 PPC PSC - port 0
2785 ... 2791 ...
2786 153 = /dev/ttyPSC5 PPC PSC - port 5 2792 153 = /dev/ttyPSC5 PPC PSC - port 5
2787 154 = /dev/ttyAT0 ATMEL serial port 0 2793 154 = /dev/ttyAT0 ATMEL serial port 0
2788 ... 2794 ...
2789 169 = /dev/ttyAT15 ATMEL serial port 15 2795 169 = /dev/ttyAT15 ATMEL serial port 15
2790 170 = /dev/ttyNX0 Hilscher netX serial port 0 2796 170 = /dev/ttyNX0 Hilscher netX serial port 0
2791 ... 2797 ...
2792 185 = /dev/ttyNX15 Hilscher netX serial port 15 2798 185 = /dev/ttyNX15 Hilscher netX serial port 15
2793 186 = /dev/ttyJ0 JTAG1 DCC protocol based serial port emulation 2799 186 = /dev/ttyJ0 JTAG1 DCC protocol based serial port emulation
2794 187 = /dev/ttyUL0 Xilinx uartlite - port 0 2800 187 = /dev/ttyUL0 Xilinx uartlite - port 0
2795 ... 2801 ...
2796 190 = /dev/ttyUL3 Xilinx uartlite - port 3 2802 190 = /dev/ttyUL3 Xilinx uartlite - port 3
2797 191 = /dev/xvc0 Xen virtual console - port 0 2803 191 = /dev/xvc0 Xen virtual console - port 0
2798 192 = /dev/ttyPZ0 pmac_zilog - port 0 2804 192 = /dev/ttyPZ0 pmac_zilog - port 0
2799 ... 2805 ...
2800 195 = /dev/ttyPZ3 pmac_zilog - port 3 2806 195 = /dev/ttyPZ3 pmac_zilog - port 3
2801 196 = /dev/ttyTX0 TX39/49 serial port 0 2807 196 = /dev/ttyTX0 TX39/49 serial port 0
2802 ... 2808 ...
2803 204 = /dev/ttyTX7 TX39/49 serial port 7 2809 204 = /dev/ttyTX7 TX39/49 serial port 7
2804 205 = /dev/ttySC0 SC26xx serial port 0 2810 205 = /dev/ttySC0 SC26xx serial port 0
2805 206 = /dev/ttySC1 SC26xx serial port 1 2811 206 = /dev/ttySC1 SC26xx serial port 1
2806 207 = /dev/ttySC2 SC26xx serial port 2 2812 207 = /dev/ttySC2 SC26xx serial port 2
2807 208 = /dev/ttySC3 SC26xx serial port 3 2813 208 = /dev/ttySC3 SC26xx serial port 3
2808 209 = /dev/ttyMAX0 MAX3100 serial port 0 2814 209 = /dev/ttyMAX0 MAX3100 serial port 0
2809 210 = /dev/ttyMAX1 MAX3100 serial port 1 2815 210 = /dev/ttyMAX1 MAX3100 serial port 1
2810 211 = /dev/ttyMAX2 MAX3100 serial port 2 2816 211 = /dev/ttyMAX2 MAX3100 serial port 2
2811 212 = /dev/ttyMAX3 MAX3100 serial port 3 2817 212 = /dev/ttyMAX3 MAX3100 serial port 3
2812 2818
2813 205 char Low-density serial ports (alternate device) 2819 205 char Low-density serial ports (alternate device)
2814 0 = /dev/culu0 Callout device for ttyLU0 2820 0 = /dev/culu0 Callout device for ttyLU0
2815 1 = /dev/culu1 Callout device for ttyLU1 2821 1 = /dev/culu1 Callout device for ttyLU1
2816 2 = /dev/culu2 Callout device for ttyLU2 2822 2 = /dev/culu2 Callout device for ttyLU2
2817 3 = /dev/culu3 Callout device for ttyLU3 2823 3 = /dev/culu3 Callout device for ttyLU3
2818 4 = /dev/cufb0 Callout device for ttyFB0 2824 4 = /dev/cufb0 Callout device for ttyFB0
2819 5 = /dev/cusa0 Callout device for ttySA0 2825 5 = /dev/cusa0 Callout device for ttySA0
2820 6 = /dev/cusa1 Callout device for ttySA1 2826 6 = /dev/cusa1 Callout device for ttySA1
2821 7 = /dev/cusa2 Callout device for ttySA2 2827 7 = /dev/cusa2 Callout device for ttySA2
2822 8 = /dev/cusc0 Callout device for ttySC0 2828 8 = /dev/cusc0 Callout device for ttySC0
2823 9 = /dev/cusc1 Callout device for ttySC1 2829 9 = /dev/cusc1 Callout device for ttySC1
2824 10 = /dev/cusc2 Callout device for ttySC2 2830 10 = /dev/cusc2 Callout device for ttySC2
2825 11 = /dev/cusc3 Callout device for ttySC3 2831 11 = /dev/cusc3 Callout device for ttySC3
2826 12 = /dev/cufw0 Callout device for ttyFW0 2832 12 = /dev/cufw0 Callout device for ttyFW0
2827 13 = /dev/cufw1 Callout device for ttyFW1 2833 13 = /dev/cufw1 Callout device for ttyFW1
2828 14 = /dev/cufw2 Callout device for ttyFW2 2834 14 = /dev/cufw2 Callout device for ttyFW2
2829 15 = /dev/cufw3 Callout device for ttyFW3 2835 15 = /dev/cufw3 Callout device for ttyFW3
2830 16 = /dev/cuam0 Callout device for ttyAM0 2836 16 = /dev/cuam0 Callout device for ttyAM0
2831 ... 2837 ...
2832 31 = /dev/cuam15 Callout device for ttyAM15 2838 31 = /dev/cuam15 Callout device for ttyAM15
2833 32 = /dev/cudb0 Callout device for ttyDB0 2839 32 = /dev/cudb0 Callout device for ttyDB0
2834 ... 2840 ...
2835 39 = /dev/cudb7 Callout device for ttyDB7 2841 39 = /dev/cudb7 Callout device for ttyDB7
2836 40 = /dev/cusg0 Callout device for ttySG0 2842 40 = /dev/cusg0 Callout device for ttySG0
2837 41 = /dev/ttycusmx0 Callout device for ttySMX0 2843 41 = /dev/ttycusmx0 Callout device for ttySMX0
2838 42 = /dev/ttycusmx1 Callout device for ttySMX1 2844 42 = /dev/ttycusmx1 Callout device for ttySMX1
2839 43 = /dev/ttycusmx2 Callout device for ttySMX2 2845 43 = /dev/ttycusmx2 Callout device for ttySMX2
2840 46 = /dev/cucpm0 Callout device for ttyCPM0 2846 46 = /dev/cucpm0 Callout device for ttyCPM0
2841 ... 2847 ...
2842 49 = /dev/cucpm5 Callout device for ttyCPM5 2848 49 = /dev/cucpm5 Callout device for ttyCPM5
2843 50 = /dev/cuioc40 Callout device for ttyIOC40 2849 50 = /dev/cuioc40 Callout device for ttyIOC40
2844 ... 2850 ...
2845 81 = /dev/cuioc431 Callout device for ttyIOC431 2851 81 = /dev/cuioc431 Callout device for ttyIOC431
2846 82 = /dev/cuvr0 Callout device for ttyVR0 2852 82 = /dev/cuvr0 Callout device for ttyVR0
2847 83 = /dev/cuvr1 Callout device for ttyVR1 2853 83 = /dev/cuvr1 Callout device for ttyVR1
2848 2854
2849 206 char OnStream SC-x0 tape devices 2855 206 char OnStream SC-x0 tape devices
2850 0 = /dev/osst0 First OnStream SCSI tape, mode 0 2856 0 = /dev/osst0 First OnStream SCSI tape, mode 0
2851 1 = /dev/osst1 Second OnStream SCSI tape, mode 0 2857 1 = /dev/osst1 Second OnStream SCSI tape, mode 0
2852 ... 2858 ...
2853 32 = /dev/osst0l First OnStream SCSI tape, mode 1 2859 32 = /dev/osst0l First OnStream SCSI tape, mode 1
2854 33 = /dev/osst1l Second OnStream SCSI tape, mode 1 2860 33 = /dev/osst1l Second OnStream SCSI tape, mode 1
2855 ... 2861 ...
2856 64 = /dev/osst0m First OnStream SCSI tape, mode 2 2862 64 = /dev/osst0m First OnStream SCSI tape, mode 2
2857 65 = /dev/osst1m Second OnStream SCSI tape, mode 2 2863 65 = /dev/osst1m Second OnStream SCSI tape, mode 2
2858 ... 2864 ...
2859 96 = /dev/osst0a First OnStream SCSI tape, mode 3 2865 96 = /dev/osst0a First OnStream SCSI tape, mode 3
2860 97 = /dev/osst1a Second OnStream SCSI tape, mode 3 2866 97 = /dev/osst1a Second OnStream SCSI tape, mode 3
2861 ... 2867 ...
2862 128 = /dev/nosst0 No rewind version of /dev/osst0 2868 128 = /dev/nosst0 No rewind version of /dev/osst0
2863 129 = /dev/nosst1 No rewind version of /dev/osst1 2869 129 = /dev/nosst1 No rewind version of /dev/osst1
2864 ... 2870 ...
2865 160 = /dev/nosst0l No rewind version of /dev/osst0l 2871 160 = /dev/nosst0l No rewind version of /dev/osst0l
2866 161 = /dev/nosst1l No rewind version of /dev/osst1l 2872 161 = /dev/nosst1l No rewind version of /dev/osst1l
2867 ... 2873 ...
2868 192 = /dev/nosst0m No rewind version of /dev/osst0m 2874 192 = /dev/nosst0m No rewind version of /dev/osst0m
2869 193 = /dev/nosst1m No rewind version of /dev/osst1m 2875 193 = /dev/nosst1m No rewind version of /dev/osst1m
2870 ... 2876 ...
2871 224 = /dev/nosst0a No rewind version of /dev/osst0a 2877 224 = /dev/nosst0a No rewind version of /dev/osst0a
2872 225 = /dev/nosst1a No rewind version of /dev/osst1a 2878 225 = /dev/nosst1a No rewind version of /dev/osst1a
2873 ... 2879 ...
2874 2880
2875 The OnStream SC-x0 SCSI tapes do not support the 2881 The OnStream SC-x0 SCSI tapes do not support the
2876 standard SCSI SASD command set and therefore need 2882 standard SCSI SASD command set and therefore need
2877 their own driver "osst". Note that the IDE, USB (and 2883 their own driver "osst". Note that the IDE, USB (and
2878 maybe ParPort) versions may be driven via ide-scsi or 2884 maybe ParPort) versions may be driven via ide-scsi or
2879 usb-storage SCSI emulation and this osst device and 2885 usb-storage SCSI emulation and this osst device and
2880 driver as well. The ADR-x0 drives are QIC-157 2886 driver as well. The ADR-x0 drives are QIC-157
2881 compliant and don't need osst. 2887 compliant and don't need osst.
2882 2888
2883 207 char Compaq ProLiant health feature indicate 2889 207 char Compaq ProLiant health feature indicate
2884 0 = /dev/cpqhealth/cpqw Redirector interface 2890 0 = /dev/cpqhealth/cpqw Redirector interface
2885 1 = /dev/cpqhealth/crom EISA CROM 2891 1 = /dev/cpqhealth/crom EISA CROM
2886 2 = /dev/cpqhealth/cdt Data Table 2892 2 = /dev/cpqhealth/cdt Data Table
2887 3 = /dev/cpqhealth/cevt Event Log 2893 3 = /dev/cpqhealth/cevt Event Log
2888 4 = /dev/cpqhealth/casr Automatic Server Recovery 2894 4 = /dev/cpqhealth/casr Automatic Server Recovery
2889 5 = /dev/cpqhealth/cecc ECC Memory 2895 5 = /dev/cpqhealth/cecc ECC Memory
2890 6 = /dev/cpqhealth/cmca Machine Check Architecture 2896 6 = /dev/cpqhealth/cmca Machine Check Architecture
2891 7 = /dev/cpqhealth/ccsm Deprecated CDT 2897 7 = /dev/cpqhealth/ccsm Deprecated CDT
2892 8 = /dev/cpqhealth/cnmi NMI Handling 2898 8 = /dev/cpqhealth/cnmi NMI Handling
2893 9 = /dev/cpqhealth/css Sideshow Management 2899 9 = /dev/cpqhealth/css Sideshow Management
2894 10 = /dev/cpqhealth/cram CMOS interface 2900 10 = /dev/cpqhealth/cram CMOS interface
2895 11 = /dev/cpqhealth/cpci PCI IRQ interface 2901 11 = /dev/cpqhealth/cpci PCI IRQ interface
2896 2902
2897 208 char User space serial ports 2903 208 char User space serial ports
2898 0 = /dev/ttyU0 First user space serial port 2904 0 = /dev/ttyU0 First user space serial port
2899 1 = /dev/ttyU1 Second user space serial port 2905 1 = /dev/ttyU1 Second user space serial port
2900 ... 2906 ...
2901 2907
2902 209 char User space serial ports (alternate devices) 2908 209 char User space serial ports (alternate devices)
2903 0 = /dev/cuu0 Callout device for ttyU0 2909 0 = /dev/cuu0 Callout device for ttyU0
2904 1 = /dev/cuu1 Callout device for ttyU1 2910 1 = /dev/cuu1 Callout device for ttyU1
2905 ... 2911 ...
2906 2912
2907 210 char SBE, Inc. sync/async serial card 2913 210 char SBE, Inc. sync/async serial card
2908 0 = /dev/sbei/wxcfg0 Configuration device for board 0 2914 0 = /dev/sbei/wxcfg0 Configuration device for board 0
2909 1 = /dev/sbei/dld0 Download device for board 0 2915 1 = /dev/sbei/dld0 Download device for board 0
2910 2 = /dev/sbei/wan00 WAN device, port 0, board 0 2916 2 = /dev/sbei/wan00 WAN device, port 0, board 0
2911 3 = /dev/sbei/wan01 WAN device, port 1, board 0 2917 3 = /dev/sbei/wan01 WAN device, port 1, board 0
2912 4 = /dev/sbei/wan02 WAN device, port 2, board 0 2918 4 = /dev/sbei/wan02 WAN device, port 2, board 0
2913 5 = /dev/sbei/wan03 WAN device, port 3, board 0 2919 5 = /dev/sbei/wan03 WAN device, port 3, board 0
2914 6 = /dev/sbei/wanc00 WAN clone device, port 0, board 0 2920 6 = /dev/sbei/wanc00 WAN clone device, port 0, board 0
2915 7 = /dev/sbei/wanc01 WAN clone device, port 1, board 0 2921 7 = /dev/sbei/wanc01 WAN clone device, port 1, board 0
2916 8 = /dev/sbei/wanc02 WAN clone device, port 2, board 0 2922 8 = /dev/sbei/wanc02 WAN clone device, port 2, board 0
2917 9 = /dev/sbei/wanc03 WAN clone device, port 3, board 0 2923 9 = /dev/sbei/wanc03 WAN clone device, port 3, board 0
2918 10 = /dev/sbei/wxcfg1 Configuration device for board 1 2924 10 = /dev/sbei/wxcfg1 Configuration device for board 1
2919 11 = /dev/sbei/dld1 Download device for board 1 2925 11 = /dev/sbei/dld1 Download device for board 1
2920 12 = /dev/sbei/wan10 WAN device, port 0, board 1 2926 12 = /dev/sbei/wan10 WAN device, port 0, board 1
2921 13 = /dev/sbei/wan11 WAN device, port 1, board 1 2927 13 = /dev/sbei/wan11 WAN device, port 1, board 1
2922 14 = /dev/sbei/wan12 WAN device, port 2, board 1 2928 14 = /dev/sbei/wan12 WAN device, port 2, board 1
2923 15 = /dev/sbei/wan13 WAN device, port 3, board 1 2929 15 = /dev/sbei/wan13 WAN device, port 3, board 1
2924 16 = /dev/sbei/wanc10 WAN clone device, port 0, board 1 2930 16 = /dev/sbei/wanc10 WAN clone device, port 0, board 1
2925 17 = /dev/sbei/wanc11 WAN clone device, port 1, board 1 2931 17 = /dev/sbei/wanc11 WAN clone device, port 1, board 1
2926 18 = /dev/sbei/wanc12 WAN clone device, port 2, board 1 2932 18 = /dev/sbei/wanc12 WAN clone device, port 2, board 1
2927 19 = /dev/sbei/wanc13 WAN clone device, port 3, board 1 2933 19 = /dev/sbei/wanc13 WAN clone device, port 3, board 1
2928 ... 2934 ...
2929 2935
2930 Yes, each board is really spaced 10 (decimal) apart. 2936 Yes, each board is really spaced 10 (decimal) apart.
2931 2937
2932 211 char Addinum CPCI1500 digital I/O card 2938 211 char Addinum CPCI1500 digital I/O card
2933 0 = /dev/addinum/cpci1500/0 First CPCI1500 card 2939 0 = /dev/addinum/cpci1500/0 First CPCI1500 card
2934 1 = /dev/addinum/cpci1500/1 Second CPCI1500 card 2940 1 = /dev/addinum/cpci1500/1 Second CPCI1500 card
2935 ... 2941 ...
2936 2942
2937 212 char LinuxTV.org DVB driver subsystem 2943 212 char LinuxTV.org DVB driver subsystem
2938 0 = /dev/dvb/adapter0/video0 first video decoder of first card 2944 0 = /dev/dvb/adapter0/video0 first video decoder of first card
2939 1 = /dev/dvb/adapter0/audio0 first audio decoder of first card 2945 1 = /dev/dvb/adapter0/audio0 first audio decoder of first card
2940 2 = /dev/dvb/adapter0/sec0 (obsolete/unused) 2946 2 = /dev/dvb/adapter0/sec0 (obsolete/unused)
2941 3 = /dev/dvb/adapter0/frontend0 first frontend device of first card 2947 3 = /dev/dvb/adapter0/frontend0 first frontend device of first card
2942 4 = /dev/dvb/adapter0/demux0 first demux device of first card 2948 4 = /dev/dvb/adapter0/demux0 first demux device of first card
2943 5 = /dev/dvb/adapter0/dvr0 first digital video recoder device of first card 2949 5 = /dev/dvb/adapter0/dvr0 first digital video recoder device of first card
2944 6 = /dev/dvb/adapter0/ca0 first common access port of first card 2950 6 = /dev/dvb/adapter0/ca0 first common access port of first card
2945 7 = /dev/dvb/adapter0/net0 first network device of first card 2951 7 = /dev/dvb/adapter0/net0 first network device of first card
2946 8 = /dev/dvb/adapter0/osd0 first on-screen-display device of first card 2952 8 = /dev/dvb/adapter0/osd0 first on-screen-display device of first card
2947 9 = /dev/dvb/adapter0/video1 second video decoder of first card 2953 9 = /dev/dvb/adapter0/video1 second video decoder of first card
2948 ... 2954 ...
2949 64 = /dev/dvb/adapter1/video0 first video decoder of second card 2955 64 = /dev/dvb/adapter1/video0 first video decoder of second card
2950 ... 2956 ...
2951 128 = /dev/dvb/adapter2/video0 first video decoder of third card 2957 128 = /dev/dvb/adapter2/video0 first video decoder of third card
2952 ... 2958 ...
2953 196 = /dev/dvb/adapter3/video0 first video decoder of fourth card 2959 196 = /dev/dvb/adapter3/video0 first video decoder of fourth card
2954 2960
2955 216 char Bluetooth RFCOMM TTY devices 2961 216 char Bluetooth RFCOMM TTY devices
2956 0 = /dev/rfcomm0 First Bluetooth RFCOMM TTY device 2962 0 = /dev/rfcomm0 First Bluetooth RFCOMM TTY device
2957 1 = /dev/rfcomm1 Second Bluetooth RFCOMM TTY device 2963 1 = /dev/rfcomm1 Second Bluetooth RFCOMM TTY device
2958 ... 2964 ...
2959 2965
2960 217 char Bluetooth RFCOMM TTY devices (alternate devices) 2966 217 char Bluetooth RFCOMM TTY devices (alternate devices)
2961 0 = /dev/curf0 Callout device for rfcomm0 2967 0 = /dev/curf0 Callout device for rfcomm0
2962 1 = /dev/curf1 Callout device for rfcomm1 2968 1 = /dev/curf1 Callout device for rfcomm1
2963 ... 2969 ...
2964 2970
2965 218 char The Logical Company bus Unibus/Qbus adapters 2971 218 char The Logical Company bus Unibus/Qbus adapters
2966 0 = /dev/logicalco/bci/0 First bus adapter 2972 0 = /dev/logicalco/bci/0 First bus adapter
2967 1 = /dev/logicalco/bci/1 First bus adapter 2973 1 = /dev/logicalco/bci/1 First bus adapter
2968 ... 2974 ...
2969 2975
2970 219 char The Logical Company DCI-1300 digital I/O card 2976 219 char The Logical Company DCI-1300 digital I/O card
2971 0 = /dev/logicalco/dci1300/0 First DCI-1300 card 2977 0 = /dev/logicalco/dci1300/0 First DCI-1300 card
2972 1 = /dev/logicalco/dci1300/1 Second DCI-1300 card 2978 1 = /dev/logicalco/dci1300/1 Second DCI-1300 card
2973 ... 2979 ...
2974 2980
2975 220 char Myricom Myrinet "GM" board 2981 220 char Myricom Myrinet "GM" board
2976 0 = /dev/myricom/gm0 First Myrinet GM board 2982 0 = /dev/myricom/gm0 First Myrinet GM board
2977 1 = /dev/myricom/gmp0 First board "root access" 2983 1 = /dev/myricom/gmp0 First board "root access"
2978 2 = /dev/myricom/gm1 Second Myrinet GM board 2984 2 = /dev/myricom/gm1 Second Myrinet GM board
2979 3 = /dev/myricom/gmp1 Second board "root access" 2985 3 = /dev/myricom/gmp1 Second board "root access"
2980 ... 2986 ...
2981 2987
2982 221 char VME bus 2988 221 char VME bus
2983 0 = /dev/bus/vme/m0 First master image 2989 0 = /dev/bus/vme/m0 First master image
2984 1 = /dev/bus/vme/m1 Second master image 2990 1 = /dev/bus/vme/m1 Second master image
2985 2 = /dev/bus/vme/m2 Third master image 2991 2 = /dev/bus/vme/m2 Third master image
2986 3 = /dev/bus/vme/m3 Fourth master image 2992 3 = /dev/bus/vme/m3 Fourth master image
2987 4 = /dev/bus/vme/s0 First slave image 2993 4 = /dev/bus/vme/s0 First slave image
2988 5 = /dev/bus/vme/s1 Second slave image 2994 5 = /dev/bus/vme/s1 Second slave image
2989 6 = /dev/bus/vme/s2 Third slave image 2995 6 = /dev/bus/vme/s2 Third slave image
2990 7 = /dev/bus/vme/s3 Fourth slave image 2996 7 = /dev/bus/vme/s3 Fourth slave image
2991 8 = /dev/bus/vme/ctl Control 2997 8 = /dev/bus/vme/ctl Control
2992 2998
2993 It is expected that all VME bus drivers will use the 2999 It is expected that all VME bus drivers will use the
2994 same interface. For interface documentation see 3000 same interface. For interface documentation see
2995 http://www.vmelinux.org/. 3001 http://www.vmelinux.org/.
2996 3002
2997 224 char A2232 serial card 3003 224 char A2232 serial card
2998 0 = /dev/ttyY0 First A2232 port 3004 0 = /dev/ttyY0 First A2232 port
2999 1 = /dev/ttyY1 Second A2232 port 3005 1 = /dev/ttyY1 Second A2232 port
3000 ... 3006 ...
3001 3007
3002 225 char A2232 serial card (alternate devices) 3008 225 char A2232 serial card (alternate devices)
3003 0 = /dev/cuy0 Callout device for ttyY0 3009 0 = /dev/cuy0 Callout device for ttyY0
3004 1 = /dev/cuy1 Callout device for ttyY1 3010 1 = /dev/cuy1 Callout device for ttyY1
3005 ... 3011 ...
3006 3012
3007 226 char Direct Rendering Infrastructure (DRI) 3013 226 char Direct Rendering Infrastructure (DRI)
3008 0 = /dev/dri/card0 First graphics card 3014 0 = /dev/dri/card0 First graphics card
3009 1 = /dev/dri/card1 Second graphics card 3015 1 = /dev/dri/card1 Second graphics card
3010 ... 3016 ...
3011 3017
3012 227 char IBM 3270 terminal Unix tty access 3018 227 char IBM 3270 terminal Unix tty access
3013 1 = /dev/3270/tty1 First 3270 terminal 3019 1 = /dev/3270/tty1 First 3270 terminal
3014 2 = /dev/3270/tty2 Seconds 3270 terminal 3020 2 = /dev/3270/tty2 Seconds 3270 terminal
3015 ... 3021 ...
3016 3022
3017 228 char IBM 3270 terminal block-mode access 3023 228 char IBM 3270 terminal block-mode access
3018 0 = /dev/3270/tub Controlling interface 3024 0 = /dev/3270/tub Controlling interface
3019 1 = /dev/3270/tub1 First 3270 terminal 3025 1 = /dev/3270/tub1 First 3270 terminal
3020 2 = /dev/3270/tub2 Second 3270 terminal 3026 2 = /dev/3270/tub2 Second 3270 terminal
3021 ... 3027 ...
3022 3028
3023 229 char IBM iSeries/pSeries virtual console 3029 229 char IBM iSeries/pSeries virtual console
3024 0 = /dev/hvc0 First console port 3030 0 = /dev/hvc0 First console port
3025 1 = /dev/hvc1 Second console port 3031 1 = /dev/hvc1 Second console port
3026 ... 3032 ...
3027 3033
3028 230 char IBM iSeries virtual tape 3034 230 char IBM iSeries virtual tape
3029 0 = /dev/iseries/vt0 First virtual tape, mode 0 3035 0 = /dev/iseries/vt0 First virtual tape, mode 0
3030 1 = /dev/iseries/vt1 Second virtual tape, mode 0 3036 1 = /dev/iseries/vt1 Second virtual tape, mode 0
3031 ... 3037 ...
3032 32 = /dev/iseries/vt0l First virtual tape, mode 1 3038 32 = /dev/iseries/vt0l First virtual tape, mode 1
3033 33 = /dev/iseries/vt1l Second virtual tape, mode 1 3039 33 = /dev/iseries/vt1l Second virtual tape, mode 1
3034 ... 3040 ...
3035 64 = /dev/iseries/vt0m First virtual tape, mode 2 3041 64 = /dev/iseries/vt0m First virtual tape, mode 2
3036 65 = /dev/iseries/vt1m Second virtual tape, mode 2 3042 65 = /dev/iseries/vt1m Second virtual tape, mode 2
3037 ... 3043 ...
3038 96 = /dev/iseries/vt0a First virtual tape, mode 3 3044 96 = /dev/iseries/vt0a First virtual tape, mode 3
3039 97 = /dev/iseries/vt1a Second virtual tape, mode 3 3045 97 = /dev/iseries/vt1a Second virtual tape, mode 3
3040 ... 3046 ...
3041 128 = /dev/iseries/nvt0 First virtual tape, mode 0, no rewind 3047 128 = /dev/iseries/nvt0 First virtual tape, mode 0, no rewind
3042 129 = /dev/iseries/nvt1 Second virtual tape, mode 0, no rewind 3048 129 = /dev/iseries/nvt1 Second virtual tape, mode 0, no rewind
3043 ... 3049 ...
3044 160 = /dev/iseries/nvt0l First virtual tape, mode 1, no rewind 3050 160 = /dev/iseries/nvt0l First virtual tape, mode 1, no rewind
3045 161 = /dev/iseries/nvt1l Second virtual tape, mode 1, no rewind 3051 161 = /dev/iseries/nvt1l Second virtual tape, mode 1, no rewind
3046 ... 3052 ...
3047 192 = /dev/iseries/nvt0m First virtual tape, mode 2, no rewind 3053 192 = /dev/iseries/nvt0m First virtual tape, mode 2, no rewind
3048 193 = /dev/iseries/nvt1m Second virtual tape, mode 2, no rewind 3054 193 = /dev/iseries/nvt1m Second virtual tape, mode 2, no rewind
3049 ... 3055 ...
3050 224 = /dev/iseries/nvt0a First virtual tape, mode 3, no rewind 3056 224 = /dev/iseries/nvt0a First virtual tape, mode 3, no rewind
3051 225 = /dev/iseries/nvt1a Second virtual tape, mode 3, no rewind 3057 225 = /dev/iseries/nvt1a Second virtual tape, mode 3, no rewind
3052 ... 3058 ...
3053 3059
3054 "No rewind" refers to the omission of the default 3060 "No rewind" refers to the omission of the default
3055 automatic rewind on device close. The MTREW or MTOFFL 3061 automatic rewind on device close. The MTREW or MTOFFL
3056 ioctl()'s can be used to rewind the tape regardless of 3062 ioctl()'s can be used to rewind the tape regardless of
3057 the device used to access it. 3063 the device used to access it.
3058 3064
3059 231 char InfiniBand 3065 231 char InfiniBand
3060 0 = /dev/infiniband/umad0 3066 0 = /dev/infiniband/umad0
3061 1 = /dev/infiniband/umad1 3067 1 = /dev/infiniband/umad1
3062 ... 3068 ...
3063 63 = /dev/infiniband/umad63 63rd InfiniBandMad device 3069 63 = /dev/infiniband/umad63 63rd InfiniBandMad device
3064 64 = /dev/infiniband/issm0 First InfiniBand IsSM device 3070 64 = /dev/infiniband/issm0 First InfiniBand IsSM device
3065 65 = /dev/infiniband/issm1 Second InfiniBand IsSM device 3071 65 = /dev/infiniband/issm1 Second InfiniBand IsSM device
3066 ... 3072 ...
3067 127 = /dev/infiniband/issm63 63rd InfiniBand IsSM device 3073 127 = /dev/infiniband/issm63 63rd InfiniBand IsSM device
3068 128 = /dev/infiniband/uverbs0 First InfiniBand verbs device 3074 128 = /dev/infiniband/uverbs0 First InfiniBand verbs device
3069 129 = /dev/infiniband/uverbs1 Second InfiniBand verbs device 3075 129 = /dev/infiniband/uverbs1 Second InfiniBand verbs device
3070 ... 3076 ...
3071 159 = /dev/infiniband/uverbs31 31st InfiniBand verbs device 3077 159 = /dev/infiniband/uverbs31 31st InfiniBand verbs device
3072 3078
3073 232 char Biometric Devices 3079 232 char Biometric Devices
3074 0 = /dev/biometric/sensor0/fingerprint first fingerprint sensor on first device 3080 0 = /dev/biometric/sensor0/fingerprint first fingerprint sensor on first device
3075 1 = /dev/biometric/sensor0/iris first iris sensor on first device 3081 1 = /dev/biometric/sensor0/iris first iris sensor on first device
3076 2 = /dev/biometric/sensor0/retina first retina sensor on first device 3082 2 = /dev/biometric/sensor0/retina first retina sensor on first device
3077 3 = /dev/biometric/sensor0/voiceprint first voiceprint sensor on first device 3083 3 = /dev/biometric/sensor0/voiceprint first voiceprint sensor on first device
3078 4 = /dev/biometric/sensor0/facial first facial sensor on first device 3084 4 = /dev/biometric/sensor0/facial first facial sensor on first device
3079 5 = /dev/biometric/sensor0/hand first hand sensor on first device 3085 5 = /dev/biometric/sensor0/hand first hand sensor on first device
3080 ... 3086 ...
3081 10 = /dev/biometric/sensor1/fingerprint first fingerprint sensor on second device 3087 10 = /dev/biometric/sensor1/fingerprint first fingerprint sensor on second device
3082 ... 3088 ...
3083 20 = /dev/biometric/sensor2/fingerprint first fingerprint sensor on third device 3089 20 = /dev/biometric/sensor2/fingerprint first fingerprint sensor on third device
3084 ... 3090 ...
3085 3091
3086 233 char PathScale InfiniPath interconnect 3092 233 char PathScale InfiniPath interconnect
3087 0 = /dev/ipath Primary device for programs (any unit) 3093 0 = /dev/ipath Primary device for programs (any unit)
3088 1 = /dev/ipath0 Access specifically to unit 0 3094 1 = /dev/ipath0 Access specifically to unit 0
3089 2 = /dev/ipath1 Access specifically to unit 1 3095 2 = /dev/ipath1 Access specifically to unit 1
3090 ... 3096 ...
3091 4 = /dev/ipath3 Access specifically to unit 3 3097 4 = /dev/ipath3 Access specifically to unit 3
3092 129 = /dev/ipath_sma Device used by Subnet Management Agent 3098 129 = /dev/ipath_sma Device used by Subnet Management Agent
3093 130 = /dev/ipath_diag Device used by diagnostics programs 3099 130 = /dev/ipath_diag Device used by diagnostics programs
3094 3100
3095 234-239 UNASSIGNED 3101 234-239 UNASSIGNED
3096 3102
3097 240-254 char LOCAL/EXPERIMENTAL USE 3103 240-254 char LOCAL/EXPERIMENTAL USE
3098 3104
3099 240-254 block LOCAL/EXPERIMENTAL USE 3105 240-254 block LOCAL/EXPERIMENTAL USE
3100 Allocated for local/experimental use. For devices not 3106 Allocated for local/experimental use. For devices not
3101 assigned official numbers, these ranges should be 3107 assigned official numbers, these ranges should be
3102 used in order to avoid conflicting with future assignments. 3108 used in order to avoid conflicting with future assignments.
3103 3109
3104 255 char RESERVED 3110 255 char RESERVED
3105 3111
3106 255 block RESERVED 3112 255 block RESERVED
3107 3113
3108 This major is reserved to assist the expansion to a 3114 This major is reserved to assist the expansion to a
3109 larger number space. No device nodes with this major 3115 larger number space. No device nodes with this major
3110 should ever be created on the filesystem. 3116 should ever be created on the filesystem.
3111 (This is probably not true anymore, but I'll leave it 3117 (This is probably not true anymore, but I'll leave it
3112 for now /Torben) 3118 for now /Torben)
3113 3119
3114 ---LARGE MAJORS!!!!!--- 3120 ---LARGE MAJORS!!!!!---
3115 3121
3116 256 char Equinox SST multi-port serial boards 3122 256 char Equinox SST multi-port serial boards
3117 0 = /dev/ttyEQ0 First serial port on first Equinox SST board 3123 0 = /dev/ttyEQ0 First serial port on first Equinox SST board
3118 127 = /dev/ttyEQ127 Last serial port on first Equinox SST board 3124 127 = /dev/ttyEQ127 Last serial port on first Equinox SST board
3119 128 = /dev/ttyEQ128 First serial port on second Equinox SST board 3125 128 = /dev/ttyEQ128 First serial port on second Equinox SST board
3120 ... 3126 ...
3121 1027 = /dev/ttyEQ1027 Last serial port on eighth Equinox SST board 3127 1027 = /dev/ttyEQ1027 Last serial port on eighth Equinox SST board
3122 3128
3123 256 block Resident Flash Disk Flash Translation Layer 3129 256 block Resident Flash Disk Flash Translation Layer
3124 0 = /dev/rfda First RFD FTL layer 3130 0 = /dev/rfda First RFD FTL layer
3125 16 = /dev/rfdb Second RFD FTL layer 3131 16 = /dev/rfdb Second RFD FTL layer
3126 ... 3132 ...
3127 240 = /dev/rfdp 16th RFD FTL layer 3133 240 = /dev/rfdp 16th RFD FTL layer
3128 3134
3129 257 char Phoenix Technologies Cryptographic Services Driver 3135 257 char Phoenix Technologies Cryptographic Services Driver
3130 0 = /dev/ptlsec Crypto Services Driver 3136 0 = /dev/ptlsec Crypto Services Driver
3131 3137
3132 257 block SSFDC Flash Translation Layer filesystem 3138 257 block SSFDC Flash Translation Layer filesystem
3133 0 = /dev/ssfdca First SSFDC layer 3139 0 = /dev/ssfdca First SSFDC layer
3134 8 = /dev/ssfdcb Second SSFDC layer 3140 8 = /dev/ssfdcb Second SSFDC layer
3135 16 = /dev/ssfdcc Third SSFDC layer 3141 16 = /dev/ssfdcc Third SSFDC layer
3136 24 = /dev/ssfdcd 4th SSFDC layer 3142 24 = /dev/ssfdcd 4th SSFDC layer
3137 32 = /dev/ssfdce 5th SSFDC layer 3143 32 = /dev/ssfdce 5th SSFDC layer
3138 40 = /dev/ssfdcf 6th SSFDC layer 3144 40 = /dev/ssfdcf 6th SSFDC layer
3139 48 = /dev/ssfdcg 7th SSFDC layer 3145 48 = /dev/ssfdcg 7th SSFDC layer
3140 56 = /dev/ssfdch 8th SSFDC layer 3146 56 = /dev/ssfdch 8th SSFDC layer
3141 3147
3142 258 block ROM/Flash read-only translation layer 3148 258 block ROM/Flash read-only translation layer
3143 0 = /dev/blockrom0 First ROM card's translation layer interface 3149 0 = /dev/blockrom0 First ROM card's translation layer interface
3144 1 = /dev/blockrom1 Second ROM card's translation layer interface 3150 1 = /dev/blockrom1 Second ROM card's translation layer interface
3145 ... 3151 ...
3146 3152
3147 259 block Block Extended Major 3153 259 block Block Extended Major
3148 Used dynamically to hold additional partition minor 3154 Used dynamically to hold additional partition minor
3149 numbers and allow large numbers of partitions per device 3155 numbers and allow large numbers of partitions per device
3150 3156
3151 259 char FPGA configuration interfaces 3157 259 char FPGA configuration interfaces
3152 0 = /dev/icap0 First Xilinx internal configuration 3158 0 = /dev/icap0 First Xilinx internal configuration
3153 1 = /dev/icap1 Second Xilinx internal configuration 3159 1 = /dev/icap1 Second Xilinx internal configuration
3154 3160
3155 260 char OSD (Object-based-device) SCSI Device 3161 260 char OSD (Object-based-device) SCSI Device
3156 0 = /dev/osd0 First OSD Device 3162 0 = /dev/osd0 First OSD Device
3157 1 = /dev/osd1 Second OSD Device 3163 1 = /dev/osd1 Second OSD Device
3158 ... 3164 ...
3159 255 = /dev/osd255 256th OSD Device 3165 255 = /dev/osd255 256th OSD Device
3160 3166
3161 **** ADDITIONAL /dev DIRECTORY ENTRIES 3167 **** ADDITIONAL /dev DIRECTORY ENTRIES
3162 3168
3163 This section details additional entries that should or may exist in 3169 This section details additional entries that should or may exist in
3164 the /dev directory. It is preferred that symbolic links use the same 3170 the /dev directory. It is preferred that symbolic links use the same
3165 form (absolute or relative) as is indicated here. Links are 3171 form (absolute or relative) as is indicated here. Links are
3166 classified as "hard" or "symbolic" depending on the preferred type of 3172 classified as "hard" or "symbolic" depending on the preferred type of
3167 link; if possible, the indicated type of link should be used. 3173 link; if possible, the indicated type of link should be used.
3168 3174
3169 3175
3170 Compulsory links 3176 Compulsory links
3171 3177
3172 These links should exist on all systems: 3178 These links should exist on all systems:
3173 3179
3174 /dev/fd /proc/self/fd symbolic File descriptors 3180 /dev/fd /proc/self/fd symbolic File descriptors
3175 /dev/stdin fd/0 symbolic stdin file descriptor 3181 /dev/stdin fd/0 symbolic stdin file descriptor
3176 /dev/stdout fd/1 symbolic stdout file descriptor 3182 /dev/stdout fd/1 symbolic stdout file descriptor
3177 /dev/stderr fd/2 symbolic stderr file descriptor 3183 /dev/stderr fd/2 symbolic stderr file descriptor
3178 /dev/nfsd socksys symbolic Required by iBCS-2 3184 /dev/nfsd socksys symbolic Required by iBCS-2
3179 /dev/X0R null symbolic Required by iBCS-2 3185 /dev/X0R null symbolic Required by iBCS-2
3180 3186
3181 Note: /dev/X0R is <letter X>-<digit 0>-<letter R>. 3187 Note: /dev/X0R is <letter X>-<digit 0>-<letter R>.
3182 3188
3183 Recommended links 3189 Recommended links
3184 3190
3185 It is recommended that these links exist on all systems: 3191 It is recommended that these links exist on all systems:
3186 3192
3187 /dev/core /proc/kcore symbolic Backward compatibility 3193 /dev/core /proc/kcore symbolic Backward compatibility
3188 /dev/ramdisk ram0 symbolic Backward compatibility 3194 /dev/ramdisk ram0 symbolic Backward compatibility
3189 /dev/ftape qft0 symbolic Backward compatibility 3195 /dev/ftape qft0 symbolic Backward compatibility
3190 /dev/bttv0 video0 symbolic Backward compatibility 3196 /dev/bttv0 video0 symbolic Backward compatibility
3191 /dev/radio radio0 symbolic Backward compatibility 3197 /dev/radio radio0 symbolic Backward compatibility
3192 /dev/i2o* /dev/i2o/* symbolic Backward compatibility 3198 /dev/i2o* /dev/i2o/* symbolic Backward compatibility
3193 /dev/scd? sr? hard Alternate SCSI CD-ROM name 3199 /dev/scd? sr? hard Alternate SCSI CD-ROM name
3194 3200
3195 Locally defined links 3201 Locally defined links
3196 3202
3197 The following links may be established locally to conform to the 3203 The following links may be established locally to conform to the
3198 configuration of the system. This is merely a tabulation of existing 3204 configuration of the system. This is merely a tabulation of existing
3199 practice, and does not constitute a recommendation. However, if they 3205 practice, and does not constitute a recommendation. However, if they
3200 exist, they should have the following uses. 3206 exist, they should have the following uses.
3201 3207
3202 /dev/mouse mouse port symbolic Current mouse device 3208 /dev/mouse mouse port symbolic Current mouse device
3203 /dev/tape tape device symbolic Current tape device 3209 /dev/tape tape device symbolic Current tape device
3204 /dev/cdrom CD-ROM device symbolic Current CD-ROM device 3210 /dev/cdrom CD-ROM device symbolic Current CD-ROM device
3205 /dev/cdwriter CD-writer symbolic Current CD-writer device 3211 /dev/cdwriter CD-writer symbolic Current CD-writer device
3206 /dev/scanner scanner symbolic Current scanner device 3212 /dev/scanner scanner symbolic Current scanner device
3207 /dev/modem modem port symbolic Current dialout device 3213 /dev/modem modem port symbolic Current dialout device
3208 /dev/root root device symbolic Current root filesystem 3214 /dev/root root device symbolic Current root filesystem
3209 /dev/swap swap device symbolic Current swap device 3215 /dev/swap swap device symbolic Current swap device
3210 3216
3211 /dev/modem should not be used for a modem which supports dialin as 3217 /dev/modem should not be used for a modem which supports dialin as
3212 well as dialout, as it tends to cause lock file problems. If it 3218 well as dialout, as it tends to cause lock file problems. If it
3213 exists, /dev/modem should point to the appropriate primary TTY device 3219 exists, /dev/modem should point to the appropriate primary TTY device
3214 (the use of the alternate callout devices is deprecated). 3220 (the use of the alternate callout devices is deprecated).
3215 3221
3216 For SCSI devices, /dev/tape and /dev/cdrom should point to the 3222 For SCSI devices, /dev/tape and /dev/cdrom should point to the
3217 ``cooked'' devices (/dev/st* and /dev/sr*, respectively), whereas 3223 ``cooked'' devices (/dev/st* and /dev/sr*, respectively), whereas
3218 /dev/cdwriter and /dev/scanner should point to the appropriate generic 3224 /dev/cdwriter and /dev/scanner should point to the appropriate generic
3219 SCSI devices (/dev/sg*). 3225 SCSI devices (/dev/sg*).
3220 3226
3221 /dev/mouse may point to a primary serial TTY device, a hardware mouse 3227 /dev/mouse may point to a primary serial TTY device, a hardware mouse
3222 device, or a socket for a mouse driver program (e.g. /dev/gpmdata). 3228 device, or a socket for a mouse driver program (e.g. /dev/gpmdata).
3223 3229
3224 Sockets and pipes 3230 Sockets and pipes
3225 3231
3226 Non-transient sockets and named pipes may exist in /dev. Common entries are: 3232 Non-transient sockets and named pipes may exist in /dev. Common entries are:
3227 3233
3228 /dev/printer socket lpd local socket 3234 /dev/printer socket lpd local socket
3229 /dev/log socket syslog local socket 3235 /dev/log socket syslog local socket
3230 /dev/gpmdata socket gpm mouse multiplexer 3236 /dev/gpmdata socket gpm mouse multiplexer
3231 3237
3232 Mount points 3238 Mount points
3233 3239
3234 The following names are reserved for mounting special filesystems 3240 The following names are reserved for mounting special filesystems
3235 under /dev. These special filesystems provide kernel interfaces that 3241 under /dev. These special filesystems provide kernel interfaces that
3236 cannot be provided with standard device nodes. 3242 cannot be provided with standard device nodes.
3237 3243
3238 /dev/pts devpts PTY slave filesystem 3244 /dev/pts devpts PTY slave filesystem
3239 /dev/shm tmpfs POSIX shared memory maintenance access 3245 /dev/shm tmpfs POSIX shared memory maintenance access
3240 3246
3241 **** TERMINAL DEVICES 3247 **** TERMINAL DEVICES
3242 3248
3243 Terminal, or TTY devices are a special class of character devices. A 3249 Terminal, or TTY devices are a special class of character devices. A
3244 terminal device is any device that could act as a controlling terminal 3250 terminal device is any device that could act as a controlling terminal
3245 for a session; this includes virtual consoles, serial ports, and 3251 for a session; this includes virtual consoles, serial ports, and
3246 pseudoterminals (PTYs). 3252 pseudoterminals (PTYs).
3247 3253
3248 All terminal devices share a common set of capabilities known as line 3254 All terminal devices share a common set of capabilities known as line
3249 disciplines; these include the common terminal line discipline as well 3255 disciplines; these include the common terminal line discipline as well
3250 as SLIP and PPP modes. 3256 as SLIP and PPP modes.
3251 3257
3252 All terminal devices are named similarly; this section explains the 3258 All terminal devices are named similarly; this section explains the
3253 naming and use of the various types of TTYs. Note that the naming 3259 naming and use of the various types of TTYs. Note that the naming
3254 conventions include several historical warts; some of these are 3260 conventions include several historical warts; some of these are
3255 Linux-specific, some were inherited from other systems, and some 3261 Linux-specific, some were inherited from other systems, and some
3256 reflect Linux outgrowing a borrowed convention. 3262 reflect Linux outgrowing a borrowed convention.
3257 3263
3258 A hash mark (#) in a device name is used here to indicate a decimal 3264 A hash mark (#) in a device name is used here to indicate a decimal
3259 number without leading zeroes. 3265 number without leading zeroes.
3260 3266
3261 Virtual consoles and the console device 3267 Virtual consoles and the console device
3262 3268
3263 Virtual consoles are full-screen terminal displays on the system video 3269 Virtual consoles are full-screen terminal displays on the system video
3264 monitor. Virtual consoles are named /dev/tty#, with numbering 3270 monitor. Virtual consoles are named /dev/tty#, with numbering
3265 starting at /dev/tty1; /dev/tty0 is the current virtual console. 3271 starting at /dev/tty1; /dev/tty0 is the current virtual console.
3266 /dev/tty0 is the device that should be used to access the system video 3272 /dev/tty0 is the device that should be used to access the system video
3267 card on those architectures for which the frame buffer devices 3273 card on those architectures for which the frame buffer devices
3268 (/dev/fb*) are not applicable. Do not use /dev/console 3274 (/dev/fb*) are not applicable. Do not use /dev/console
3269 for this purpose. 3275 for this purpose.
3270 3276
3271 The console device, /dev/console, is the device to which system 3277 The console device, /dev/console, is the device to which system
3272 messages should be sent, and on which logins should be permitted in 3278 messages should be sent, and on which logins should be permitted in
3273 single-user mode. Starting with Linux 2.1.71, /dev/console is managed 3279 single-user mode. Starting with Linux 2.1.71, /dev/console is managed
3274 by the kernel; for previous versions it should be a symbolic link to 3280 by the kernel; for previous versions it should be a symbolic link to
3275 either /dev/tty0, a specific virtual console such as /dev/tty1, or to 3281 either /dev/tty0, a specific virtual console such as /dev/tty1, or to
3276 a serial port primary (tty*, not cu*) device, depending on the 3282 a serial port primary (tty*, not cu*) device, depending on the
3277 configuration of the system. 3283 configuration of the system.
3278 3284
3279 Serial ports 3285 Serial ports
3280 3286
3281 Serial ports are RS-232 serial ports and any device which simulates 3287 Serial ports are RS-232 serial ports and any device which simulates
3282 one, either in hardware (such as internal modems) or in software (such 3288 one, either in hardware (such as internal modems) or in software (such
3283 as the ISDN driver.) Under Linux, each serial ports has two device 3289 as the ISDN driver.) Under Linux, each serial ports has two device
3284 names, the primary or callin device and the alternate or callout one. 3290 names, the primary or callin device and the alternate or callout one.
3285 Each kind of device is indicated by a different letter. For any 3291 Each kind of device is indicated by a different letter. For any
3286 letter X, the names of the devices are /dev/ttyX# and /dev/cux#, 3292 letter X, the names of the devices are /dev/ttyX# and /dev/cux#,
3287 respectively; for historical reasons, /dev/ttyS# and /dev/ttyC# 3293 respectively; for historical reasons, /dev/ttyS# and /dev/ttyC#
3288 correspond to /dev/cua# and /dev/cub#. In the future, it should be 3294 correspond to /dev/cua# and /dev/cub#. In the future, it should be
3289 expected that multiple letters will be used; all letters will be upper 3295 expected that multiple letters will be used; all letters will be upper
3290 case for the "tty" device (e.g. /dev/ttyDP#) and lower case for the 3296 case for the "tty" device (e.g. /dev/ttyDP#) and lower case for the
3291 "cu" device (e.g. /dev/cudp#). 3297 "cu" device (e.g. /dev/cudp#).
3292 3298
3293 The names /dev/ttyQ# and /dev/cuq# are reserved for local use. 3299 The names /dev/ttyQ# and /dev/cuq# are reserved for local use.
3294 3300
3295 The alternate devices provide for kernel-based exclusion and somewhat 3301 The alternate devices provide for kernel-based exclusion and somewhat
3296 different defaults than the primary devices. Their main purpose is to 3302 different defaults than the primary devices. Their main purpose is to
3297 allow the use of serial ports with programs with no inherent or broken 3303 allow the use of serial ports with programs with no inherent or broken
3298 support for serial ports. Their use is deprecated, and they may be 3304 support for serial ports. Their use is deprecated, and they may be
3299 removed from a future version of Linux. 3305 removed from a future version of Linux.
3300 3306
3301 Arbitration of serial ports is provided by the use of lock files with 3307 Arbitration of serial ports is provided by the use of lock files with
3302 the names /var/lock/LCK..ttyX#. The contents of the lock file should 3308 the names /var/lock/LCK..ttyX#. The contents of the lock file should
3303 be the PID of the locking process as an ASCII number. 3309 be the PID of the locking process as an ASCII number.
3304 3310
3305 It is common practice to install links such as /dev/modem 3311 It is common practice to install links such as /dev/modem
3306 which point to serial ports. In order to ensure proper locking in the 3312 which point to serial ports. In order to ensure proper locking in the
3307 presence of these links, it is recommended that software chase 3313 presence of these links, it is recommended that software chase
3308 symlinks and lock all possible names; additionally, it is recommended 3314 symlinks and lock all possible names; additionally, it is recommended
3309 that a lock file be installed with the corresponding alternate 3315 that a lock file be installed with the corresponding alternate
3310 device. In order to avoid deadlocks, it is recommended that the locks 3316 device. In order to avoid deadlocks, it is recommended that the locks
3311 are acquired in the following order, and released in the reverse: 3317 are acquired in the following order, and released in the reverse:
3312 3318
3313 1. The symbolic link name, if any (/var/lock/LCK..modem) 3319 1. The symbolic link name, if any (/var/lock/LCK..modem)
3314 2. The "tty" name (/var/lock/LCK..ttyS2) 3320 2. The "tty" name (/var/lock/LCK..ttyS2)
3315 3. The alternate device name (/var/lock/LCK..cua2) 3321 3. The alternate device name (/var/lock/LCK..cua2)
3316 3322
3317 In the case of nested symbolic links, the lock files should be 3323 In the case of nested symbolic links, the lock files should be
3318 installed in the order the symlinks are resolved. 3324 installed in the order the symlinks are resolved.
3319 3325
3320 Under no circumstances should an application hold a lock while waiting 3326 Under no circumstances should an application hold a lock while waiting
3321 for another to be released. In addition, applications which attempt 3327 for another to be released. In addition, applications which attempt
3322 to create lock files for the corresponding alternate device names 3328 to create lock files for the corresponding alternate device names
3323 should take into account the possibility of being used on a non-serial 3329 should take into account the possibility of being used on a non-serial
3324 port TTY, for which no alternate device would exist. 3330 port TTY, for which no alternate device would exist.
3325 3331
3326 Pseudoterminals (PTYs) 3332 Pseudoterminals (PTYs)
3327 3333
3328 Pseudoterminals, or PTYs, are used to create login sessions or provide 3334 Pseudoterminals, or PTYs, are used to create login sessions or provide
3329 other capabilities requiring a TTY line discipline (including SLIP or 3335 other capabilities requiring a TTY line discipline (including SLIP or
3330 PPP capability) to arbitrary data-generation processes. Each PTY has 3336 PPP capability) to arbitrary data-generation processes. Each PTY has
3331 a master side, named /dev/pty[p-za-e][0-9a-f], and a slave side, named 3337 a master side, named /dev/pty[p-za-e][0-9a-f], and a slave side, named
3332 /dev/tty[p-za-e][0-9a-f]. The kernel arbitrates the use of PTYs by 3338 /dev/tty[p-za-e][0-9a-f]. The kernel arbitrates the use of PTYs by
3333 allowing each master side to be opened only once. 3339 allowing each master side to be opened only once.
3334 3340
3335 Once the master side has been opened, the corresponding slave device 3341 Once the master side has been opened, the corresponding slave device
3336 can be used in the same manner as any TTY device. The master and 3342 can be used in the same manner as any TTY device. The master and
3337 slave devices are connected by the kernel, generating the equivalent 3343 slave devices are connected by the kernel, generating the equivalent
3338 of a bidirectional pipe with TTY capabilities. 3344 of a bidirectional pipe with TTY capabilities.
3339 3345
3340 Recent versions of the Linux kernels and GNU libc contain support for 3346 Recent versions of the Linux kernels and GNU libc contain support for
3341 the System V/Unix98 naming scheme for PTYs, which assigns a common 3347 the System V/Unix98 naming scheme for PTYs, which assigns a common
3342 device, /dev/ptmx, to all the masters (opening it will automatically 3348 device, /dev/ptmx, to all the masters (opening it will automatically
3343 give you a previously unassigned PTY) and a subdirectory, /dev/pts, 3349 give you a previously unassigned PTY) and a subdirectory, /dev/pts,
3344 for the slaves; the slaves are named with decimal integers (/dev/pts/# 3350 for the slaves; the slaves are named with decimal integers (/dev/pts/#
3345 in our notation). This removes the problem of exhausting the 3351 in our notation). This removes the problem of exhausting the
3346 namespace and enables the kernel to automatically create the device 3352 namespace and enables the kernel to automatically create the device
3347 nodes for the slaves on demand using the "devpts" filesystem. 3353 nodes for the slaves on demand using the "devpts" filesystem.
3348 3354
3349 3355
drivers/mmc/card/Kconfig
1 # 1 #
2 # MMC/SD card drivers 2 # MMC/SD card drivers
3 # 3 #
4 4
5 comment "MMC/SD/SDIO Card Drivers" 5 comment "MMC/SD/SDIO Card Drivers"
6 6
7 config MMC_BLOCK 7 config MMC_BLOCK
8 tristate "MMC block device driver" 8 tristate "MMC block device driver"
9 depends on BLOCK 9 depends on BLOCK
10 default y 10 default y
11 help 11 help
12 Say Y here to enable the MMC block device driver support. 12 Say Y here to enable the MMC block device driver support.
13 This provides a block device driver, which you can use to 13 This provides a block device driver, which you can use to
14 mount the filesystem. Almost everyone wishing MMC support 14 mount the filesystem. Almost everyone wishing MMC support
15 should say Y or M here. 15 should say Y or M here.
16 16
17 config MMC_BLOCK_MINORS
18 int "Number of minors per block device"
19 range 4 256
20 default 8
21 help
22 Number of minors per block device. One is needed for every
23 partition on the disk (plus one for the whole disk).
24
25 Number of total MMC minors available is 256, so your number
26 of supported block devices will be limited to 256 divided
27 by this number.
28
29 Default is 8 to be backwards compatible with previous
30 hardwired device numbering.
31
32 If unsure, say 8 here.
33
17 config MMC_BLOCK_BOUNCE 34 config MMC_BLOCK_BOUNCE
18 bool "Use bounce buffer for simple hosts" 35 bool "Use bounce buffer for simple hosts"
19 depends on MMC_BLOCK 36 depends on MMC_BLOCK
20 default y 37 default y
21 help 38 help
22 SD/MMC is a high latency protocol where it is crucial to 39 SD/MMC is a high latency protocol where it is crucial to
23 send large requests in order to get high performance. Many 40 send large requests in order to get high performance. Many
24 controllers, however, are restricted to continuous memory 41 controllers, however, are restricted to continuous memory
25 (i.e. they can't do scatter-gather), something the kernel 42 (i.e. they can't do scatter-gather), something the kernel
26 rarely can provide. 43 rarely can provide.
27 44
28 Say Y here to help these restricted hosts by bouncing 45 Say Y here to help these restricted hosts by bouncing
29 requests back and forth from a large buffer. You will get 46 requests back and forth from a large buffer. You will get
30 a big performance gain at the cost of up to 64 KiB of 47 a big performance gain at the cost of up to 64 KiB of
31 physical memory. 48 physical memory.
32 49
33 If unsure, say Y here. 50 If unsure, say Y here.
34 51
35 config SDIO_UART 52 config SDIO_UART
36 tristate "SDIO UART/GPS class support" 53 tristate "SDIO UART/GPS class support"
37 help 54 help
38 SDIO function driver for SDIO cards that implements the UART 55 SDIO function driver for SDIO cards that implements the UART
39 class, as well as the GPS class which appears like a UART. 56 class, as well as the GPS class which appears like a UART.
40 57
41 config MMC_TEST 58 config MMC_TEST
42 tristate "MMC host test driver" 59 tristate "MMC host test driver"
43 default n 60 default n
44 help 61 help
45 Development driver that performs a series of reads and writes 62 Development driver that performs a series of reads and writes
46 to a memory card in order to expose certain well known bugs 63 to a memory card in order to expose certain well known bugs
47 in host controllers. The tests are executed by writing to the 64 in host controllers. The tests are executed by writing to the
48 "test" file in sysfs under each card. Note that whatever is 65 "test" file in sysfs under each card. Note that whatever is
49 on your card will be overwritten by these tests. 66 on your card will be overwritten by these tests.
50 67
51 This driver is only of interest to those developing or 68 This driver is only of interest to those developing or
52 testing a host driver. Most people should say N here. 69 testing a host driver. Most people should say N here.
53 70
drivers/mmc/card/block.c
1 /* 1 /*
2 * Block driver for media (i.e., flash cards) 2 * Block driver for media (i.e., flash cards)
3 * 3 *
4 * Copyright 2002 Hewlett-Packard Company 4 * Copyright 2002 Hewlett-Packard Company
5 * Copyright 2005-2008 Pierre Ossman 5 * Copyright 2005-2008 Pierre Ossman
6 * 6 *
7 * Use consistent with the GNU GPL is permitted, 7 * Use consistent with the GNU GPL is permitted,
8 * provided that this copyright notice is 8 * provided that this copyright notice is
9 * preserved in its entirety in all copies and derived works. 9 * preserved in its entirety in all copies and derived works.
10 * 10 *
11 * HEWLETT-PACKARD COMPANY MAKES NO WARRANTIES, EXPRESSED OR IMPLIED, 11 * HEWLETT-PACKARD COMPANY MAKES NO WARRANTIES, EXPRESSED OR IMPLIED,
12 * AS TO THE USEFULNESS OR CORRECTNESS OF THIS CODE OR ITS 12 * AS TO THE USEFULNESS OR CORRECTNESS OF THIS CODE OR ITS
13 * FITNESS FOR ANY PARTICULAR PURPOSE. 13 * FITNESS FOR ANY PARTICULAR PURPOSE.
14 * 14 *
15 * Many thanks to Alessandro Rubini and Jonathan Corbet! 15 * Many thanks to Alessandro Rubini and Jonathan Corbet!
16 * 16 *
17 * Author: Andrew Christian 17 * Author: Andrew Christian
18 * 28 May 2002 18 * 28 May 2002
19 */ 19 */
20 #include <linux/moduleparam.h> 20 #include <linux/moduleparam.h>
21 #include <linux/module.h> 21 #include <linux/module.h>
22 #include <linux/init.h> 22 #include <linux/init.h>
23 23
24 #include <linux/kernel.h> 24 #include <linux/kernel.h>
25 #include <linux/fs.h> 25 #include <linux/fs.h>
26 #include <linux/slab.h> 26 #include <linux/slab.h>
27 #include <linux/errno.h> 27 #include <linux/errno.h>
28 #include <linux/hdreg.h> 28 #include <linux/hdreg.h>
29 #include <linux/kdev_t.h> 29 #include <linux/kdev_t.h>
30 #include <linux/blkdev.h> 30 #include <linux/blkdev.h>
31 #include <linux/mutex.h> 31 #include <linux/mutex.h>
32 #include <linux/scatterlist.h> 32 #include <linux/scatterlist.h>
33 #include <linux/string_helpers.h> 33 #include <linux/string_helpers.h>
34 34
35 #include <linux/mmc/card.h> 35 #include <linux/mmc/card.h>
36 #include <linux/mmc/host.h> 36 #include <linux/mmc/host.h>
37 #include <linux/mmc/mmc.h> 37 #include <linux/mmc/mmc.h>
38 #include <linux/mmc/sd.h> 38 #include <linux/mmc/sd.h>
39 39
40 #include <asm/system.h> 40 #include <asm/system.h>
41 #include <asm/uaccess.h> 41 #include <asm/uaccess.h>
42 42
43 #include "queue.h" 43 #include "queue.h"
44 44
45 MODULE_ALIAS("mmc:block"); 45 MODULE_ALIAS("mmc:block");
46 #ifdef MODULE_PARAM_PREFIX
47 #undef MODULE_PARAM_PREFIX
48 #endif
49 #define MODULE_PARAM_PREFIX "mmcblk."
46 50
51 static DEFINE_MUTEX(block_mutex);
52
47 /* 53 /*
48 * max 8 partitions per card 54 * The defaults come from config options but can be overriden by module
55 * or bootarg options.
49 */ 56 */
50 #define MMC_SHIFT 3 57 static int perdev_minors = CONFIG_MMC_BLOCK_MINORS;
51 #define MMC_NUM_MINORS (256 >> MMC_SHIFT)
52 58
53 static DEFINE_MUTEX(block_mutex); 59 /*
54 static DECLARE_BITMAP(dev_use, MMC_NUM_MINORS); 60 * We've only got one major, so number of mmcblk devices is
61 * limited to 256 / number of minors per device.
62 */
63 static int max_devices;
55 64
65 /* 256 minors, so at most 256 separate devices */
66 static DECLARE_BITMAP(dev_use, 256);
67
56 /* 68 /*
57 * There is one mmc_blk_data per slot. 69 * There is one mmc_blk_data per slot.
58 */ 70 */
59 struct mmc_blk_data { 71 struct mmc_blk_data {
60 spinlock_t lock; 72 spinlock_t lock;
61 struct gendisk *disk; 73 struct gendisk *disk;
62 struct mmc_queue queue; 74 struct mmc_queue queue;
63 75
64 unsigned int usage; 76 unsigned int usage;
65 unsigned int read_only; 77 unsigned int read_only;
66 }; 78 };
67 79
68 static DEFINE_MUTEX(open_lock); 80 static DEFINE_MUTEX(open_lock);
69 81
82 module_param(perdev_minors, int, 0444);
83 MODULE_PARM_DESC(perdev_minors, "Minors numbers to allocate per device");
84
70 static struct mmc_blk_data *mmc_blk_get(struct gendisk *disk) 85 static struct mmc_blk_data *mmc_blk_get(struct gendisk *disk)
71 { 86 {
72 struct mmc_blk_data *md; 87 struct mmc_blk_data *md;
73 88
74 mutex_lock(&open_lock); 89 mutex_lock(&open_lock);
75 md = disk->private_data; 90 md = disk->private_data;
76 if (md && md->usage == 0) 91 if (md && md->usage == 0)
77 md = NULL; 92 md = NULL;
78 if (md) 93 if (md)
79 md->usage++; 94 md->usage++;
80 mutex_unlock(&open_lock); 95 mutex_unlock(&open_lock);
81 96
82 return md; 97 return md;
83 } 98 }
84 99
85 static void mmc_blk_put(struct mmc_blk_data *md) 100 static void mmc_blk_put(struct mmc_blk_data *md)
86 { 101 {
87 mutex_lock(&open_lock); 102 mutex_lock(&open_lock);
88 md->usage--; 103 md->usage--;
89 if (md->usage == 0) { 104 if (md->usage == 0) {
90 int devmaj = MAJOR(disk_devt(md->disk)); 105 int devmaj = MAJOR(disk_devt(md->disk));
91 int devidx = MINOR(disk_devt(md->disk)) >> MMC_SHIFT; 106 int devidx = MINOR(disk_devt(md->disk)) / perdev_minors;
92 107
93 if (!devmaj) 108 if (!devmaj)
94 devidx = md->disk->first_minor >> MMC_SHIFT; 109 devidx = md->disk->first_minor / perdev_minors;
95 110
96 blk_cleanup_queue(md->queue.queue); 111 blk_cleanup_queue(md->queue.queue);
97 112
98 __clear_bit(devidx, dev_use); 113 __clear_bit(devidx, dev_use);
99 114
100 put_disk(md->disk); 115 put_disk(md->disk);
101 kfree(md); 116 kfree(md);
102 } 117 }
103 mutex_unlock(&open_lock); 118 mutex_unlock(&open_lock);
104 } 119 }
105 120
106 static int mmc_blk_open(struct block_device *bdev, fmode_t mode) 121 static int mmc_blk_open(struct block_device *bdev, fmode_t mode)
107 { 122 {
108 struct mmc_blk_data *md = mmc_blk_get(bdev->bd_disk); 123 struct mmc_blk_data *md = mmc_blk_get(bdev->bd_disk);
109 int ret = -ENXIO; 124 int ret = -ENXIO;
110 125
111 mutex_lock(&block_mutex); 126 mutex_lock(&block_mutex);
112 if (md) { 127 if (md) {
113 if (md->usage == 2) 128 if (md->usage == 2)
114 check_disk_change(bdev); 129 check_disk_change(bdev);
115 ret = 0; 130 ret = 0;
116 131
117 if ((mode & FMODE_WRITE) && md->read_only) { 132 if ((mode & FMODE_WRITE) && md->read_only) {
118 mmc_blk_put(md); 133 mmc_blk_put(md);
119 ret = -EROFS; 134 ret = -EROFS;
120 } 135 }
121 } 136 }
122 mutex_unlock(&block_mutex); 137 mutex_unlock(&block_mutex);
123 138
124 return ret; 139 return ret;
125 } 140 }
126 141
127 static int mmc_blk_release(struct gendisk *disk, fmode_t mode) 142 static int mmc_blk_release(struct gendisk *disk, fmode_t mode)
128 { 143 {
129 struct mmc_blk_data *md = disk->private_data; 144 struct mmc_blk_data *md = disk->private_data;
130 145
131 mutex_lock(&block_mutex); 146 mutex_lock(&block_mutex);
132 mmc_blk_put(md); 147 mmc_blk_put(md);
133 mutex_unlock(&block_mutex); 148 mutex_unlock(&block_mutex);
134 return 0; 149 return 0;
135 } 150 }
136 151
137 static int 152 static int
138 mmc_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo) 153 mmc_blk_getgeo(struct block_device *bdev, struct hd_geometry *geo)
139 { 154 {
140 geo->cylinders = get_capacity(bdev->bd_disk) / (4 * 16); 155 geo->cylinders = get_capacity(bdev->bd_disk) / (4 * 16);
141 geo->heads = 4; 156 geo->heads = 4;
142 geo->sectors = 16; 157 geo->sectors = 16;
143 return 0; 158 return 0;
144 } 159 }
145 160
146 static const struct block_device_operations mmc_bdops = { 161 static const struct block_device_operations mmc_bdops = {
147 .open = mmc_blk_open, 162 .open = mmc_blk_open,
148 .release = mmc_blk_release, 163 .release = mmc_blk_release,
149 .getgeo = mmc_blk_getgeo, 164 .getgeo = mmc_blk_getgeo,
150 .owner = THIS_MODULE, 165 .owner = THIS_MODULE,
151 }; 166 };
152 167
153 struct mmc_blk_request { 168 struct mmc_blk_request {
154 struct mmc_request mrq; 169 struct mmc_request mrq;
155 struct mmc_command cmd; 170 struct mmc_command cmd;
156 struct mmc_command stop; 171 struct mmc_command stop;
157 struct mmc_data data; 172 struct mmc_data data;
158 }; 173 };
159 174
160 static u32 mmc_sd_num_wr_blocks(struct mmc_card *card) 175 static u32 mmc_sd_num_wr_blocks(struct mmc_card *card)
161 { 176 {
162 int err; 177 int err;
163 u32 result; 178 u32 result;
164 __be32 *blocks; 179 __be32 *blocks;
165 180
166 struct mmc_request mrq; 181 struct mmc_request mrq;
167 struct mmc_command cmd; 182 struct mmc_command cmd;
168 struct mmc_data data; 183 struct mmc_data data;
169 unsigned int timeout_us; 184 unsigned int timeout_us;
170 185
171 struct scatterlist sg; 186 struct scatterlist sg;
172 187
173 memset(&cmd, 0, sizeof(struct mmc_command)); 188 memset(&cmd, 0, sizeof(struct mmc_command));
174 189
175 cmd.opcode = MMC_APP_CMD; 190 cmd.opcode = MMC_APP_CMD;
176 cmd.arg = card->rca << 16; 191 cmd.arg = card->rca << 16;
177 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_AC; 192 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_AC;
178 193
179 err = mmc_wait_for_cmd(card->host, &cmd, 0); 194 err = mmc_wait_for_cmd(card->host, &cmd, 0);
180 if (err) 195 if (err)
181 return (u32)-1; 196 return (u32)-1;
182 if (!mmc_host_is_spi(card->host) && !(cmd.resp[0] & R1_APP_CMD)) 197 if (!mmc_host_is_spi(card->host) && !(cmd.resp[0] & R1_APP_CMD))
183 return (u32)-1; 198 return (u32)-1;
184 199
185 memset(&cmd, 0, sizeof(struct mmc_command)); 200 memset(&cmd, 0, sizeof(struct mmc_command));
186 201
187 cmd.opcode = SD_APP_SEND_NUM_WR_BLKS; 202 cmd.opcode = SD_APP_SEND_NUM_WR_BLKS;
188 cmd.arg = 0; 203 cmd.arg = 0;
189 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_ADTC; 204 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_ADTC;
190 205
191 memset(&data, 0, sizeof(struct mmc_data)); 206 memset(&data, 0, sizeof(struct mmc_data));
192 207
193 data.timeout_ns = card->csd.tacc_ns * 100; 208 data.timeout_ns = card->csd.tacc_ns * 100;
194 data.timeout_clks = card->csd.tacc_clks * 100; 209 data.timeout_clks = card->csd.tacc_clks * 100;
195 210
196 timeout_us = data.timeout_ns / 1000; 211 timeout_us = data.timeout_ns / 1000;
197 timeout_us += data.timeout_clks * 1000 / 212 timeout_us += data.timeout_clks * 1000 /
198 (card->host->ios.clock / 1000); 213 (card->host->ios.clock / 1000);
199 214
200 if (timeout_us > 100000) { 215 if (timeout_us > 100000) {
201 data.timeout_ns = 100000000; 216 data.timeout_ns = 100000000;
202 data.timeout_clks = 0; 217 data.timeout_clks = 0;
203 } 218 }
204 219
205 data.blksz = 4; 220 data.blksz = 4;
206 data.blocks = 1; 221 data.blocks = 1;
207 data.flags = MMC_DATA_READ; 222 data.flags = MMC_DATA_READ;
208 data.sg = &sg; 223 data.sg = &sg;
209 data.sg_len = 1; 224 data.sg_len = 1;
210 225
211 memset(&mrq, 0, sizeof(struct mmc_request)); 226 memset(&mrq, 0, sizeof(struct mmc_request));
212 227
213 mrq.cmd = &cmd; 228 mrq.cmd = &cmd;
214 mrq.data = &data; 229 mrq.data = &data;
215 230
216 blocks = kmalloc(4, GFP_KERNEL); 231 blocks = kmalloc(4, GFP_KERNEL);
217 if (!blocks) 232 if (!blocks)
218 return (u32)-1; 233 return (u32)-1;
219 234
220 sg_init_one(&sg, blocks, 4); 235 sg_init_one(&sg, blocks, 4);
221 236
222 mmc_wait_for_req(card->host, &mrq); 237 mmc_wait_for_req(card->host, &mrq);
223 238
224 result = ntohl(*blocks); 239 result = ntohl(*blocks);
225 kfree(blocks); 240 kfree(blocks);
226 241
227 if (cmd.error || data.error) 242 if (cmd.error || data.error)
228 result = (u32)-1; 243 result = (u32)-1;
229 244
230 return result; 245 return result;
231 } 246 }
232 247
233 static u32 get_card_status(struct mmc_card *card, struct request *req) 248 static u32 get_card_status(struct mmc_card *card, struct request *req)
234 { 249 {
235 struct mmc_command cmd; 250 struct mmc_command cmd;
236 int err; 251 int err;
237 252
238 memset(&cmd, 0, sizeof(struct mmc_command)); 253 memset(&cmd, 0, sizeof(struct mmc_command));
239 cmd.opcode = MMC_SEND_STATUS; 254 cmd.opcode = MMC_SEND_STATUS;
240 if (!mmc_host_is_spi(card->host)) 255 if (!mmc_host_is_spi(card->host))
241 cmd.arg = card->rca << 16; 256 cmd.arg = card->rca << 16;
242 cmd.flags = MMC_RSP_SPI_R2 | MMC_RSP_R1 | MMC_CMD_AC; 257 cmd.flags = MMC_RSP_SPI_R2 | MMC_RSP_R1 | MMC_CMD_AC;
243 err = mmc_wait_for_cmd(card->host, &cmd, 0); 258 err = mmc_wait_for_cmd(card->host, &cmd, 0);
244 if (err) 259 if (err)
245 printk(KERN_ERR "%s: error %d sending status comand", 260 printk(KERN_ERR "%s: error %d sending status comand",
246 req->rq_disk->disk_name, err); 261 req->rq_disk->disk_name, err);
247 return cmd.resp[0]; 262 return cmd.resp[0];
248 } 263 }
249 264
250 static int mmc_blk_issue_discard_rq(struct mmc_queue *mq, struct request *req) 265 static int mmc_blk_issue_discard_rq(struct mmc_queue *mq, struct request *req)
251 { 266 {
252 struct mmc_blk_data *md = mq->data; 267 struct mmc_blk_data *md = mq->data;
253 struct mmc_card *card = md->queue.card; 268 struct mmc_card *card = md->queue.card;
254 unsigned int from, nr, arg; 269 unsigned int from, nr, arg;
255 int err = 0; 270 int err = 0;
256 271
257 mmc_claim_host(card->host); 272 mmc_claim_host(card->host);
258 273
259 if (!mmc_can_erase(card)) { 274 if (!mmc_can_erase(card)) {
260 err = -EOPNOTSUPP; 275 err = -EOPNOTSUPP;
261 goto out; 276 goto out;
262 } 277 }
263 278
264 from = blk_rq_pos(req); 279 from = blk_rq_pos(req);
265 nr = blk_rq_sectors(req); 280 nr = blk_rq_sectors(req);
266 281
267 if (mmc_can_trim(card)) 282 if (mmc_can_trim(card))
268 arg = MMC_TRIM_ARG; 283 arg = MMC_TRIM_ARG;
269 else 284 else
270 arg = MMC_ERASE_ARG; 285 arg = MMC_ERASE_ARG;
271 286
272 err = mmc_erase(card, from, nr, arg); 287 err = mmc_erase(card, from, nr, arg);
273 out: 288 out:
274 spin_lock_irq(&md->lock); 289 spin_lock_irq(&md->lock);
275 __blk_end_request(req, err, blk_rq_bytes(req)); 290 __blk_end_request(req, err, blk_rq_bytes(req));
276 spin_unlock_irq(&md->lock); 291 spin_unlock_irq(&md->lock);
277 292
278 mmc_release_host(card->host); 293 mmc_release_host(card->host);
279 294
280 return err ? 0 : 1; 295 return err ? 0 : 1;
281 } 296 }
282 297
283 static int mmc_blk_issue_secdiscard_rq(struct mmc_queue *mq, 298 static int mmc_blk_issue_secdiscard_rq(struct mmc_queue *mq,
284 struct request *req) 299 struct request *req)
285 { 300 {
286 struct mmc_blk_data *md = mq->data; 301 struct mmc_blk_data *md = mq->data;
287 struct mmc_card *card = md->queue.card; 302 struct mmc_card *card = md->queue.card;
288 unsigned int from, nr, arg; 303 unsigned int from, nr, arg;
289 int err = 0; 304 int err = 0;
290 305
291 mmc_claim_host(card->host); 306 mmc_claim_host(card->host);
292 307
293 if (!mmc_can_secure_erase_trim(card)) { 308 if (!mmc_can_secure_erase_trim(card)) {
294 err = -EOPNOTSUPP; 309 err = -EOPNOTSUPP;
295 goto out; 310 goto out;
296 } 311 }
297 312
298 from = blk_rq_pos(req); 313 from = blk_rq_pos(req);
299 nr = blk_rq_sectors(req); 314 nr = blk_rq_sectors(req);
300 315
301 if (mmc_can_trim(card) && !mmc_erase_group_aligned(card, from, nr)) 316 if (mmc_can_trim(card) && !mmc_erase_group_aligned(card, from, nr))
302 arg = MMC_SECURE_TRIM1_ARG; 317 arg = MMC_SECURE_TRIM1_ARG;
303 else 318 else
304 arg = MMC_SECURE_ERASE_ARG; 319 arg = MMC_SECURE_ERASE_ARG;
305 320
306 err = mmc_erase(card, from, nr, arg); 321 err = mmc_erase(card, from, nr, arg);
307 if (!err && arg == MMC_SECURE_TRIM1_ARG) 322 if (!err && arg == MMC_SECURE_TRIM1_ARG)
308 err = mmc_erase(card, from, nr, MMC_SECURE_TRIM2_ARG); 323 err = mmc_erase(card, from, nr, MMC_SECURE_TRIM2_ARG);
309 out: 324 out:
310 spin_lock_irq(&md->lock); 325 spin_lock_irq(&md->lock);
311 __blk_end_request(req, err, blk_rq_bytes(req)); 326 __blk_end_request(req, err, blk_rq_bytes(req));
312 spin_unlock_irq(&md->lock); 327 spin_unlock_irq(&md->lock);
313 328
314 mmc_release_host(card->host); 329 mmc_release_host(card->host);
315 330
316 return err ? 0 : 1; 331 return err ? 0 : 1;
317 } 332 }
318 333
319 static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *req) 334 static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *req)
320 { 335 {
321 struct mmc_blk_data *md = mq->data; 336 struct mmc_blk_data *md = mq->data;
322 struct mmc_card *card = md->queue.card; 337 struct mmc_card *card = md->queue.card;
323 struct mmc_blk_request brq; 338 struct mmc_blk_request brq;
324 int ret = 1, disable_multi = 0; 339 int ret = 1, disable_multi = 0;
325 340
326 mmc_claim_host(card->host); 341 mmc_claim_host(card->host);
327 342
328 do { 343 do {
329 struct mmc_command cmd; 344 struct mmc_command cmd;
330 u32 readcmd, writecmd, status = 0; 345 u32 readcmd, writecmd, status = 0;
331 346
332 memset(&brq, 0, sizeof(struct mmc_blk_request)); 347 memset(&brq, 0, sizeof(struct mmc_blk_request));
333 brq.mrq.cmd = &brq.cmd; 348 brq.mrq.cmd = &brq.cmd;
334 brq.mrq.data = &brq.data; 349 brq.mrq.data = &brq.data;
335 350
336 brq.cmd.arg = blk_rq_pos(req); 351 brq.cmd.arg = blk_rq_pos(req);
337 if (!mmc_card_blockaddr(card)) 352 if (!mmc_card_blockaddr(card))
338 brq.cmd.arg <<= 9; 353 brq.cmd.arg <<= 9;
339 brq.cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_ADTC; 354 brq.cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_ADTC;
340 brq.data.blksz = 512; 355 brq.data.blksz = 512;
341 brq.stop.opcode = MMC_STOP_TRANSMISSION; 356 brq.stop.opcode = MMC_STOP_TRANSMISSION;
342 brq.stop.arg = 0; 357 brq.stop.arg = 0;
343 brq.stop.flags = MMC_RSP_SPI_R1B | MMC_RSP_R1B | MMC_CMD_AC; 358 brq.stop.flags = MMC_RSP_SPI_R1B | MMC_RSP_R1B | MMC_CMD_AC;
344 brq.data.blocks = blk_rq_sectors(req); 359 brq.data.blocks = blk_rq_sectors(req);
345 360
346 /* 361 /*
347 * The block layer doesn't support all sector count 362 * The block layer doesn't support all sector count
348 * restrictions, so we need to be prepared for too big 363 * restrictions, so we need to be prepared for too big
349 * requests. 364 * requests.
350 */ 365 */
351 if (brq.data.blocks > card->host->max_blk_count) 366 if (brq.data.blocks > card->host->max_blk_count)
352 brq.data.blocks = card->host->max_blk_count; 367 brq.data.blocks = card->host->max_blk_count;
353 368
354 /* 369 /*
355 * After a read error, we redo the request one sector at a time 370 * After a read error, we redo the request one sector at a time
356 * in order to accurately determine which sectors can be read 371 * in order to accurately determine which sectors can be read
357 * successfully. 372 * successfully.
358 */ 373 */
359 if (disable_multi && brq.data.blocks > 1) 374 if (disable_multi && brq.data.blocks > 1)
360 brq.data.blocks = 1; 375 brq.data.blocks = 1;
361 376
362 if (brq.data.blocks > 1) { 377 if (brq.data.blocks > 1) {
363 /* SPI multiblock writes terminate using a special 378 /* SPI multiblock writes terminate using a special
364 * token, not a STOP_TRANSMISSION request. 379 * token, not a STOP_TRANSMISSION request.
365 */ 380 */
366 if (!mmc_host_is_spi(card->host) 381 if (!mmc_host_is_spi(card->host)
367 || rq_data_dir(req) == READ) 382 || rq_data_dir(req) == READ)
368 brq.mrq.stop = &brq.stop; 383 brq.mrq.stop = &brq.stop;
369 readcmd = MMC_READ_MULTIPLE_BLOCK; 384 readcmd = MMC_READ_MULTIPLE_BLOCK;
370 writecmd = MMC_WRITE_MULTIPLE_BLOCK; 385 writecmd = MMC_WRITE_MULTIPLE_BLOCK;
371 } else { 386 } else {
372 brq.mrq.stop = NULL; 387 brq.mrq.stop = NULL;
373 readcmd = MMC_READ_SINGLE_BLOCK; 388 readcmd = MMC_READ_SINGLE_BLOCK;
374 writecmd = MMC_WRITE_BLOCK; 389 writecmd = MMC_WRITE_BLOCK;
375 } 390 }
376 if (rq_data_dir(req) == READ) { 391 if (rq_data_dir(req) == READ) {
377 brq.cmd.opcode = readcmd; 392 brq.cmd.opcode = readcmd;
378 brq.data.flags |= MMC_DATA_READ; 393 brq.data.flags |= MMC_DATA_READ;
379 } else { 394 } else {
380 brq.cmd.opcode = writecmd; 395 brq.cmd.opcode = writecmd;
381 brq.data.flags |= MMC_DATA_WRITE; 396 brq.data.flags |= MMC_DATA_WRITE;
382 } 397 }
383 398
384 mmc_set_data_timeout(&brq.data, card); 399 mmc_set_data_timeout(&brq.data, card);
385 400
386 brq.data.sg = mq->sg; 401 brq.data.sg = mq->sg;
387 brq.data.sg_len = mmc_queue_map_sg(mq); 402 brq.data.sg_len = mmc_queue_map_sg(mq);
388 403
389 /* 404 /*
390 * Adjust the sg list so it is the same size as the 405 * Adjust the sg list so it is the same size as the
391 * request. 406 * request.
392 */ 407 */
393 if (brq.data.blocks != blk_rq_sectors(req)) { 408 if (brq.data.blocks != blk_rq_sectors(req)) {
394 int i, data_size = brq.data.blocks << 9; 409 int i, data_size = brq.data.blocks << 9;
395 struct scatterlist *sg; 410 struct scatterlist *sg;
396 411
397 for_each_sg(brq.data.sg, sg, brq.data.sg_len, i) { 412 for_each_sg(brq.data.sg, sg, brq.data.sg_len, i) {
398 data_size -= sg->length; 413 data_size -= sg->length;
399 if (data_size <= 0) { 414 if (data_size <= 0) {
400 sg->length += data_size; 415 sg->length += data_size;
401 i++; 416 i++;
402 break; 417 break;
403 } 418 }
404 } 419 }
405 brq.data.sg_len = i; 420 brq.data.sg_len = i;
406 } 421 }
407 422
408 mmc_queue_bounce_pre(mq); 423 mmc_queue_bounce_pre(mq);
409 424
410 mmc_wait_for_req(card->host, &brq.mrq); 425 mmc_wait_for_req(card->host, &brq.mrq);
411 426
412 mmc_queue_bounce_post(mq); 427 mmc_queue_bounce_post(mq);
413 428
414 /* 429 /*
415 * Check for errors here, but don't jump to cmd_err 430 * Check for errors here, but don't jump to cmd_err
416 * until later as we need to wait for the card to leave 431 * until later as we need to wait for the card to leave
417 * programming mode even when things go wrong. 432 * programming mode even when things go wrong.
418 */ 433 */
419 if (brq.cmd.error || brq.data.error || brq.stop.error) { 434 if (brq.cmd.error || brq.data.error || brq.stop.error) {
420 if (brq.data.blocks > 1 && rq_data_dir(req) == READ) { 435 if (brq.data.blocks > 1 && rq_data_dir(req) == READ) {
421 /* Redo read one sector at a time */ 436 /* Redo read one sector at a time */
422 printk(KERN_WARNING "%s: retrying using single " 437 printk(KERN_WARNING "%s: retrying using single "
423 "block read\n", req->rq_disk->disk_name); 438 "block read\n", req->rq_disk->disk_name);
424 disable_multi = 1; 439 disable_multi = 1;
425 continue; 440 continue;
426 } 441 }
427 status = get_card_status(card, req); 442 status = get_card_status(card, req);
428 } 443 }
429 444
430 if (brq.cmd.error) { 445 if (brq.cmd.error) {
431 printk(KERN_ERR "%s: error %d sending read/write " 446 printk(KERN_ERR "%s: error %d sending read/write "
432 "command, response %#x, card status %#x\n", 447 "command, response %#x, card status %#x\n",
433 req->rq_disk->disk_name, brq.cmd.error, 448 req->rq_disk->disk_name, brq.cmd.error,
434 brq.cmd.resp[0], status); 449 brq.cmd.resp[0], status);
435 } 450 }
436 451
437 if (brq.data.error) { 452 if (brq.data.error) {
438 if (brq.data.error == -ETIMEDOUT && brq.mrq.stop) 453 if (brq.data.error == -ETIMEDOUT && brq.mrq.stop)
439 /* 'Stop' response contains card status */ 454 /* 'Stop' response contains card status */
440 status = brq.mrq.stop->resp[0]; 455 status = brq.mrq.stop->resp[0];
441 printk(KERN_ERR "%s: error %d transferring data," 456 printk(KERN_ERR "%s: error %d transferring data,"
442 " sector %u, nr %u, card status %#x\n", 457 " sector %u, nr %u, card status %#x\n",
443 req->rq_disk->disk_name, brq.data.error, 458 req->rq_disk->disk_name, brq.data.error,
444 (unsigned)blk_rq_pos(req), 459 (unsigned)blk_rq_pos(req),
445 (unsigned)blk_rq_sectors(req), status); 460 (unsigned)blk_rq_sectors(req), status);
446 } 461 }
447 462
448 if (brq.stop.error) { 463 if (brq.stop.error) {
449 printk(KERN_ERR "%s: error %d sending stop command, " 464 printk(KERN_ERR "%s: error %d sending stop command, "
450 "response %#x, card status %#x\n", 465 "response %#x, card status %#x\n",
451 req->rq_disk->disk_name, brq.stop.error, 466 req->rq_disk->disk_name, brq.stop.error,
452 brq.stop.resp[0], status); 467 brq.stop.resp[0], status);
453 } 468 }
454 469
455 if (!mmc_host_is_spi(card->host) && rq_data_dir(req) != READ) { 470 if (!mmc_host_is_spi(card->host) && rq_data_dir(req) != READ) {
456 do { 471 do {
457 int err; 472 int err;
458 473
459 cmd.opcode = MMC_SEND_STATUS; 474 cmd.opcode = MMC_SEND_STATUS;
460 cmd.arg = card->rca << 16; 475 cmd.arg = card->rca << 16;
461 cmd.flags = MMC_RSP_R1 | MMC_CMD_AC; 476 cmd.flags = MMC_RSP_R1 | MMC_CMD_AC;
462 err = mmc_wait_for_cmd(card->host, &cmd, 5); 477 err = mmc_wait_for_cmd(card->host, &cmd, 5);
463 if (err) { 478 if (err) {
464 printk(KERN_ERR "%s: error %d requesting status\n", 479 printk(KERN_ERR "%s: error %d requesting status\n",
465 req->rq_disk->disk_name, err); 480 req->rq_disk->disk_name, err);
466 goto cmd_err; 481 goto cmd_err;
467 } 482 }
468 /* 483 /*
469 * Some cards mishandle the status bits, 484 * Some cards mishandle the status bits,
470 * so make sure to check both the busy 485 * so make sure to check both the busy
471 * indication and the card state. 486 * indication and the card state.
472 */ 487 */
473 } while (!(cmd.resp[0] & R1_READY_FOR_DATA) || 488 } while (!(cmd.resp[0] & R1_READY_FOR_DATA) ||
474 (R1_CURRENT_STATE(cmd.resp[0]) == 7)); 489 (R1_CURRENT_STATE(cmd.resp[0]) == 7));
475 490
476 #if 0 491 #if 0
477 if (cmd.resp[0] & ~0x00000900) 492 if (cmd.resp[0] & ~0x00000900)
478 printk(KERN_ERR "%s: status = %08x\n", 493 printk(KERN_ERR "%s: status = %08x\n",
479 req->rq_disk->disk_name, cmd.resp[0]); 494 req->rq_disk->disk_name, cmd.resp[0]);
480 if (mmc_decode_status(cmd.resp)) 495 if (mmc_decode_status(cmd.resp))
481 goto cmd_err; 496 goto cmd_err;
482 #endif 497 #endif
483 } 498 }
484 499
485 if (brq.cmd.error || brq.stop.error || brq.data.error) { 500 if (brq.cmd.error || brq.stop.error || brq.data.error) {
486 if (rq_data_dir(req) == READ) { 501 if (rq_data_dir(req) == READ) {
487 /* 502 /*
488 * After an error, we redo I/O one sector at a 503 * After an error, we redo I/O one sector at a
489 * time, so we only reach here after trying to 504 * time, so we only reach here after trying to
490 * read a single sector. 505 * read a single sector.
491 */ 506 */
492 spin_lock_irq(&md->lock); 507 spin_lock_irq(&md->lock);
493 ret = __blk_end_request(req, -EIO, brq.data.blksz); 508 ret = __blk_end_request(req, -EIO, brq.data.blksz);
494 spin_unlock_irq(&md->lock); 509 spin_unlock_irq(&md->lock);
495 continue; 510 continue;
496 } 511 }
497 goto cmd_err; 512 goto cmd_err;
498 } 513 }
499 514
500 /* 515 /*
501 * A block was successfully transferred. 516 * A block was successfully transferred.
502 */ 517 */
503 spin_lock_irq(&md->lock); 518 spin_lock_irq(&md->lock);
504 ret = __blk_end_request(req, 0, brq.data.bytes_xfered); 519 ret = __blk_end_request(req, 0, brq.data.bytes_xfered);
505 spin_unlock_irq(&md->lock); 520 spin_unlock_irq(&md->lock);
506 } while (ret); 521 } while (ret);
507 522
508 mmc_release_host(card->host); 523 mmc_release_host(card->host);
509 524
510 return 1; 525 return 1;
511 526
512 cmd_err: 527 cmd_err:
513 /* 528 /*
514 * If this is an SD card and we're writing, we can first 529 * If this is an SD card and we're writing, we can first
515 * mark the known good sectors as ok. 530 * mark the known good sectors as ok.
516 * 531 *
517 * If the card is not SD, we can still ok written sectors 532 * If the card is not SD, we can still ok written sectors
518 * as reported by the controller (which might be less than 533 * as reported by the controller (which might be less than
519 * the real number of written sectors, but never more). 534 * the real number of written sectors, but never more).
520 */ 535 */
521 if (mmc_card_sd(card)) { 536 if (mmc_card_sd(card)) {
522 u32 blocks; 537 u32 blocks;
523 538
524 blocks = mmc_sd_num_wr_blocks(card); 539 blocks = mmc_sd_num_wr_blocks(card);
525 if (blocks != (u32)-1) { 540 if (blocks != (u32)-1) {
526 spin_lock_irq(&md->lock); 541 spin_lock_irq(&md->lock);
527 ret = __blk_end_request(req, 0, blocks << 9); 542 ret = __blk_end_request(req, 0, blocks << 9);
528 spin_unlock_irq(&md->lock); 543 spin_unlock_irq(&md->lock);
529 } 544 }
530 } else { 545 } else {
531 spin_lock_irq(&md->lock); 546 spin_lock_irq(&md->lock);
532 ret = __blk_end_request(req, 0, brq.data.bytes_xfered); 547 ret = __blk_end_request(req, 0, brq.data.bytes_xfered);
533 spin_unlock_irq(&md->lock); 548 spin_unlock_irq(&md->lock);
534 } 549 }
535 550
536 mmc_release_host(card->host); 551 mmc_release_host(card->host);
537 552
538 spin_lock_irq(&md->lock); 553 spin_lock_irq(&md->lock);
539 while (ret) 554 while (ret)
540 ret = __blk_end_request(req, -EIO, blk_rq_cur_bytes(req)); 555 ret = __blk_end_request(req, -EIO, blk_rq_cur_bytes(req));
541 spin_unlock_irq(&md->lock); 556 spin_unlock_irq(&md->lock);
542 557
543 return 0; 558 return 0;
544 } 559 }
545 560
546 static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) 561 static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
547 { 562 {
548 if (req->cmd_flags & REQ_DISCARD) { 563 if (req->cmd_flags & REQ_DISCARD) {
549 if (req->cmd_flags & REQ_SECURE) 564 if (req->cmd_flags & REQ_SECURE)
550 return mmc_blk_issue_secdiscard_rq(mq, req); 565 return mmc_blk_issue_secdiscard_rq(mq, req);
551 else 566 else
552 return mmc_blk_issue_discard_rq(mq, req); 567 return mmc_blk_issue_discard_rq(mq, req);
553 } else { 568 } else {
554 return mmc_blk_issue_rw_rq(mq, req); 569 return mmc_blk_issue_rw_rq(mq, req);
555 } 570 }
556 } 571 }
557 572
558 static inline int mmc_blk_readonly(struct mmc_card *card) 573 static inline int mmc_blk_readonly(struct mmc_card *card)
559 { 574 {
560 return mmc_card_readonly(card) || 575 return mmc_card_readonly(card) ||
561 !(card->csd.cmdclass & CCC_BLOCK_WRITE); 576 !(card->csd.cmdclass & CCC_BLOCK_WRITE);
562 } 577 }
563 578
564 static struct mmc_blk_data *mmc_blk_alloc(struct mmc_card *card) 579 static struct mmc_blk_data *mmc_blk_alloc(struct mmc_card *card)
565 { 580 {
566 struct mmc_blk_data *md; 581 struct mmc_blk_data *md;
567 int devidx, ret; 582 int devidx, ret;
568 583
569 devidx = find_first_zero_bit(dev_use, MMC_NUM_MINORS); 584 devidx = find_first_zero_bit(dev_use, max_devices);
570 if (devidx >= MMC_NUM_MINORS) 585 if (devidx >= max_devices)
571 return ERR_PTR(-ENOSPC); 586 return ERR_PTR(-ENOSPC);
572 __set_bit(devidx, dev_use); 587 __set_bit(devidx, dev_use);
573 588
574 md = kzalloc(sizeof(struct mmc_blk_data), GFP_KERNEL); 589 md = kzalloc(sizeof(struct mmc_blk_data), GFP_KERNEL);
575 if (!md) { 590 if (!md) {
576 ret = -ENOMEM; 591 ret = -ENOMEM;
577 goto out; 592 goto out;
578 } 593 }
579 594
580 595
581 /* 596 /*
582 * Set the read-only status based on the supported commands 597 * Set the read-only status based on the supported commands
583 * and the write protect switch. 598 * and the write protect switch.
584 */ 599 */
585 md->read_only = mmc_blk_readonly(card); 600 md->read_only = mmc_blk_readonly(card);
586 601
587 md->disk = alloc_disk(1 << MMC_SHIFT); 602 md->disk = alloc_disk(perdev_minors);
588 if (md->disk == NULL) { 603 if (md->disk == NULL) {
589 ret = -ENOMEM; 604 ret = -ENOMEM;
590 goto err_kfree; 605 goto err_kfree;
591 } 606 }
592 607
593 spin_lock_init(&md->lock); 608 spin_lock_init(&md->lock);
594 md->usage = 1; 609 md->usage = 1;
595 610
596 ret = mmc_init_queue(&md->queue, card, &md->lock); 611 ret = mmc_init_queue(&md->queue, card, &md->lock);
597 if (ret) 612 if (ret)
598 goto err_putdisk; 613 goto err_putdisk;
599 614
600 md->queue.issue_fn = mmc_blk_issue_rq; 615 md->queue.issue_fn = mmc_blk_issue_rq;
601 md->queue.data = md; 616 md->queue.data = md;
602 617
603 md->disk->major = MMC_BLOCK_MAJOR; 618 md->disk->major = MMC_BLOCK_MAJOR;
604 md->disk->first_minor = devidx << MMC_SHIFT; 619 md->disk->first_minor = devidx * perdev_minors;
605 md->disk->fops = &mmc_bdops; 620 md->disk->fops = &mmc_bdops;
606 md->disk->private_data = md; 621 md->disk->private_data = md;
607 md->disk->queue = md->queue.queue; 622 md->disk->queue = md->queue.queue;
608 md->disk->driverfs_dev = &card->dev; 623 md->disk->driverfs_dev = &card->dev;
609 624
610 /* 625 /*
611 * As discussed on lkml, GENHD_FL_REMOVABLE should: 626 * As discussed on lkml, GENHD_FL_REMOVABLE should:
612 * 627 *
613 * - be set for removable media with permanent block devices 628 * - be set for removable media with permanent block devices
614 * - be unset for removable block devices with permanent media 629 * - be unset for removable block devices with permanent media
615 * 630 *
616 * Since MMC block devices clearly fall under the second 631 * Since MMC block devices clearly fall under the second
617 * case, we do not set GENHD_FL_REMOVABLE. Userspace 632 * case, we do not set GENHD_FL_REMOVABLE. Userspace
618 * should use the block device creation/destruction hotplug 633 * should use the block device creation/destruction hotplug
619 * messages to tell when the card is present. 634 * messages to tell when the card is present.
620 */ 635 */
621 636
622 snprintf(md->disk->disk_name, sizeof(md->disk->disk_name), 637 snprintf(md->disk->disk_name, sizeof(md->disk->disk_name),
623 "mmcblk%d", devidx); 638 "mmcblk%d", devidx);
624 639
625 blk_queue_logical_block_size(md->queue.queue, 512); 640 blk_queue_logical_block_size(md->queue.queue, 512);
626 641
627 if (!mmc_card_sd(card) && mmc_card_blockaddr(card)) { 642 if (!mmc_card_sd(card) && mmc_card_blockaddr(card)) {
628 /* 643 /*
629 * The EXT_CSD sector count is in number or 512 byte 644 * The EXT_CSD sector count is in number or 512 byte
630 * sectors. 645 * sectors.
631 */ 646 */
632 set_capacity(md->disk, card->ext_csd.sectors); 647 set_capacity(md->disk, card->ext_csd.sectors);
633 } else { 648 } else {
634 /* 649 /*
635 * The CSD capacity field is in units of read_blkbits. 650 * The CSD capacity field is in units of read_blkbits.
636 * set_capacity takes units of 512 bytes. 651 * set_capacity takes units of 512 bytes.
637 */ 652 */
638 set_capacity(md->disk, 653 set_capacity(md->disk,
639 card->csd.capacity << (card->csd.read_blkbits - 9)); 654 card->csd.capacity << (card->csd.read_blkbits - 9));
640 } 655 }
641 return md; 656 return md;
642 657
643 err_putdisk: 658 err_putdisk:
644 put_disk(md->disk); 659 put_disk(md->disk);
645 err_kfree: 660 err_kfree:
646 kfree(md); 661 kfree(md);
647 out: 662 out:
648 return ERR_PTR(ret); 663 return ERR_PTR(ret);
649 } 664 }
650 665
651 static int 666 static int
652 mmc_blk_set_blksize(struct mmc_blk_data *md, struct mmc_card *card) 667 mmc_blk_set_blksize(struct mmc_blk_data *md, struct mmc_card *card)
653 { 668 {
654 int err; 669 int err;
655 670
656 mmc_claim_host(card->host); 671 mmc_claim_host(card->host);
657 err = mmc_set_blocklen(card, 512); 672 err = mmc_set_blocklen(card, 512);
658 mmc_release_host(card->host); 673 mmc_release_host(card->host);
659 674
660 if (err) { 675 if (err) {
661 printk(KERN_ERR "%s: unable to set block size to 512: %d\n", 676 printk(KERN_ERR "%s: unable to set block size to 512: %d\n",
662 md->disk->disk_name, err); 677 md->disk->disk_name, err);
663 return -EINVAL; 678 return -EINVAL;
664 } 679 }
665 680
666 return 0; 681 return 0;
667 } 682 }
668 683
669 static int mmc_blk_probe(struct mmc_card *card) 684 static int mmc_blk_probe(struct mmc_card *card)
670 { 685 {
671 struct mmc_blk_data *md; 686 struct mmc_blk_data *md;
672 int err; 687 int err;
673
674 char cap_str[10]; 688 char cap_str[10];
675 689
676 /* 690 /*
677 * Check that the card supports the command class(es) we need. 691 * Check that the card supports the command class(es) we need.
678 */ 692 */
679 if (!(card->csd.cmdclass & CCC_BLOCK_READ)) 693 if (!(card->csd.cmdclass & CCC_BLOCK_READ))
680 return -ENODEV; 694 return -ENODEV;
681 695
682 md = mmc_blk_alloc(card); 696 md = mmc_blk_alloc(card);
683 if (IS_ERR(md)) 697 if (IS_ERR(md))
684 return PTR_ERR(md); 698 return PTR_ERR(md);
685 699
686 err = mmc_blk_set_blksize(md, card); 700 err = mmc_blk_set_blksize(md, card);
687 if (err) 701 if (err)
688 goto out; 702 goto out;
689 703
690 string_get_size((u64)get_capacity(md->disk) << 9, STRING_UNITS_2, 704 string_get_size((u64)get_capacity(md->disk) << 9, STRING_UNITS_2,
691 cap_str, sizeof(cap_str)); 705 cap_str, sizeof(cap_str));
692 printk(KERN_INFO "%s: %s %s %s %s\n", 706 printk(KERN_INFO "%s: %s %s %s %s\n",
693 md->disk->disk_name, mmc_card_id(card), mmc_card_name(card), 707 md->disk->disk_name, mmc_card_id(card), mmc_card_name(card),
694 cap_str, md->read_only ? "(ro)" : ""); 708 cap_str, md->read_only ? "(ro)" : "");
695 709
696 mmc_set_drvdata(card, md); 710 mmc_set_drvdata(card, md);
697 add_disk(md->disk); 711 add_disk(md->disk);
698 return 0; 712 return 0;
699 713
700 out: 714 out:
701 mmc_cleanup_queue(&md->queue); 715 mmc_cleanup_queue(&md->queue);
702 mmc_blk_put(md); 716 mmc_blk_put(md);
703 717
704 return err; 718 return err;
705 } 719 }
706 720
707 static void mmc_blk_remove(struct mmc_card *card) 721 static void mmc_blk_remove(struct mmc_card *card)
708 { 722 {
709 struct mmc_blk_data *md = mmc_get_drvdata(card); 723 struct mmc_blk_data *md = mmc_get_drvdata(card);
710 724
711 if (md) { 725 if (md) {
712 /* Stop new requests from getting into the queue */ 726 /* Stop new requests from getting into the queue */
713 del_gendisk(md->disk); 727 del_gendisk(md->disk);
714 728
715 /* Then flush out any already in there */ 729 /* Then flush out any already in there */
716 mmc_cleanup_queue(&md->queue); 730 mmc_cleanup_queue(&md->queue);
717 731
718 mmc_blk_put(md); 732 mmc_blk_put(md);
719 } 733 }
720 mmc_set_drvdata(card, NULL); 734 mmc_set_drvdata(card, NULL);
721 } 735 }
722 736
723 #ifdef CONFIG_PM 737 #ifdef CONFIG_PM
724 static int mmc_blk_suspend(struct mmc_card *card, pm_message_t state) 738 static int mmc_blk_suspend(struct mmc_card *card, pm_message_t state)
725 { 739 {
726 struct mmc_blk_data *md = mmc_get_drvdata(card); 740 struct mmc_blk_data *md = mmc_get_drvdata(card);
727 741
728 if (md) { 742 if (md) {
729 mmc_queue_suspend(&md->queue); 743 mmc_queue_suspend(&md->queue);
730 } 744 }
731 return 0; 745 return 0;
732 } 746 }
733 747
734 static int mmc_blk_resume(struct mmc_card *card) 748 static int mmc_blk_resume(struct mmc_card *card)
735 { 749 {
736 struct mmc_blk_data *md = mmc_get_drvdata(card); 750 struct mmc_blk_data *md = mmc_get_drvdata(card);
737 751
738 if (md) { 752 if (md) {
739 mmc_blk_set_blksize(md, card); 753 mmc_blk_set_blksize(md, card);
740 mmc_queue_resume(&md->queue); 754 mmc_queue_resume(&md->queue);
741 } 755 }
742 return 0; 756 return 0;
743 } 757 }
744 #else 758 #else
745 #define mmc_blk_suspend NULL 759 #define mmc_blk_suspend NULL
746 #define mmc_blk_resume NULL 760 #define mmc_blk_resume NULL
747 #endif 761 #endif
748 762
749 static struct mmc_driver mmc_driver = { 763 static struct mmc_driver mmc_driver = {
750 .drv = { 764 .drv = {
751 .name = "mmcblk", 765 .name = "mmcblk",
752 }, 766 },
753 .probe = mmc_blk_probe, 767 .probe = mmc_blk_probe,
754 .remove = mmc_blk_remove, 768 .remove = mmc_blk_remove,
755 .suspend = mmc_blk_suspend, 769 .suspend = mmc_blk_suspend,
756 .resume = mmc_blk_resume, 770 .resume = mmc_blk_resume,
757 }; 771 };
758 772
759 static int __init mmc_blk_init(void) 773 static int __init mmc_blk_init(void)
760 { 774 {
761 int res; 775 int res;
776
777 if (perdev_minors != CONFIG_MMC_BLOCK_MINORS)
778 pr_info("mmcblk: using %d minors per device\n", perdev_minors);
779
780 max_devices = 256 / perdev_minors;
762 781
763 res = register_blkdev(MMC_BLOCK_MAJOR, "mmc"); 782 res = register_blkdev(MMC_BLOCK_MAJOR, "mmc");
764 if (res) 783 if (res)
765 goto out; 784 goto out;
766 785
767 res = mmc_register_driver(&mmc_driver); 786 res = mmc_register_driver(&mmc_driver);
768 if (res) 787 if (res)
769 goto out2; 788 goto out2;
770 789
771 return 0; 790 return 0;
772 out2: 791 out2:
773 unregister_blkdev(MMC_BLOCK_MAJOR, "mmc"); 792 unregister_blkdev(MMC_BLOCK_MAJOR, "mmc");
774 out: 793 out:
775 return res; 794 return res;
776 } 795 }
777 796
778 static void __exit mmc_blk_exit(void) 797 static void __exit mmc_blk_exit(void)
779 { 798 {
780 mmc_unregister_driver(&mmc_driver); 799 mmc_unregister_driver(&mmc_driver);
781 unregister_blkdev(MMC_BLOCK_MAJOR, "mmc"); 800 unregister_blkdev(MMC_BLOCK_MAJOR, "mmc");
782 } 801 }
783 802
784 module_init(mmc_blk_init); 803 module_init(mmc_blk_init);
785 module_exit(mmc_blk_exit); 804 module_exit(mmc_blk_exit);
786 805
787 MODULE_LICENSE("GPL"); 806 MODULE_LICENSE("GPL");
788 MODULE_DESCRIPTION("Multimedia Card (MMC) block device driver"); 807 MODULE_DESCRIPTION("Multimedia Card (MMC) block device driver");