162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# For a description of the syntax of this configuration file, 462306a36Sopenharmony_ci# see Documentation/kbuild/kconfig-language.rst. 562306a36Sopenharmony_ci# 662306a36Sopenharmony_ci# Parport configuration. 762306a36Sopenharmony_ci# 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciconfig ARCH_MIGHT_HAVE_PC_PARPORT 1062306a36Sopenharmony_ci bool 1162306a36Sopenharmony_ci help 1262306a36Sopenharmony_ci Select this config option from the architecture Kconfig if 1362306a36Sopenharmony_ci the architecture might have PC parallel port hardware. 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_cimenuconfig PARPORT 1662306a36Sopenharmony_ci tristate "Parallel port support" 1762306a36Sopenharmony_ci depends on HAS_IOMEM 1862306a36Sopenharmony_ci help 1962306a36Sopenharmony_ci If you want to use devices connected to your machine's parallel port 2062306a36Sopenharmony_ci (the connector at the computer with 25 holes), e.g. printer, ZIP 2162306a36Sopenharmony_ci drive, PLIP link (Parallel Line Internet Protocol is mainly used to 2262306a36Sopenharmony_ci create a mini network by connecting the parallel ports of two local 2362306a36Sopenharmony_ci machines) etc., then you need to say Y here; please read 2462306a36Sopenharmony_ci <file:Documentation/admin-guide/parport.rst> and 2562306a36Sopenharmony_ci <file:drivers/parport/BUGS-parport>. 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci For extensive information about drivers for many devices attaching 2862306a36Sopenharmony_ci to the parallel port see <http://www.torque.net/linux-pp.html> on 2962306a36Sopenharmony_ci the WWW. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci It is possible to share a single parallel port among several devices 3262306a36Sopenharmony_ci and it is safe to compile all the corresponding drivers into the 3362306a36Sopenharmony_ci kernel. To compile parallel port support as a module, choose M here: 3462306a36Sopenharmony_ci the module will be called parport. 3562306a36Sopenharmony_ci If you have more than one parallel port and want to specify which 3662306a36Sopenharmony_ci port and IRQ to be used by this driver at module load time, take a 3762306a36Sopenharmony_ci look at <file:Documentation/admin-guide/parport.rst>. 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ci If unsure, say Y. 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ciif PARPORT 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ciconfig PARPORT_PC 4462306a36Sopenharmony_ci tristate "PC-style hardware" 4562306a36Sopenharmony_ci depends on ARCH_MIGHT_HAVE_PC_PARPORT || PCI 4662306a36Sopenharmony_ci depends on HAS_IOPORT 4762306a36Sopenharmony_ci help 4862306a36Sopenharmony_ci You should say Y here if you have a PC-style parallel port. All 4962306a36Sopenharmony_ci IBM PC compatible computers and some Alphas have PC-style 5062306a36Sopenharmony_ci parallel ports. PA-RISC owners should only say Y here if they 5162306a36Sopenharmony_ci have a SuperIO parallel port. 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ci To compile this driver as a module, choose M here: the 5462306a36Sopenharmony_ci module will be called parport_pc. 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ci If unsure, say Y. 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ciconfig PARPORT_SERIAL 5962306a36Sopenharmony_ci tristate "Multi-IO cards (parallel and serial)" 6062306a36Sopenharmony_ci depends on SERIAL_8250_PCI && PARPORT_PC && PCI 6162306a36Sopenharmony_ci help 6262306a36Sopenharmony_ci This adds support for multi-IO PCI cards that have parallel and 6362306a36Sopenharmony_ci serial ports. You should say Y or M here. If you say M, the module 6462306a36Sopenharmony_ci will be called parport_serial. 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciconfig PARPORT_PC_FIFO 6762306a36Sopenharmony_ci bool "Use FIFO/DMA if available" 6862306a36Sopenharmony_ci depends on PARPORT_PC 6962306a36Sopenharmony_ci help 7062306a36Sopenharmony_ci Many parallel port chipsets provide hardware that can speed up 7162306a36Sopenharmony_ci printing. Say Y here if you want to take advantage of that. 7262306a36Sopenharmony_ci 7362306a36Sopenharmony_ci As well as actually having a FIFO, or DMA capability, the kernel 7462306a36Sopenharmony_ci will need to know which IRQ the parallel port has. By default, 7562306a36Sopenharmony_ci parallel port interrupts will not be used, and so neither will the 7662306a36Sopenharmony_ci FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to 7762306a36Sopenharmony_ci specify which IRQ/DMA to use. 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ciconfig PARPORT_PC_SUPERIO 8062306a36Sopenharmony_ci bool "SuperIO chipset support" 8162306a36Sopenharmony_ci depends on ARCH_MIGHT_HAVE_PC_PARPORT && PARPORT_PC && !PARISC 8262306a36Sopenharmony_ci help 8362306a36Sopenharmony_ci Saying Y here enables some probes for Super-IO chipsets in order to 8462306a36Sopenharmony_ci find out things like base addresses, IRQ lines and DMA channels. It 8562306a36Sopenharmony_ci is safe to say N. 8662306a36Sopenharmony_ci 8762306a36Sopenharmony_ciconfig PARPORT_PC_PCMCIA 8862306a36Sopenharmony_ci tristate "Support for PCMCIA management for PC-style ports" 8962306a36Sopenharmony_ci depends on PCMCIA && PARPORT_PC 9062306a36Sopenharmony_ci help 9162306a36Sopenharmony_ci Say Y here if you need PCMCIA support for your PC-style parallel 9262306a36Sopenharmony_ci ports. If unsure, say N. 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ciconfig PARPORT_IP32 9562306a36Sopenharmony_ci tristate "SGI IP32 builtin port" 9662306a36Sopenharmony_ci depends on SGI_IP32 9762306a36Sopenharmony_ci select PARPORT_NOT_PC 9862306a36Sopenharmony_ci help 9962306a36Sopenharmony_ci Say Y here if you need support for the parallel port on 10062306a36Sopenharmony_ci SGI O2 machines. This code is also available as a module (say M), 10162306a36Sopenharmony_ci called parport_ip32. If in doubt, saying N is the safe plan. 10262306a36Sopenharmony_ci 10362306a36Sopenharmony_ciconfig PARPORT_AMIGA 10462306a36Sopenharmony_ci tristate "Amiga builtin port" 10562306a36Sopenharmony_ci depends on AMIGA 10662306a36Sopenharmony_ci select PARPORT_NOT_PC 10762306a36Sopenharmony_ci help 10862306a36Sopenharmony_ci Say Y here if you need support for the parallel port hardware on 10962306a36Sopenharmony_ci Amiga machines. This code is also available as a module (say M), 11062306a36Sopenharmony_ci called parport_amiga. If in doubt, saying N is the safe plan. 11162306a36Sopenharmony_ci 11262306a36Sopenharmony_ciconfig PARPORT_MFC3 11362306a36Sopenharmony_ci tristate "Multiface III parallel port" 11462306a36Sopenharmony_ci depends on ZORRO 11562306a36Sopenharmony_ci select PARPORT_NOT_PC 11662306a36Sopenharmony_ci help 11762306a36Sopenharmony_ci Say Y here if you need parallel port support for the MFC3 card. 11862306a36Sopenharmony_ci This code is also available as a module (say M), called 11962306a36Sopenharmony_ci parport_mfc3. If in doubt, saying N is the safe plan. 12062306a36Sopenharmony_ci 12162306a36Sopenharmony_ciconfig PARPORT_ATARI 12262306a36Sopenharmony_ci tristate "Atari hardware" 12362306a36Sopenharmony_ci depends on ATARI 12462306a36Sopenharmony_ci select PARPORT_NOT_PC 12562306a36Sopenharmony_ci help 12662306a36Sopenharmony_ci Say Y here if you need support for the parallel port hardware on 12762306a36Sopenharmony_ci Atari machines. This code is also available as a module (say M), 12862306a36Sopenharmony_ci called parport_atari. If in doubt, saying N is the safe plan. 12962306a36Sopenharmony_ci 13062306a36Sopenharmony_ciconfig PARPORT_GSC 13162306a36Sopenharmony_ci tristate 13262306a36Sopenharmony_ci default GSC 13362306a36Sopenharmony_ci select PARPORT_NOT_PC 13462306a36Sopenharmony_ci 13562306a36Sopenharmony_ciconfig PARPORT_SUNBPP 13662306a36Sopenharmony_ci tristate "Sparc hardware" 13762306a36Sopenharmony_ci depends on SBUS 13862306a36Sopenharmony_ci select PARPORT_NOT_PC 13962306a36Sopenharmony_ci help 14062306a36Sopenharmony_ci This driver provides support for the bidirectional parallel port 14162306a36Sopenharmony_ci found on many Sun machines. Note that many of the newer Ultras 14262306a36Sopenharmony_ci actually have pc style hardware instead. 14362306a36Sopenharmony_ci 14462306a36Sopenharmony_ciconfig PARPORT_1284 14562306a36Sopenharmony_ci bool "IEEE 1284 transfer modes" 14662306a36Sopenharmony_ci help 14762306a36Sopenharmony_ci If you have a printer that supports status readback or device ID, or 14862306a36Sopenharmony_ci want to use a device that uses enhanced parallel port transfer modes 14962306a36Sopenharmony_ci such as EPP and ECP, say Y here to enable advanced IEEE 1284 15062306a36Sopenharmony_ci transfer modes. Also say Y if you want device ID information to 15162306a36Sopenharmony_ci appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N. 15262306a36Sopenharmony_ci 15362306a36Sopenharmony_ciconfig PARPORT_NOT_PC 15462306a36Sopenharmony_ci bool 15562306a36Sopenharmony_ci 15662306a36Sopenharmony_ciendif # PARPORT 157