xref: /linux/drivers/parport/Kconfig (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# For a description of the syntax of this configuration file,
4cd238effSMauro Carvalho Chehab# see Documentation/kbuild/kconfig-language.rst.
51da177e4SLinus Torvalds#
61da177e4SLinus Torvalds# Parport configuration.
71da177e4SLinus Torvalds#
81da177e4SLinus Torvalds
9edffe1b6SRandy Dunlapconfig ARCH_MIGHT_HAVE_PC_PARPORT
10edffe1b6SRandy Dunlap	bool
11edffe1b6SRandy Dunlap	help
12edffe1b6SRandy Dunlap	  Select this config option from the architecture Kconfig if
13edffe1b6SRandy Dunlap	  the architecture might have PC parallel port hardware.
14edffe1b6SRandy Dunlap
159f5096c5SJan Engelhardtmenuconfig PARPORT
161da177e4SLinus Torvalds	tristate "Parallel port support"
179f5096c5SJan Engelhardt	depends on HAS_IOMEM
18a7f7f624SMasahiro Yamada	help
191da177e4SLinus Torvalds	  If you want to use devices connected to your machine's parallel port
201da177e4SLinus Torvalds	  (the connector at the computer with 25 holes), e.g. printer, ZIP
211da177e4SLinus Torvalds	  drive, PLIP link (Parallel Line Internet Protocol is mainly used to
221da177e4SLinus Torvalds	  create a mini network by connecting the parallel ports of two local
231da177e4SLinus Torvalds	  machines) etc., then you need to say Y here; please read
245fb94e9cSMauro Carvalho Chehab	  <file:Documentation/admin-guide/parport.rst> and
251da177e4SLinus Torvalds	  <file:drivers/parport/BUGS-parport>.
261da177e4SLinus Torvalds
271da177e4SLinus Torvalds	  For extensive information about drivers for many devices attaching
281da177e4SLinus Torvalds	  to the parallel port see <http://www.torque.net/linux-pp.html> on
291da177e4SLinus Torvalds	  the WWW.
301da177e4SLinus Torvalds
311da177e4SLinus Torvalds	  It is possible to share a single parallel port among several devices
321da177e4SLinus Torvalds	  and it is safe to compile all the corresponding drivers into the
331da177e4SLinus Torvalds	  kernel. To compile parallel port support as a module, choose M here:
341da177e4SLinus Torvalds	  the module will be called parport.
351da177e4SLinus Torvalds	  If you have more than one parallel port and want to specify which
361da177e4SLinus Torvalds	  port and IRQ to be used by this driver at module load time, take a
375fb94e9cSMauro Carvalho Chehab	  look at <file:Documentation/admin-guide/parport.rst>.
381da177e4SLinus Torvalds
391da177e4SLinus Torvalds	  If unsure, say Y.
401da177e4SLinus Torvalds
419f5096c5SJan Engelhardtif PARPORT
429f5096c5SJan Engelhardt
431da177e4SLinus Torvaldsconfig PARPORT_PC
441da177e4SLinus Torvalds	tristate "PC-style hardware"
45*ce3e8ec0SNiklas Schnelle	depends on ARCH_MIGHT_HAVE_PC_PARPORT || PCI
46*ce3e8ec0SNiklas Schnelle	depends on HAS_IOPORT
47f13399f0SLinus Torvalds	help
481da177e4SLinus Torvalds	  You should say Y here if you have a PC-style parallel port. All
491da177e4SLinus Torvalds	  IBM PC compatible computers and some Alphas have PC-style
501da177e4SLinus Torvalds	  parallel ports.  PA-RISC owners should only say Y here if they
511da177e4SLinus Torvalds	  have a SuperIO parallel port.
521da177e4SLinus Torvalds
531da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
541da177e4SLinus Torvalds	  module will be called parport_pc.
551da177e4SLinus Torvalds
561da177e4SLinus Torvalds	  If unsure, say Y.
571da177e4SLinus Torvalds
581da177e4SLinus Torvaldsconfig PARPORT_SERIAL
591da177e4SLinus Torvalds	tristate "Multi-IO cards (parallel and serial)"
6014228a49SRussell King	depends on SERIAL_8250_PCI && PARPORT_PC && PCI
611da177e4SLinus Torvalds	help
621da177e4SLinus Torvalds	  This adds support for multi-IO PCI cards that have parallel and
631da177e4SLinus Torvalds	  serial ports.  You should say Y or M here.  If you say M, the module
641da177e4SLinus Torvalds	  will be called parport_serial.
651da177e4SLinus Torvalds
661da177e4SLinus Torvaldsconfig PARPORT_PC_FIFO
676e8bd6e7SKees Cook	bool "Use FIFO/DMA if available"
686e8bd6e7SKees Cook	depends on PARPORT_PC
691da177e4SLinus Torvalds	help
701da177e4SLinus Torvalds	  Many parallel port chipsets provide hardware that can speed up
711da177e4SLinus Torvalds	  printing. Say Y here if you want to take advantage of that.
721da177e4SLinus Torvalds
731da177e4SLinus Torvalds	  As well as actually having a FIFO, or DMA capability, the kernel
741da177e4SLinus Torvalds	  will need to know which IRQ the parallel port has.  By default,
751da177e4SLinus Torvalds	  parallel port interrupts will not be used, and so neither will the
765fb94e9cSMauro Carvalho Chehab	  FIFO.  See <file:Documentation/admin-guide/parport.rst> to find out how to
771da177e4SLinus Torvalds	  specify which IRQ/DMA to use.
781da177e4SLinus Torvalds
791da177e4SLinus Torvaldsconfig PARPORT_PC_SUPERIO
806e8bd6e7SKees Cook	bool "SuperIO chipset support"
8166bcd060SMaciej W. Rozycki	depends on ARCH_MIGHT_HAVE_PC_PARPORT && PARPORT_PC && !PARISC
821da177e4SLinus Torvalds	help
831da177e4SLinus Torvalds	  Saying Y here enables some probes for Super-IO chipsets in order to
841da177e4SLinus Torvalds	  find out things like base addresses, IRQ lines and DMA channels.  It
851da177e4SLinus Torvalds	  is safe to say N.
861da177e4SLinus Torvalds
871da177e4SLinus Torvaldsconfig PARPORT_PC_PCMCIA
881da177e4SLinus Torvalds	tristate "Support for PCMCIA management for PC-style ports"
89a1b9168dSAdrian Bunk	depends on PCMCIA && PARPORT_PC
901da177e4SLinus Torvalds	help
911da177e4SLinus Torvalds	  Say Y here if you need PCMCIA support for your PC-style parallel
921da177e4SLinus Torvalds	  ports. If unsure, say N.
931da177e4SLinus Torvalds
948e75f744SArnaud Gierschconfig PARPORT_IP32
956e8bd6e7SKees Cook	tristate "SGI IP32 builtin port"
966e8bd6e7SKees Cook	depends on SGI_IP32
978e75f744SArnaud Giersch	select PARPORT_NOT_PC
988e75f744SArnaud Giersch	help
998e75f744SArnaud Giersch	  Say Y here if you need support for the parallel port on
1008e75f744SArnaud Giersch	  SGI O2 machines. This code is also available as a module (say M),
1018e75f744SArnaud Giersch	  called parport_ip32.  If in doubt, saying N is the safe plan.
1028e75f744SArnaud Giersch
1031da177e4SLinus Torvaldsconfig PARPORT_AMIGA
1041da177e4SLinus Torvalds	tristate "Amiga builtin port"
1059f5096c5SJan Engelhardt	depends on AMIGA
1061da177e4SLinus Torvalds	select PARPORT_NOT_PC
1071da177e4SLinus Torvalds	help
1081da177e4SLinus Torvalds	  Say Y here if you need support for the parallel port hardware on
1091da177e4SLinus Torvalds	  Amiga machines. This code is also available as a module (say M),
1101da177e4SLinus Torvalds	  called parport_amiga. If in doubt, saying N is the safe plan.
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvaldsconfig PARPORT_MFC3
1131da177e4SLinus Torvalds	tristate "Multiface III parallel port"
1149f5096c5SJan Engelhardt	depends on ZORRO
1151da177e4SLinus Torvalds	select PARPORT_NOT_PC
1161da177e4SLinus Torvalds	help
1171da177e4SLinus Torvalds	  Say Y here if you need parallel port support for the MFC3 card.
1181da177e4SLinus Torvalds	  This code is also available as a module (say M), called
1191da177e4SLinus Torvalds	  parport_mfc3. If in doubt, saying N is the safe plan.
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvaldsconfig PARPORT_ATARI
1221da177e4SLinus Torvalds	tristate "Atari hardware"
1239f5096c5SJan Engelhardt	depends on ATARI
1241da177e4SLinus Torvalds	select PARPORT_NOT_PC
1251da177e4SLinus Torvalds	help
1261da177e4SLinus Torvalds	  Say Y here if you need support for the parallel port hardware on
1271da177e4SLinus Torvalds	  Atari machines. This code is also available as a module (say M),
1281da177e4SLinus Torvalds	  called parport_atari. If in doubt, saying N is the safe plan.
1291da177e4SLinus Torvalds
1301da177e4SLinus Torvaldsconfig PARPORT_GSC
1311da177e4SLinus Torvalds	tristate
1321da177e4SLinus Torvalds	default GSC
1337c0b67efSGuy Martin	select PARPORT_NOT_PC
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldsconfig PARPORT_SUNBPP
1366e8bd6e7SKees Cook	tristate "Sparc hardware"
1376e8bd6e7SKees Cook	depends on SBUS
1381da177e4SLinus Torvalds	select PARPORT_NOT_PC
1391da177e4SLinus Torvalds	help
1401da177e4SLinus Torvalds	  This driver provides support for the bidirectional parallel port
1411da177e4SLinus Torvalds	  found on many Sun machines. Note that many of the newer Ultras
1421da177e4SLinus Torvalds	  actually have pc style hardware instead.
1431da177e4SLinus Torvalds
1441da177e4SLinus Torvaldsconfig PARPORT_1284
1451da177e4SLinus Torvalds	bool "IEEE 1284 transfer modes"
1461da177e4SLinus Torvalds	help
1471da177e4SLinus Torvalds	  If you have a printer that supports status readback or device ID, or
1481da177e4SLinus Torvalds	  want to use a device that uses enhanced parallel port transfer modes
1491da177e4SLinus Torvalds	  such as EPP and ECP, say Y here to enable advanced IEEE 1284
1501da177e4SLinus Torvalds	  transfer modes. Also say Y if you want device ID information to
1511da177e4SLinus Torvalds	  appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
1521da177e4SLinus Torvalds
153bf4735a4SDon Mullisconfig PARPORT_NOT_PC
154bf4735a4SDon Mullis	bool
155bf4735a4SDon Mullis
1569f5096c5SJan Engelhardtendif # PARPORT
157