18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# For a description of the syntax of this configuration file,
48c2ecf20Sopenharmony_ci# see Documentation/kbuild/kconfig-language.rst.
58c2ecf20Sopenharmony_ci#
68c2ecf20Sopenharmony_ci# Parport configuration.
78c2ecf20Sopenharmony_ci#
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciconfig ARCH_MIGHT_HAVE_PC_PARPORT
108c2ecf20Sopenharmony_ci	bool
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	  Select this config option from the architecture Kconfig if
138c2ecf20Sopenharmony_ci	  the architecture might have PC parallel port hardware.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_cimenuconfig PARPORT
168c2ecf20Sopenharmony_ci	tristate "Parallel port support"
178c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
188c2ecf20Sopenharmony_ci	help
198c2ecf20Sopenharmony_ci	  If you want to use devices connected to your machine's parallel port
208c2ecf20Sopenharmony_ci	  (the connector at the computer with 25 holes), e.g. printer, ZIP
218c2ecf20Sopenharmony_ci	  drive, PLIP link (Parallel Line Internet Protocol is mainly used to
228c2ecf20Sopenharmony_ci	  create a mini network by connecting the parallel ports of two local
238c2ecf20Sopenharmony_ci	  machines) etc., then you need to say Y here; please read
248c2ecf20Sopenharmony_ci	  <file:Documentation/admin-guide/parport.rst> and
258c2ecf20Sopenharmony_ci	  <file:drivers/parport/BUGS-parport>.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	  For extensive information about drivers for many devices attaching
288c2ecf20Sopenharmony_ci	  to the parallel port see <http://www.torque.net/linux-pp.html> on
298c2ecf20Sopenharmony_ci	  the WWW.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci	  It is possible to share a single parallel port among several devices
328c2ecf20Sopenharmony_ci	  and it is safe to compile all the corresponding drivers into the
338c2ecf20Sopenharmony_ci	  kernel. To compile parallel port support as a module, choose M here:
348c2ecf20Sopenharmony_ci	  the module will be called parport.
358c2ecf20Sopenharmony_ci	  If you have more than one parallel port and want to specify which
368c2ecf20Sopenharmony_ci	  port and IRQ to be used by this driver at module load time, take a
378c2ecf20Sopenharmony_ci	  look at <file:Documentation/admin-guide/parport.rst>.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci	  If unsure, say Y.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciif PARPORT
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciconfig PARPORT_PC
448c2ecf20Sopenharmony_ci	tristate "PC-style hardware"
458c2ecf20Sopenharmony_ci	depends on ARCH_MIGHT_HAVE_PC_PARPORT
468c2ecf20Sopenharmony_ci	help
478c2ecf20Sopenharmony_ci	  You should say Y here if you have a PC-style parallel port. All
488c2ecf20Sopenharmony_ci	  IBM PC compatible computers and some Alphas have PC-style
498c2ecf20Sopenharmony_ci	  parallel ports.  PA-RISC owners should only say Y here if they
508c2ecf20Sopenharmony_ci	  have a SuperIO parallel port.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
538c2ecf20Sopenharmony_ci	  module will be called parport_pc.
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci	  If unsure, say Y.
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ciconfig PARPORT_SERIAL
588c2ecf20Sopenharmony_ci	tristate "Multi-IO cards (parallel and serial)"
598c2ecf20Sopenharmony_ci	depends on SERIAL_8250_PCI && PARPORT_PC && PCI
608c2ecf20Sopenharmony_ci	help
618c2ecf20Sopenharmony_ci	  This adds support for multi-IO PCI cards that have parallel and
628c2ecf20Sopenharmony_ci	  serial ports.  You should say Y or M here.  If you say M, the module
638c2ecf20Sopenharmony_ci	  will be called parport_serial.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciconfig PARPORT_PC_FIFO
668c2ecf20Sopenharmony_ci	bool "Use FIFO/DMA if available"
678c2ecf20Sopenharmony_ci	depends on PARPORT_PC
688c2ecf20Sopenharmony_ci	help
698c2ecf20Sopenharmony_ci	  Many parallel port chipsets provide hardware that can speed up
708c2ecf20Sopenharmony_ci	  printing. Say Y here if you want to take advantage of that.
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ci	  As well as actually having a FIFO, or DMA capability, the kernel
738c2ecf20Sopenharmony_ci	  will need to know which IRQ the parallel port has.  By default,
748c2ecf20Sopenharmony_ci	  parallel port interrupts will not be used, and so neither will the
758c2ecf20Sopenharmony_ci	  FIFO.  See <file:Documentation/admin-guide/parport.rst> to find out how to
768c2ecf20Sopenharmony_ci	  specify which IRQ/DMA to use.
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ciconfig PARPORT_PC_SUPERIO
798c2ecf20Sopenharmony_ci	bool "SuperIO chipset support"
808c2ecf20Sopenharmony_ci	depends on PARPORT_PC && !PARISC
818c2ecf20Sopenharmony_ci	help
828c2ecf20Sopenharmony_ci	  Saying Y here enables some probes for Super-IO chipsets in order to
838c2ecf20Sopenharmony_ci	  find out things like base addresses, IRQ lines and DMA channels.  It
848c2ecf20Sopenharmony_ci	  is safe to say N.
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ciconfig PARPORT_PC_PCMCIA
878c2ecf20Sopenharmony_ci	tristate "Support for PCMCIA management for PC-style ports"
888c2ecf20Sopenharmony_ci	depends on PCMCIA && PARPORT_PC
898c2ecf20Sopenharmony_ci	help
908c2ecf20Sopenharmony_ci	  Say Y here if you need PCMCIA support for your PC-style parallel
918c2ecf20Sopenharmony_ci	  ports. If unsure, say N.
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ciconfig PARPORT_IP32
948c2ecf20Sopenharmony_ci	tristate "SGI IP32 builtin port"
958c2ecf20Sopenharmony_ci	depends on SGI_IP32
968c2ecf20Sopenharmony_ci	select PARPORT_NOT_PC
978c2ecf20Sopenharmony_ci	help
988c2ecf20Sopenharmony_ci	  Say Y here if you need support for the parallel port on
998c2ecf20Sopenharmony_ci	  SGI O2 machines. This code is also available as a module (say M),
1008c2ecf20Sopenharmony_ci	  called parport_ip32.  If in doubt, saying N is the safe plan.
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ciconfig PARPORT_AMIGA
1038c2ecf20Sopenharmony_ci	tristate "Amiga builtin port"
1048c2ecf20Sopenharmony_ci	depends on AMIGA
1058c2ecf20Sopenharmony_ci	select PARPORT_NOT_PC
1068c2ecf20Sopenharmony_ci	help
1078c2ecf20Sopenharmony_ci	  Say Y here if you need support for the parallel port hardware on
1088c2ecf20Sopenharmony_ci	  Amiga machines. This code is also available as a module (say M),
1098c2ecf20Sopenharmony_ci	  called parport_amiga. If in doubt, saying N is the safe plan.
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ciconfig PARPORT_MFC3
1128c2ecf20Sopenharmony_ci	tristate "Multiface III parallel port"
1138c2ecf20Sopenharmony_ci	depends on ZORRO
1148c2ecf20Sopenharmony_ci	select PARPORT_NOT_PC
1158c2ecf20Sopenharmony_ci	help
1168c2ecf20Sopenharmony_ci	  Say Y here if you need parallel port support for the MFC3 card.
1178c2ecf20Sopenharmony_ci	  This code is also available as a module (say M), called
1188c2ecf20Sopenharmony_ci	  parport_mfc3. If in doubt, saying N is the safe plan.
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ciconfig PARPORT_ATARI
1218c2ecf20Sopenharmony_ci	tristate "Atari hardware"
1228c2ecf20Sopenharmony_ci	depends on ATARI
1238c2ecf20Sopenharmony_ci	select PARPORT_NOT_PC
1248c2ecf20Sopenharmony_ci	help
1258c2ecf20Sopenharmony_ci	  Say Y here if you need support for the parallel port hardware on
1268c2ecf20Sopenharmony_ci	  Atari machines. This code is also available as a module (say M),
1278c2ecf20Sopenharmony_ci	  called parport_atari. If in doubt, saying N is the safe plan.
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ciconfig PARPORT_GSC
1308c2ecf20Sopenharmony_ci	tristate
1318c2ecf20Sopenharmony_ci	default GSC
1328c2ecf20Sopenharmony_ci	select PARPORT_NOT_PC
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ciconfig PARPORT_SUNBPP
1358c2ecf20Sopenharmony_ci	tristate "Sparc hardware"
1368c2ecf20Sopenharmony_ci	depends on SBUS
1378c2ecf20Sopenharmony_ci	select PARPORT_NOT_PC
1388c2ecf20Sopenharmony_ci	help
1398c2ecf20Sopenharmony_ci	  This driver provides support for the bidirectional parallel port
1408c2ecf20Sopenharmony_ci	  found on many Sun machines. Note that many of the newer Ultras
1418c2ecf20Sopenharmony_ci	  actually have pc style hardware instead.
1428c2ecf20Sopenharmony_ci
1438c2ecf20Sopenharmony_ciconfig PARPORT_AX88796
1448c2ecf20Sopenharmony_ci	tristate "AX88796 Parallel Port"
1458c2ecf20Sopenharmony_ci	select PARPORT_NOT_PC
1468c2ecf20Sopenharmony_ci	help
1478c2ecf20Sopenharmony_ci	  Say Y here if you need support for the parallel port hardware on
1488c2ecf20Sopenharmony_ci	  the AX88796 network controller chip. This code is also available
1498c2ecf20Sopenharmony_ci	  as a module (say M), called parport_ax88796.
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ci	  The driver is not dependent on the AX88796 network driver, and
1528c2ecf20Sopenharmony_ci	  should not interfere with the networking functions of the chip.
1538c2ecf20Sopenharmony_ci
1548c2ecf20Sopenharmony_ciconfig PARPORT_1284
1558c2ecf20Sopenharmony_ci	bool "IEEE 1284 transfer modes"
1568c2ecf20Sopenharmony_ci	help
1578c2ecf20Sopenharmony_ci	  If you have a printer that supports status readback or device ID, or
1588c2ecf20Sopenharmony_ci	  want to use a device that uses enhanced parallel port transfer modes
1598c2ecf20Sopenharmony_ci	  such as EPP and ECP, say Y here to enable advanced IEEE 1284
1608c2ecf20Sopenharmony_ci	  transfer modes. Also say Y if you want device ID information to
1618c2ecf20Sopenharmony_ci	  appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ciconfig PARPORT_NOT_PC
1648c2ecf20Sopenharmony_ci	bool
1658c2ecf20Sopenharmony_ci
1668c2ecf20Sopenharmony_ciendif # PARPORT
167