Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.rst.
#
# Parport configuration.
#

config 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.

menuconfig CONFIG_PARPORT
	tristate "Parallel port support"
	depends on CONFIG_HAS_IOMEM
	---help---
	  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, CONFIG_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
	  <file:Documentation/admin-guide/parport.rst> and
	  <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 CONFIG_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
	  look at <file:Documentation/admin-guide/parport.rst>.

	  If unsure, say Y.

if CONFIG_PARPORT

config CONFIG_PARPORT_PC
	tristate "PC-style hardware"
	depends on CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT
	help
	  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 CONFIG_M here: the
	  module will be called parport_pc.

	  If unsure, say Y.

config CONFIG_PARPORT_SERIAL
	tristate "Multi-IO cards (parallel and serial)"
	depends on CONFIG_SERIAL_8250_PCI && CONFIG_PARPORT_PC && CONFIG_PCI
	help
	  This adds support for multi-IO CONFIG_PCI cards that have parallel and
	  serial ports.  You should say Y or CONFIG_M here.  If you say CONFIG_M, the module
	  will be called parport_serial.

config CONFIG_PARPORT_PC_FIFO
	bool "Use FIFO/DMA if available"
	depends on CONFIG_PARPORT_PC
	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
	  FIFO.  See <file:Documentation/admin-guide/parport.rst> to find out how to
	  specify which IRQ/DMA to use.

config CONFIG_PARPORT_PC_SUPERIO
	bool "SuperIO chipset support"
	depends on CONFIG_PARPORT_PC && !CONFIG_PARISC
	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 CONFIG_PARPORT_PC_PCMCIA
	tristate "Support for PCMCIA management for PC-style ports"
	depends on CONFIG_PCMCIA && CONFIG_PARPORT_PC
	help
	  Say Y here if you need CONFIG_PCMCIA support for your PC-style parallel
	  ports. If unsure, say N.

config CONFIG_PARPORT_IP32
	tristate "SGI IP32 builtin port"
	depends on CONFIG_SGI_IP32
	select CONFIG_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 CONFIG_M),
	  called parport_ip32.  If in doubt, saying N is the safe plan.

config CONFIG_PARPORT_AMIGA
	tristate "Amiga builtin port"
	depends on CONFIG_AMIGA
	select CONFIG_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 CONFIG_M),
	  called parport_amiga. If in doubt, saying N is the safe plan.

config CONFIG_PARPORT_MFC3
	tristate "Multiface III parallel port"
	depends on CONFIG_ZORRO
	select CONFIG_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 CONFIG_M), called
	  parport_mfc3. If in doubt, saying N is the safe plan.

config CONFIG_PARPORT_ATARI
	tristate "Atari hardware"
	depends on CONFIG_ATARI
	select CONFIG_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 CONFIG_M),
	  called parport_atari. If in doubt, saying N is the safe plan.

config CONFIG_PARPORT_GSC
	tristate
	default CONFIG_GSC
	select CONFIG_PARPORT_NOT_PC

config CONFIG_PARPORT_SUNBPP
	tristate "Sparc hardware"
	depends on CONFIG_SBUS
	select CONFIG_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 CONFIG_PARPORT_AX88796
	tristate "AX88796 Parallel Port"
	select CONFIG_PARPORT_NOT_PC
	help
	  Say Y here if you need support for the parallel port hardware on
	  the CONFIG_AX88796 network controller chip. This code is also available
	  as a module (say CONFIG_M), called parport_ax88796.

	  The driver is not dependent on the CONFIG_AX88796 network driver, and
	  should not interfere with the networking functions of the chip.

config 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.

config CONFIG_PARPORT_NOT_PC
	bool

endif # CONFIG_PARPORT