2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2019-06-13 01:52:48 +08:00
|
|
|
# see Documentation/kbuild/kconfig-language.rst.
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Parport configuration.
|
|
|
|
#
|
|
|
|
|
2014-07-26 08:07:47 +08:00
|
|
|
config ARCH_MIGHT_HAVE_PC_PARPORT
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Select this config option from the architecture Kconfig if
|
|
|
|
the architecture might have PC parallel port hardware.
|
|
|
|
|
2007-07-16 14:39:37 +08:00
|
|
|
menuconfig PARPORT
|
2005-04-17 06:20:36 +08:00
|
|
|
tristate "Parallel port support"
|
2007-07-16 14:39:37 +08:00
|
|
|
depends on HAS_IOMEM
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2005-04-17 06:20:36 +08:00
|
|
|
If you want to use devices connected to your machine's parallel port
|
|
|
|
(the connector at the computer with 25 holes), e.g. printer, ZIP
|
|
|
|
drive, PLIP link (Parallel Line Internet Protocol is mainly used to
|
|
|
|
create a mini network by connecting the parallel ports of two local
|
|
|
|
machines) etc., then you need to say Y here; please read
|
2018-05-09 02:14:57 +08:00
|
|
|
<file:Documentation/admin-guide/parport.rst> and
|
2005-04-17 06:20:36 +08:00
|
|
|
<file:drivers/parport/BUGS-parport>.
|
|
|
|
|
|
|
|
For extensive information about drivers for many devices attaching
|
|
|
|
to the parallel port see <http://www.torque.net/linux-pp.html> on
|
|
|
|
the WWW.
|
|
|
|
|
|
|
|
It is possible to share a single parallel port among several devices
|
|
|
|
and it is safe to compile all the corresponding drivers into the
|
|
|
|
kernel. To compile parallel port support as a module, choose M here:
|
|
|
|
the module will be called parport.
|
|
|
|
If you have more than one parallel port and want to specify which
|
|
|
|
port and IRQ to be used by this driver at module load time, take a
|
2018-05-09 02:14:57 +08:00
|
|
|
look at <file:Documentation/admin-guide/parport.rst>.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
2007-07-16 14:39:37 +08:00
|
|
|
if PARPORT
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config PARPORT_PC
|
|
|
|
tristate "PC-style hardware"
|
2022-02-15 04:16:50 +08:00
|
|
|
depends on ARCH_MIGHT_HAVE_PC_PARPORT || (PCI && !S390)
|
2013-11-16 06:05:15 +08:00
|
|
|
help
|
2005-04-17 06:20:36 +08:00
|
|
|
You should say Y here if you have a PC-style parallel port. All
|
|
|
|
IBM PC compatible computers and some Alphas have PC-style
|
|
|
|
parallel ports. PA-RISC owners should only say Y here if they
|
|
|
|
have a SuperIO parallel port.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called parport_pc.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
config PARPORT_SERIAL
|
|
|
|
tristate "Multi-IO cards (parallel and serial)"
|
2006-06-18 20:00:48 +08:00
|
|
|
depends on SERIAL_8250_PCI && PARPORT_PC && PCI
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This adds support for multi-IO PCI cards that have parallel and
|
|
|
|
serial ports. You should say Y or M here. If you say M, the module
|
|
|
|
will be called parport_serial.
|
|
|
|
|
|
|
|
config PARPORT_PC_FIFO
|
2012-11-06 07:04:23 +08:00
|
|
|
bool "Use FIFO/DMA if available"
|
|
|
|
depends on PARPORT_PC
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
Many parallel port chipsets provide hardware that can speed up
|
|
|
|
printing. Say Y here if you want to take advantage of that.
|
|
|
|
|
|
|
|
As well as actually having a FIFO, or DMA capability, the kernel
|
|
|
|
will need to know which IRQ the parallel port has. By default,
|
|
|
|
parallel port interrupts will not be used, and so neither will the
|
2018-05-09 02:14:57 +08:00
|
|
|
FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to
|
2005-04-17 06:20:36 +08:00
|
|
|
specify which IRQ/DMA to use.
|
|
|
|
|
|
|
|
config PARPORT_PC_SUPERIO
|
2012-11-06 07:04:23 +08:00
|
|
|
bool "SuperIO chipset support"
|
2022-02-15 04:16:50 +08:00
|
|
|
depends on ARCH_MIGHT_HAVE_PC_PARPORT && PARPORT_PC && !PARISC
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
Saying Y here enables some probes for Super-IO chipsets in order to
|
|
|
|
find out things like base addresses, IRQ lines and DMA channels. It
|
|
|
|
is safe to say N.
|
|
|
|
|
|
|
|
config PARPORT_PC_PCMCIA
|
|
|
|
tristate "Support for PCMCIA management for PC-style ports"
|
2006-01-06 16:19:52 +08:00
|
|
|
depends on PCMCIA && PARPORT_PC
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
Say Y here if you need PCMCIA support for your PC-style parallel
|
|
|
|
ports. If unsure, say N.
|
|
|
|
|
2006-02-03 19:04:16 +08:00
|
|
|
config PARPORT_IP32
|
2012-11-06 07:04:23 +08:00
|
|
|
tristate "SGI IP32 builtin port"
|
|
|
|
depends on SGI_IP32
|
2006-02-03 19:04:16 +08:00
|
|
|
select PARPORT_NOT_PC
|
|
|
|
help
|
|
|
|
Say Y here if you need support for the parallel port on
|
|
|
|
SGI O2 machines. This code is also available as a module (say M),
|
|
|
|
called parport_ip32. If in doubt, saying N is the safe plan.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config PARPORT_AMIGA
|
|
|
|
tristate "Amiga builtin port"
|
2007-07-16 14:39:37 +08:00
|
|
|
depends on AMIGA
|
2005-04-17 06:20:36 +08:00
|
|
|
select PARPORT_NOT_PC
|
|
|
|
help
|
|
|
|
Say Y here if you need support for the parallel port hardware on
|
|
|
|
Amiga machines. This code is also available as a module (say M),
|
|
|
|
called parport_amiga. If in doubt, saying N is the safe plan.
|
|
|
|
|
|
|
|
config PARPORT_MFC3
|
|
|
|
tristate "Multiface III parallel port"
|
2007-07-16 14:39:37 +08:00
|
|
|
depends on ZORRO
|
2005-04-17 06:20:36 +08:00
|
|
|
select PARPORT_NOT_PC
|
|
|
|
help
|
|
|
|
Say Y here if you need parallel port support for the MFC3 card.
|
|
|
|
This code is also available as a module (say M), called
|
|
|
|
parport_mfc3. If in doubt, saying N is the safe plan.
|
|
|
|
|
|
|
|
config PARPORT_ATARI
|
|
|
|
tristate "Atari hardware"
|
2007-07-16 14:39:37 +08:00
|
|
|
depends on ATARI
|
2005-04-17 06:20:36 +08:00
|
|
|
select PARPORT_NOT_PC
|
|
|
|
help
|
|
|
|
Say Y here if you need support for the parallel port hardware on
|
|
|
|
Atari machines. This code is also available as a module (say M),
|
|
|
|
called parport_atari. If in doubt, saying N is the safe plan.
|
|
|
|
|
|
|
|
config PARPORT_GSC
|
|
|
|
tristate
|
|
|
|
default GSC
|
2006-01-11 09:47:59 +08:00
|
|
|
select PARPORT_NOT_PC
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config PARPORT_SUNBPP
|
2012-11-06 07:04:23 +08:00
|
|
|
tristate "Sparc hardware"
|
|
|
|
depends on SBUS
|
2005-04-17 06:20:36 +08:00
|
|
|
select PARPORT_NOT_PC
|
|
|
|
help
|
|
|
|
This driver provides support for the bidirectional parallel port
|
|
|
|
found on many Sun machines. Note that many of the newer Ultras
|
|
|
|
actually have pc style hardware instead.
|
|
|
|
|
|
|
|
config PARPORT_1284
|
|
|
|
bool "IEEE 1284 transfer modes"
|
|
|
|
help
|
|
|
|
If you have a printer that supports status readback or device ID, or
|
|
|
|
want to use a device that uses enhanced parallel port transfer modes
|
|
|
|
such as EPP and ECP, say Y here to enable advanced IEEE 1284
|
|
|
|
transfer modes. Also say Y if you want device ID information to
|
|
|
|
appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
|
|
|
|
|
2006-12-10 18:18:37 +08:00
|
|
|
config PARPORT_NOT_PC
|
|
|
|
bool
|
|
|
|
|
2007-07-16 14:39:37 +08:00
|
|
|
endif # PARPORT
|