diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DocBook/usb.tmpl | 3 | ||||
-rw-r--r-- | Documentation/DocBook/writing_usb_driver.tmpl | 7 | ||||
-rw-r--r-- | Documentation/arm/SA1100/serial_UART | 4 | ||||
-rw-r--r-- | Documentation/computone.txt | 70 | ||||
-rw-r--r-- | Documentation/filesystems/00-INDEX | 2 | ||||
-rw-r--r-- | Documentation/filesystems/tmpfs.txt | 2 | ||||
-rw-r--r-- | Documentation/input/input.txt | 4 | ||||
-rw-r--r-- | Documentation/input/joystick.txt | 2 | ||||
-rw-r--r-- | Documentation/kernel-docs.txt | 11 | ||||
-rw-r--r-- | Documentation/s390/3270.txt | 4 | ||||
-rw-r--r-- | Documentation/scsi/osst.txt | 3 | ||||
-rw-r--r-- | Documentation/sound/alsa/ALSA-Configuration.txt | 20 | ||||
-rw-r--r-- | Documentation/uml/UserModeLinux-HOWTO.txt | 54 | ||||
-rw-r--r-- | Documentation/usb/acm.txt | 14 | ||||
-rw-r--r-- | Documentation/usb/usb-serial.txt | 5 |
15 files changed, 14 insertions, 191 deletions
diff --git a/Documentation/DocBook/usb.tmpl b/Documentation/DocBook/usb.tmpl index 3608472d7b74..fbc72d4dbc25 100644 --- a/Documentation/DocBook/usb.tmpl +++ b/Documentation/DocBook/usb.tmpl | |||
@@ -314,8 +314,7 @@ | |||
314 | <emphasis>usbdevfs</emphasis> although it wasn't solving what | 314 | <emphasis>usbdevfs</emphasis> although it wasn't solving what |
315 | <emphasis>devfs</emphasis> was. | 315 | <emphasis>devfs</emphasis> was. |
316 | Every USB device will appear in usbfs, regardless of whether or | 316 | Every USB device will appear in usbfs, regardless of whether or |
317 | not it has a kernel driver; but only devices with kernel drivers | 317 | not it has a kernel driver. |
318 | show up in devfs. | ||
319 | </para> | 318 | </para> |
320 | 319 | ||
321 | <sect1> | 320 | <sect1> |
diff --git a/Documentation/DocBook/writing_usb_driver.tmpl b/Documentation/DocBook/writing_usb_driver.tmpl index 008a341234d0..07cd34c1940b 100644 --- a/Documentation/DocBook/writing_usb_driver.tmpl +++ b/Documentation/DocBook/writing_usb_driver.tmpl | |||
@@ -224,13 +224,8 @@ static int skel_probe(struct usb_interface *interface, | |||
224 | Conversely, when the device is removed from the USB bus, the disconnect | 224 | Conversely, when the device is removed from the USB bus, the disconnect |
225 | function is called with the device pointer. The driver needs to clean any | 225 | function is called with the device pointer. The driver needs to clean any |
226 | private data that has been allocated at this time and to shut down any | 226 | private data that has been allocated at this time and to shut down any |
227 | pending urbs that are in the USB system. The driver also unregisters | 227 | pending urbs that are in the USB system. |
228 | itself from the devfs subsystem with the call: | ||
229 | </para> | 228 | </para> |
230 | <programlisting> | ||
231 | /* remove our devfs node */ | ||
232 | devfs_unregister(skel->devfs); | ||
233 | </programlisting> | ||
234 | <para> | 229 | <para> |
235 | Now that the device is plugged into the system and the driver is bound to | 230 | Now that the device is plugged into the system and the driver is bound to |
236 | the device, any of the functions in the file_operations structure that | 231 | the device, any of the functions in the file_operations structure that |
diff --git a/Documentation/arm/SA1100/serial_UART b/Documentation/arm/SA1100/serial_UART index aea2e91ca0ef..a63966f1d083 100644 --- a/Documentation/arm/SA1100/serial_UART +++ b/Documentation/arm/SA1100/serial_UART | |||
@@ -24,8 +24,8 @@ The SA1100 serial port had its major/minor numbers officially assigned: | |||
24 | > 7 = /dev/cusa2 Callout device for ttySA2 | 24 | > 7 = /dev/cusa2 Callout device for ttySA2 |
25 | > | 25 | > |
26 | 26 | ||
27 | If you're not using devfs, you must create those inodes in /dev | 27 | You must create those inodes in /dev on the root filesystem used |
28 | on the root filesystem used by your SA1100-based device: | 28 | by your SA1100-based device: |
29 | 29 | ||
30 | mknod ttySA0 c 204 5 | 30 | mknod ttySA0 c 204 5 |
31 | mknod ttySA1 c 204 6 | 31 | mknod ttySA1 c 204 6 |
diff --git a/Documentation/computone.txt b/Documentation/computone.txt index b1cf59b84d97..5e2a0c76bfa0 100644 --- a/Documentation/computone.txt +++ b/Documentation/computone.txt | |||
@@ -199,30 +199,6 @@ boxes this will leave gaps in the sequence of device names. ip2mkdev uses | |||
199 | Linux tty naming conventions: ttyF0 - ttyF255 for normal devices, and | 199 | Linux tty naming conventions: ttyF0 - ttyF255 for normal devices, and |
200 | cuf0 - cuf255 for callout devices. | 200 | cuf0 - cuf255 for callout devices. |
201 | 201 | ||
202 | If you are using devfs, existing devices are automatically created within | ||
203 | the devfs name space. Normal devices will be tts/F0 - tts/F255 and callout | ||
204 | devices will be cua/F0 - cua/F255. With devfs installed, ip2mkdev will | ||
205 | create symbolic links in /dev from the old conventional names to the newer | ||
206 | devfs names as follows: | ||
207 | |||
208 | /dev/ip2ipl[n] -> /dev/ip2/ipl[n] n = 0 - 3 | ||
209 | /dev/ip2stat[n] -> /dev/ip2/stat[n] n = 0 - 3 | ||
210 | /dev/ttyF[n] -> /dev/tts/F[n] n = 0 - 255 | ||
211 | /dev/cuf[n] -> /dev/cua/F[n] n = 0 - 255 | ||
212 | |||
213 | Only devices for existing ports and boards will be created. | ||
214 | |||
215 | IMPORTANT NOTE: The naming convention used for devfs by this driver | ||
216 | was changed from 1.2.12 to 1.2.13. The old naming convention was to | ||
217 | use ttf/%d for the tty device and cuf/%d for the cua device. That | ||
218 | has been changed to conform to an agreed-upon standard of placing | ||
219 | all the tty devices under tts. The device names are now tts/F%d for | ||
220 | the tty device and cua/F%d for the cua devices. If you were using | ||
221 | the older devfs names, you must update for the newer convention. | ||
222 | |||
223 | You do not need to run ip2mkdev if you are using devfs and only want to | ||
224 | use the devfs native device names. | ||
225 | |||
226 | 202 | ||
227 | 4. USING THE DRIVERS | 203 | 4. USING THE DRIVERS |
228 | 204 | ||
@@ -256,57 +232,15 @@ cut out and run as "ip2mkdev" to create the necessary device files. To | |||
256 | use the ip2mkdev script, you must have procfs enabled and the proc file | 232 | use the ip2mkdev script, you must have procfs enabled and the proc file |
257 | system mounted on /proc. | 233 | system mounted on /proc. |
258 | 234 | ||
259 | You do not need to run ip2mkdev if you are using devfs and only want to | ||
260 | use the devfs native device names. | ||
261 | |||
262 | |||
263 | 6. DEVFS | ||
264 | |||
265 | DEVFS is the DEVice File System available as an add on package for the | ||
266 | 2.2.x kernels and available as a configuration option in 2.3.46 and higher. | ||
267 | Devfs allows for the automatic creation and management of device names | ||
268 | under control of the device drivers themselves. The Devfs namespace is | ||
269 | hierarchical and reduces the clutter present in the normal flat /dev | ||
270 | namespace. Devfs names and conventional device names may be intermixed. | ||
271 | A userspace daemon, devfsd, exists to allow for automatic creation and | ||
272 | management of symbolic links from the devfs name space to the conventional | ||
273 | names. More details on devfs can be found on the DEVFS home site at | ||
274 | <http://www.atnf.csiro.au/~rgooch/linux/> or in the file kernel | ||
275 | documentation files, .../linux/Documentation/filesystems/devfs/README. | ||
276 | |||
277 | If you are using devfs, existing devices are automatically created within | ||
278 | the devfs name space. Normal devices will be tts/F0 - tts/F255 and callout | ||
279 | devices will be cua/F0 - cua/F255. With devfs installed, ip2mkdev will | ||
280 | create symbolic links in /dev from the old conventional names to the newer | ||
281 | devfs names as follows: | ||
282 | |||
283 | /dev/ip2ipl[n] -> /dev/ip2/ipl[n] n = 0 - 3 | ||
284 | /dev/ip2stat[n] -> /dev/ip2/stat[n] n = 0 - 3 | ||
285 | /dev/ttyF[n] -> /dev/tts/F[n] n = 0 - 255 | ||
286 | /dev/cuf[n] -> /dev/cua/F[n] n = 0 - 255 | ||
287 | |||
288 | Only devices for existing ports and boards will be created. | ||
289 | |||
290 | IMPORTANT NOTE: The naming convention used for devfs by this driver | ||
291 | was changed from 1.2.12 to 1.2.13. The old naming convention was to | ||
292 | use ttf/%d for the tty device and cuf/%d for the cua device. That | ||
293 | has been changed to conform to an agreed-upon standard of placing | ||
294 | all the tty devices under tts. The device names are now tts/F%d for | ||
295 | the tty device and cua/F%d for the cua devices. If you were using | ||
296 | the older devfs names, you must update for the newer convention. | ||
297 | |||
298 | You do not need to run ip2mkdev if you are using devfs and only want to | ||
299 | use the devfs native device names. | ||
300 | |||
301 | 235 | ||
302 | 7. NOTES | 236 | 6. NOTES |
303 | 237 | ||
304 | This is a release version of the driver, but it is impossible to test it | 238 | This is a release version of the driver, but it is impossible to test it |
305 | in all configurations of Linux. If there is any anomalous behaviour that | 239 | in all configurations of Linux. If there is any anomalous behaviour that |
306 | does not match the standard serial port's behaviour please let us know. | 240 | does not match the standard serial port's behaviour please let us know. |
307 | 241 | ||
308 | 242 | ||
309 | 8. ip2mkdev shell script | 243 | 7. ip2mkdev shell script |
310 | 244 | ||
311 | Previously, this script was simply attached here. It is now attached as a | 245 | Previously, this script was simply attached here. It is now attached as a |
312 | shar archive to make it easier to extract the script from the documentation. | 246 | shar archive to make it easier to extract the script from the documentation. |
diff --git a/Documentation/filesystems/00-INDEX b/Documentation/filesystems/00-INDEX index 16dec61d7671..3c384c0cf86e 100644 --- a/Documentation/filesystems/00-INDEX +++ b/Documentation/filesystems/00-INDEX | |||
@@ -26,8 +26,6 @@ cramfs.txt | |||
26 | - info on the cram filesystem for small storage (ROMs etc). | 26 | - info on the cram filesystem for small storage (ROMs etc). |
27 | dentry-locking.txt | 27 | dentry-locking.txt |
28 | - info on the RCU-based dcache locking model. | 28 | - info on the RCU-based dcache locking model. |
29 | devfs/ | ||
30 | - directory containing devfs documentation. | ||
31 | directory-locking | 29 | directory-locking |
32 | - info about the locking scheme used for directory operations. | 30 | - info about the locking scheme used for directory operations. |
33 | dlmfs.txt | 31 | dlmfs.txt |
diff --git a/Documentation/filesystems/tmpfs.txt b/Documentation/filesystems/tmpfs.txt index 1773106976a2..f9bcf9f4934a 100644 --- a/Documentation/filesystems/tmpfs.txt +++ b/Documentation/filesystems/tmpfs.txt | |||
@@ -39,7 +39,7 @@ tmpfs has the following uses: | |||
39 | tmpfs /dev/shm tmpfs defaults 0 0 | 39 | tmpfs /dev/shm tmpfs defaults 0 0 |
40 | 40 | ||
41 | Remember to create the directory that you intend to mount tmpfs on | 41 | Remember to create the directory that you intend to mount tmpfs on |
42 | if necessary (/dev/shm is automagically created if you use devfs). | 42 | if necessary. |
43 | 43 | ||
44 | This mount is _not_ needed for SYSV shared memory. The internal | 44 | This mount is _not_ needed for SYSV shared memory. The internal |
45 | mount is used for that. (In the 2.3 kernel versions it was | 45 | mount is used for that. (In the 2.3 kernel versions it was |
diff --git a/Documentation/input/input.txt b/Documentation/input/input.txt index 550ef9add4b6..ac22f636e4c2 100644 --- a/Documentation/input/input.txt +++ b/Documentation/input/input.txt | |||
@@ -68,8 +68,8 @@ will be available as a character device on major 13, minor 63: | |||
68 | 68 | ||
69 | crw-r--r-- 1 root root 13, 63 Mar 28 22:45 mice | 69 | crw-r--r-- 1 root root 13, 63 Mar 28 22:45 mice |
70 | 70 | ||
71 | This device has to be created, unless you use devfs, in which case it's | 71 | This device has to be created. |
72 | created automatically. The commands to do create it by hand are: | 72 | The commands to create it by hand are: |
73 | 73 | ||
74 | cd /dev | 74 | cd /dev |
75 | mkdir input | 75 | mkdir input |
diff --git a/Documentation/input/joystick.txt b/Documentation/input/joystick.txt index 841c353297e6..389de9bd9878 100644 --- a/Documentation/input/joystick.txt +++ b/Documentation/input/joystick.txt | |||
@@ -60,7 +60,7 @@ and install it before going on. | |||
60 | 60 | ||
61 | 2.2 Device nodes | 61 | 2.2 Device nodes |
62 | ~~~~~~~~~~~~~~~~ | 62 | ~~~~~~~~~~~~~~~~ |
63 | For applications to be able to use the joysticks, in you don't use devfs, | 63 | For applications to be able to use the joysticks, |
64 | you'll have to manually create these nodes in /dev: | 64 | you'll have to manually create these nodes in /dev: |
65 | 65 | ||
66 | cd /dev | 66 | cd /dev |
diff --git a/Documentation/kernel-docs.txt b/Documentation/kernel-docs.txt index 99d24f2943ee..b53bccbd9727 100644 --- a/Documentation/kernel-docs.txt +++ b/Documentation/kernel-docs.txt | |||
@@ -290,17 +290,6 @@ | |||
290 | Description: Very nice 92 pages GPL book on the topic of modules | 290 | Description: Very nice 92 pages GPL book on the topic of modules |
291 | programming. Lots of examples. | 291 | programming. Lots of examples. |
292 | 292 | ||
293 | * Title: "Device File System (devfs) Overview" | ||
294 | Author: Richard Gooch. | ||
295 | URL: http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html | ||
296 | Keywords: filesystem, /dev, devfs, dynamic devices, major/minor | ||
297 | allocation, device management. | ||
298 | Description: Document describing Richard Gooch's controversial | ||
299 | devfs, which allows for dynamic devices, only shows present | ||
300 | devices in /dev, gets rid of major/minor numbers allocation | ||
301 | problems, and allows for hundreds of identical devices (which some | ||
302 | USB systems might demand soon). | ||
303 | |||
304 | * Title: "I/O Event Handling Under Linux" | 293 | * Title: "I/O Event Handling Under Linux" |
305 | Author: Richard Gooch. | 294 | Author: Richard Gooch. |
306 | URL: http://www.atnf.csiro.au/~rgooch/linux/docs/io-events.html | 295 | URL: http://www.atnf.csiro.au/~rgooch/linux/docs/io-events.html |
diff --git a/Documentation/s390/3270.txt b/Documentation/s390/3270.txt index 0a044e647d2d..7a5c73a7ed7f 100644 --- a/Documentation/s390/3270.txt +++ b/Documentation/s390/3270.txt | |||
@@ -111,9 +111,7 @@ Here are the installation steps in detail: | |||
111 | config3270.sh. Inspect the output script it produces, | 111 | config3270.sh. Inspect the output script it produces, |
112 | /tmp/mkdev3270, and then run that script. This will create the | 112 | /tmp/mkdev3270, and then run that script. This will create the |
113 | necessary character special device files and make the necessary | 113 | necessary character special device files and make the necessary |
114 | changes to /etc/inittab. If you have selected DEVFS, the driver | 114 | changes to /etc/inittab. |
115 | itself creates the device files, and /tmp/mkdev3270 only changes | ||
116 | /etc/inittab. | ||
117 | 115 | ||
118 | Then notify /sbin/init that /etc/inittab has changed, by issuing | 116 | Then notify /sbin/init that /etc/inittab has changed, by issuing |
119 | the telinit command with the q operand: | 117 | the telinit command with the q operand: |
diff --git a/Documentation/scsi/osst.txt b/Documentation/scsi/osst.txt index ce574e7791ab..f536907e241d 100644 --- a/Documentation/scsi/osst.txt +++ b/Documentation/scsi/osst.txt | |||
@@ -56,8 +56,7 @@ Compile your kernel and install the modules. | |||
56 | 56 | ||
57 | Now, your osst driver is inside the kernel or available as a module, | 57 | Now, your osst driver is inside the kernel or available as a module, |
58 | depending on your choice during kernel config. You may still need to create | 58 | depending on your choice during kernel config. You may still need to create |
59 | the device nodes by calling the Makedevs.sh script (see below) manually, | 59 | the device nodes by calling the Makedevs.sh script (see below) manually. |
60 | unless you use a devfs kernel, where this won't be needed. | ||
61 | 60 | ||
62 | To load your module, you may use the command | 61 | To load your module, you may use the command |
63 | modprobe osst | 62 | modprobe osst |
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt index e6b57dd46a4f..958ccf3aa2ea 100644 --- a/Documentation/sound/alsa/ALSA-Configuration.txt +++ b/Documentation/sound/alsa/ALSA-Configuration.txt | |||
@@ -57,11 +57,6 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
57 | - Default: 1 | 57 | - Default: 1 |
58 | - For auto-loading more than one card, specify this | 58 | - For auto-loading more than one card, specify this |
59 | option together with snd-card-X aliases. | 59 | option together with snd-card-X aliases. |
60 | device_mode | ||
61 | - permission mask for dynamic sound device filesystem | ||
62 | - This is available only when DEVFS is enabled | ||
63 | - Default: 0666 | ||
64 | - E.g.: device_mode=0660 | ||
65 | 60 | ||
66 | 61 | ||
67 | Module snd-pcm-oss | 62 | Module snd-pcm-oss |
@@ -1915,21 +1910,6 @@ Please note that the device mapping above may be varied via the module | |||
1915 | options of snd-pcm-oss module. | 1910 | options of snd-pcm-oss module. |
1916 | 1911 | ||
1917 | 1912 | ||
1918 | DEVFS support | ||
1919 | ============= | ||
1920 | |||
1921 | The ALSA driver fully supports the devfs extension. | ||
1922 | You should add lines below to your devfsd.conf file: | ||
1923 | |||
1924 | LOOKUP snd MODLOAD ACTION snd | ||
1925 | REGISTER ^sound/.* PERMISSIONS root.audio 660 | ||
1926 | REGISTER ^snd/.* PERMISSIONS root.audio 660 | ||
1927 | |||
1928 | Warning: These lines assume that you have the audio group in your system. | ||
1929 | Otherwise replace audio word with another group name (root for | ||
1930 | example). | ||
1931 | |||
1932 | |||
1933 | Proc interfaces (/proc/asound) | 1913 | Proc interfaces (/proc/asound) |
1934 | ============================== | 1914 | ============================== |
1935 | 1915 | ||
diff --git a/Documentation/uml/UserModeLinux-HOWTO.txt b/Documentation/uml/UserModeLinux-HOWTO.txt index 544430e39980..b7390000bf28 100644 --- a/Documentation/uml/UserModeLinux-HOWTO.txt +++ b/Documentation/uml/UserModeLinux-HOWTO.txt | |||
@@ -157,7 +157,7 @@ | |||
157 | 13. What to do when UML doesn't work | 157 | 13. What to do when UML doesn't work |
158 | 158 | ||
159 | 13.1 Strange compilation errors when you build from source | 159 | 13.1 Strange compilation errors when you build from source |
160 | 13.2 UML hangs on boot after mounting devfs | 160 | 13.2 (obsolete) |
161 | 13.3 A variety of panics and hangs with /tmp on a reiserfs filesystem | 161 | 13.3 A variety of panics and hangs with /tmp on a reiserfs filesystem |
162 | 13.4 The compile fails with errors about conflicting types for 'open', 'dup', and 'waitpid' | 162 | 13.4 The compile fails with errors about conflicting types for 'open', 'dup', and 'waitpid' |
163 | 13.5 UML doesn't work when /tmp is an NFS filesystem | 163 | 13.5 UML doesn't work when /tmp is an NFS filesystem |
@@ -379,31 +379,6 @@ | |||
379 | bug fixes and enhancements that have gone into subsequent releases. | 379 | bug fixes and enhancements that have gone into subsequent releases. |
380 | 380 | ||
381 | 381 | ||
382 | If you build your own kernel, and want to boot it from one of the | ||
383 | filesystems distributed from this site, then, in nearly all cases, | ||
384 | devfs must be compiled into the kernel and mounted at boot time. The | ||
385 | exception is the SuSE filesystem. For this, devfs must either not be | ||
386 | in the kernel at all, or "devfs=nomount" must be on the kernel command | ||
387 | line. Any disagreement between the kernel and the filesystem being | ||
388 | booted about whether devfs is being used will result in the boot | ||
389 | getting no further than single-user mode. | ||
390 | |||
391 | |||
392 | If you don't want to use devfs, you can remove the need for it from a | ||
393 | filesystem by copying /dev from someplace, making a bunch of /dev/ubd | ||
394 | devices: | ||
395 | |||
396 | |||
397 | UML# for i in 0 1 2 3 4 5 6 7; do mknod ubd$i b 98 $i; done | ||
398 | |||
399 | |||
400 | |||
401 | |||
402 | and changing /etc/fstab and /etc/inittab to refer to the non-devfs | ||
403 | devices. | ||
404 | |||
405 | |||
406 | |||
407 | 22..22.. CCoommppiilliinngg aanndd iinnssttaalllliinngg kkeerrnneell mmoodduulleess | 382 | 22..22.. CCoommppiilliinngg aanndd iinnssttaalllliinngg kkeerrnneell mmoodduulleess |
408 | 383 | ||
409 | UML modules are built in the same way as the native kernel (with the | 384 | UML modules are built in the same way as the native kernel (with the |
@@ -839,9 +814,7 @@ | |||
839 | +o None - device=none | 814 | +o None - device=none |
840 | 815 | ||
841 | 816 | ||
842 | This causes the device to disappear. If you are using devfs, the | 817 | This causes the device to disappear. |
843 | device will not appear in /dev. If not, then attempts to open it | ||
844 | will return -ENODEV. | ||
845 | 818 | ||
846 | 819 | ||
847 | 820 | ||
@@ -3898,29 +3871,6 @@ | |||
3898 | 3871 | ||
3899 | 3872 | ||
3900 | 3873 | ||
3901 | 1133..22.. UUMMLL hhaannggss oonn bboooott aafftteerr mmoouunnttiinngg ddeevvffss | ||
3902 | |||
3903 | The boot looks like this: | ||
3904 | |||
3905 | |||
3906 | VFS: Mounted root (ext2 filesystem) readonly. | ||
3907 | Mounted devfs on /dev | ||
3908 | |||
3909 | |||
3910 | |||
3911 | |||
3912 | You're probably running a recent distribution on an old machine. I | ||
3913 | saw this with the RH7.1 filesystem running on a Pentium. The shared | ||
3914 | library loader, ld.so, was executing an instruction (cmove) which the | ||
3915 | Pentium didn't support. That instruction was apparently added later. | ||
3916 | If you run UML under the debugger, you'll see the hang caused by one | ||
3917 | instruction causing an infinite SIGILL stream. | ||
3918 | |||
3919 | |||
3920 | The fix is to boot UML on an older filesystem. | ||
3921 | |||
3922 | |||
3923 | |||
3924 | 1133..33.. AA vvaarriieettyy ooff ppaanniiccss aanndd hhaannggss wwiitthh //ttmmpp oonn aa rreeiisseerrffss ffiilleessyyss-- | 3874 | 1133..33.. AA vvaarriieettyy ooff ppaanniiccss aanndd hhaannggss wwiitthh //ttmmpp oonn aa rreeiisseerrffss ffiilleessyyss-- |
3925 | tteemm | 3875 | tteemm |
3926 | 3876 | ||
diff --git a/Documentation/usb/acm.txt b/Documentation/usb/acm.txt index 8ef45ea8f691..737d6104c3f3 100644 --- a/Documentation/usb/acm.txt +++ b/Documentation/usb/acm.txt | |||
@@ -49,20 +49,6 @@ Abstract Control Model (USB CDC ACM) specification. | |||
49 | Unfortunately many modems and most ISDN TAs use proprietary interfaces and | 49 | Unfortunately many modems and most ISDN TAs use proprietary interfaces and |
50 | thus won't work with this drivers. Check for ACM compliance before buying. | 50 | thus won't work with this drivers. Check for ACM compliance before buying. |
51 | 51 | ||
52 | The driver (with devfs) creates these devices in /dev/usb/acm: | ||
53 | |||
54 | crw-r--r-- 1 root root 166, 0 Apr 1 10:49 0 | ||
55 | crw-r--r-- 1 root root 166, 1 Apr 1 10:49 1 | ||
56 | crw-r--r-- 1 root root 166, 2 Apr 1 10:49 2 | ||
57 | |||
58 | And so on, up to 31, with the limit being possible to change in acm.c to up | ||
59 | to 256, so you can use up to 256 USB modems with one computer (you'll need | ||
60 | three USB cards for that, though). | ||
61 | |||
62 | If you don't use devfs, then you can create device nodes with the same | ||
63 | minor/major numbers anywhere you want, but either the above location or | ||
64 | /dev/usb/ttyACM0 is preferred. | ||
65 | |||
66 | To use the modems you need these modules loaded: | 52 | To use the modems you need these modules loaded: |
67 | 53 | ||
68 | usbcore.ko | 54 | usbcore.ko |
diff --git a/Documentation/usb/usb-serial.txt b/Documentation/usb/usb-serial.txt index a2dee6e6190d..eca85f373419 100644 --- a/Documentation/usb/usb-serial.txt +++ b/Documentation/usb/usb-serial.txt | |||
@@ -13,7 +13,6 @@ CONFIGURATION | |||
13 | Currently the driver can handle up to 256 different serial interfaces at | 13 | Currently the driver can handle up to 256 different serial interfaces at |
14 | one time. | 14 | one time. |
15 | 15 | ||
16 | If you are not using devfs: | ||
17 | The major number that the driver uses is 188 so to use the driver, | 16 | The major number that the driver uses is 188 so to use the driver, |
18 | create the following nodes: | 17 | create the following nodes: |
19 | mknod /dev/ttyUSB0 c 188 0 | 18 | mknod /dev/ttyUSB0 c 188 0 |
@@ -26,10 +25,6 @@ CONFIGURATION | |||
26 | mknod /dev/ttyUSB254 c 188 254 | 25 | mknod /dev/ttyUSB254 c 188 254 |
27 | mknod /dev/ttyUSB255 c 188 255 | 26 | mknod /dev/ttyUSB255 c 188 255 |
28 | 27 | ||
29 | If you are using devfs: | ||
30 | The devices supported by this driver will show up as | ||
31 | /dev/usb/tts/{0,1,...} | ||
32 | |||
33 | When the device is connected and recognized by the driver, the driver | 28 | When the device is connected and recognized by the driver, the driver |
34 | will print to the system log, which node(s) the device has been bound | 29 | will print to the system log, which node(s) the device has been bound |
35 | to. | 30 | to. |