patch-2.1.67 linux/Documentation/parport.txt
Next file: linux/Documentation/powerpc/00-INDEX
Previous file: linux/Documentation/nfsroot.txt
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Sat Nov 29 10:33:18 1997
- Orig file:
v2.1.66/linux/Documentation/parport.txt
- Orig date:
Tue Sep 23 16:48:46 1997
diff -u --recursive --new-file v2.1.66/linux/Documentation/parport.txt linux/Documentation/parport.txt
@@ -53,11 +53,9 @@
parport0: Printer, BJC-210 (Canon)
-Additionally, if you use kerneld, you can add to /etc/conf.modules the
-following lines, to have the probe happen automatically:
+(If you are using kerneld and have configured parport_probe as a
+module, this will just happen.)
- post-install parport modprobe parport_probe
- pre-remove parport modprobe -r parport_probe
Parport, but not as modules
===========================
@@ -71,6 +69,31 @@
You can have many `parport=...' statements, one for each port you want
to add. Adding `parport=0' to the kernel command-line will disable
parport support entirely.
+
+Files in /proc
+==============
+
+If you have configured the /proc filesystem into your kernel, you will
+see a new directory entry: /proc/parport. In there will be a
+directory entry for each parallel port for which parport is
+configured. In each of those directories are three files describing
+that parallel port. For example:
+
+File: Contents:
+
+/proc/parport/0/devices A list of the device drivers using
+ that port. A "+" will appear by the
+ name of the device currently using the
+ port (it might not appear against any).
+
+/proc/parport/0/hardware Parallel port's base address, IRQ line
+ and DMA channel.
+
+/proc/parport/0/irq The IRQ that parport is using for that
+ port (as above). This is in a
+ separate file to allow you to alter it
+ by writing a new value in (IRQ number
+ or "none").
Device drivers
==============
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov