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