xref: /titanic_50/usr/src/uts/common/io/ecpp.conf (revision 49f9b365248ee858ee91baa36eab27c5200f6dca)
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#ident	"%Z%%M%	%I%	%E% SMI"
27
28# When fast-centronics is set to "true", handshaking between the
29# driver and the peripheral is conducted by hardware. For some
30# Centronics devices the hardware handshaking is too fast for the
31# peripheral.  To slow down the handshaking, fast-centronics must
32# be set to "false". By default fast-centronics is set to "false".
33
34fast-centronics="false";
35
36
37# When fast-1284-compatible is set to "true", IEEE 1284 compliant
38# devices operating in Compatibility mode will have the parallel port
39# handshaking controlled by the hardware.  When it is set to "false"
40# handshaking is PIO controlled by the driver.  By default
41# fast-1284-compatible is set "true".
42
43fast-1284-compatible="true";
44
45
46# Some Centronics devices require the Init signal to be toggled upon
47# power-up.  The application should do this directly with ioctl(2) interface
48# as specified in ecpp(7d). As an alternative to using the API, the driver
49# may be configured to toggle the nInit signal upon every time the device
50# is opened. If centronics-init-seq is set to "true" the Init signal
51# will be toggled when the device is opened.  The default is "false".
52
53centronics-init-seq="false";
54
55
56# When the ecpp driver detects a Centronics device is in an error state,
57# ecpp will re-examine the device every centronics-retry milliseconds.
58# The default is 750 milliseconds.
59
60centronics-retry=750;
61
62
63# Some Centronics printers continue to assert BUSY after the ACK pulse.
64# The driver waits for centronics-wait-for-busy microseconds for a
65# desertion of BUSY before it queues the current data transfer.
66# The default is 5000 microseconds (5ms).
67
68centronics-wait-for-busy=5000;
69
70
71# Devices that are not using fast handshaking may adjust the data setup
72# time and the strobe pulse width. The Centronics specification states that
73# each must be at least 1 microsecond.  The default values are set to
74# 2 microseconds to ensure reliable transfers.
75
76centronics-data-setup-time=2;
77centronics-strobe-pulse-width=2;
78
79# The ecpp driver waits ecpp-transfer-timeout seconds before it aborts
80# the current transfer and put the untransferred data back on the queue.
81# The default value for ecpp-transfer-timeout is 90 seconds.
82
83ecpp-transfer-timeout=90;
84
85# The following note applies to x86 platforms only
86# If a system has a standard parallel port, but not enumerated
87# in the device tree, you may gain access to the port by uncommenting
88# the following lines and run "update_drv ecpp".
89#
90# name="lp" parent="/isa" interrupts=7 reg=1,0x378,0x8;
91