patch-1.3.85 linux/drivers/scsi/README.ppa
Next file: linux/drivers/scsi/README.st
Previous file: linux/drivers/scsi/Config.in
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Mon Apr 8 15:47:34 1996
- Orig file:
v1.3.84/linux/drivers/scsi/README.ppa
- Orig date:
Thu Mar 14 12:57:45 1996
diff -u --recursive --new-file v1.3.84/linux/drivers/scsi/README.ppa linux/drivers/scsi/README.ppa
@@ -48,7 +48,7 @@
Built-in drivers accept parameters using this LILO/LOADLIN command line
syntax (omitted parameters retain their default values):
- ppa=base[,speed_high[,speed_low[,call_sched[,nybble]]]]
+ ppa=base[,speed_high[,speed_low[,nybble]]]
For example: ppa=0x378,0,3
@@ -66,7 +66,6 @@
ppa_base 0x378 The base address of PPA's parallel port.
ppa_speed_high 1 Microsecond i/o delay used in data transfers
ppa_speed_low 6 Microsecond delay used in other operations
-ppa_call_sched 1 1 to give up CPU during busy waits
ppa_nybble 0 1 to force the driver to use 4-bit mode.
A word about the timing parameters: the ppa_speed_low parameter controls
@@ -84,15 +83,6 @@
have set these parameters too low. The default values appear to be
safe on most machines.
-The ppa_call_sched parameter controls the 'friendliness' of this driver
-to the rest of your system. When it is set to zero, the driver waits for
-events on the drive by continuously reading a port until the 0x80 bit is
-asserted. Since it is in a tight loop inside the kernel, the rest of the
-system becomes very sluggish. If you set ppa_call_sched to one, then
-ppa will call the scheduler in such circumstances, voluntarily giving up the
-CPU to other processes. This appears to reduce the ZIP drive's
-responsiveness, however.
-
If you have both the lp and ppa drivers in your kernel, you must ensure
that they access different parallel ports. By default, the lp driver is
initialised early in the booting process, and it claims all parallel
@@ -113,6 +103,12 @@
In this case lp would use the polling driver, since an interrupt was not
specified.
+
+If you want to share the same parallel port between a ZIP drive and a
+printer, you should build both the lp and ppa drivers as modules and
+load and unload one or the other as required. This is clumsy but we
+currently have no protocol for synchronising access to shared parallel
+ports.
For information about using the ZIP drive, please read the generic
instructions in the SCSI-HOWTO and the man pages for the normal disk
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this