xref: /illumos-gate/usr/src/uts/common/io/ecpp.conf (revision dd72704bd9e794056c558153663c739e2012d721)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#
26
27# When fast-centronics is set to "true", handshaking between the
28# driver and the peripheral is conducted by hardware. For some
29# Centronics devices the hardware handshaking is too fast for the
30# peripheral.  To slow down the handshaking, fast-centronics must
31# be set to "false". By default fast-centronics is set to "false".
32
33fast-centronics="false";
34
35
36# When fast-1284-compatible is set to "true", IEEE 1284 compliant
37# devices operating in Compatibility mode will have the parallel port
38# handshaking controlled by the hardware.  When it is set to "false"
39# handshaking is PIO controlled by the driver.  By default
40# fast-1284-compatible is set "true".
41
42fast-1284-compatible="true";
43
44
45# Some Centronics devices require the Init signal to be toggled upon
46# power-up.  The application should do this directly with ioctl(2) interface
47# as specified in ecpp(4D). As an alternative to using the API, the driver
48# may be configured to toggle the nInit signal upon every time the device
49# is opened. If centronics-init-seq is set to "true" the Init signal
50# will be toggled when the device is opened.  The default is "false".
51
52centronics-init-seq="false";
53
54
55# When the ecpp driver detects a Centronics device is in an error state,
56# ecpp will re-examine the device every centronics-retry milliseconds.
57# The default is 750 milliseconds.
58
59centronics-retry=750;
60
61
62# Some Centronics printers continue to assert BUSY after the ACK pulse.
63# The driver waits for centronics-wait-for-busy microseconds for a
64# desertion of BUSY before it queues the current data transfer.
65# The default is 5000 microseconds (5ms).
66
67centronics-wait-for-busy=5000;
68
69
70# Devices that are not using fast handshaking may adjust the data setup
71# time and the strobe pulse width. The Centronics specification states that
72# each must be at least 1 microsecond.  The default values are set to
73# 2 microseconds to ensure reliable transfers.
74
75centronics-data-setup-time=2;
76centronics-strobe-pulse-width=2;
77
78# The ecpp driver waits ecpp-transfer-timeout seconds before it aborts
79# the current transfer and put the untransferred data back on the queue.
80# The default value for ecpp-transfer-timeout is 90 seconds.
81
82ecpp-transfer-timeout=90;
83
84# The following note applies to x86 platforms only
85# If a system has a standard parallel port, but not enumerated
86# in the device tree, you may gain access to the port by uncommenting
87# the following lines and run "update_drv ecpp".
88#
89# name="lp" parent="/isa" interrupts=7 reg=1,0x378,0x8;
90