1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# For a description of the syntax of this configuration file, 4*4882a593Smuzhiyun# see Documentation/kbuild/kconfig-language.rst. 5*4882a593Smuzhiyun# 6*4882a593Smuzhiyun# Parport configuration. 7*4882a593Smuzhiyun# 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunconfig ARCH_MIGHT_HAVE_PC_PARPORT 10*4882a593Smuzhiyun bool 11*4882a593Smuzhiyun help 12*4882a593Smuzhiyun Select this config option from the architecture Kconfig if 13*4882a593Smuzhiyun the architecture might have PC parallel port hardware. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyunmenuconfig PARPORT 16*4882a593Smuzhiyun tristate "Parallel port support" 17*4882a593Smuzhiyun depends on HAS_IOMEM 18*4882a593Smuzhiyun help 19*4882a593Smuzhiyun If you want to use devices connected to your machine's parallel port 20*4882a593Smuzhiyun (the connector at the computer with 25 holes), e.g. printer, ZIP 21*4882a593Smuzhiyun drive, PLIP link (Parallel Line Internet Protocol is mainly used to 22*4882a593Smuzhiyun create a mini network by connecting the parallel ports of two local 23*4882a593Smuzhiyun machines) etc., then you need to say Y here; please read 24*4882a593Smuzhiyun <file:Documentation/admin-guide/parport.rst> and 25*4882a593Smuzhiyun <file:drivers/parport/BUGS-parport>. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun For extensive information about drivers for many devices attaching 28*4882a593Smuzhiyun to the parallel port see <http://www.torque.net/linux-pp.html> on 29*4882a593Smuzhiyun the WWW. 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun It is possible to share a single parallel port among several devices 32*4882a593Smuzhiyun and it is safe to compile all the corresponding drivers into the 33*4882a593Smuzhiyun kernel. To compile parallel port support as a module, choose M here: 34*4882a593Smuzhiyun the module will be called parport. 35*4882a593Smuzhiyun If you have more than one parallel port and want to specify which 36*4882a593Smuzhiyun port and IRQ to be used by this driver at module load time, take a 37*4882a593Smuzhiyun look at <file:Documentation/admin-guide/parport.rst>. 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun If unsure, say Y. 40*4882a593Smuzhiyun 41*4882a593Smuzhiyunif PARPORT 42*4882a593Smuzhiyun 43*4882a593Smuzhiyunconfig PARPORT_PC 44*4882a593Smuzhiyun tristate "PC-style hardware" 45*4882a593Smuzhiyun depends on ARCH_MIGHT_HAVE_PC_PARPORT 46*4882a593Smuzhiyun help 47*4882a593Smuzhiyun You should say Y here if you have a PC-style parallel port. All 48*4882a593Smuzhiyun IBM PC compatible computers and some Alphas have PC-style 49*4882a593Smuzhiyun parallel ports. PA-RISC owners should only say Y here if they 50*4882a593Smuzhiyun have a SuperIO parallel port. 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun To compile this driver as a module, choose M here: the 53*4882a593Smuzhiyun module will be called parport_pc. 54*4882a593Smuzhiyun 55*4882a593Smuzhiyun If unsure, say Y. 56*4882a593Smuzhiyun 57*4882a593Smuzhiyunconfig PARPORT_SERIAL 58*4882a593Smuzhiyun tristate "Multi-IO cards (parallel and serial)" 59*4882a593Smuzhiyun depends on SERIAL_8250_PCI && PARPORT_PC && PCI 60*4882a593Smuzhiyun help 61*4882a593Smuzhiyun This adds support for multi-IO PCI cards that have parallel and 62*4882a593Smuzhiyun serial ports. You should say Y or M here. If you say M, the module 63*4882a593Smuzhiyun will be called parport_serial. 64*4882a593Smuzhiyun 65*4882a593Smuzhiyunconfig PARPORT_PC_FIFO 66*4882a593Smuzhiyun bool "Use FIFO/DMA if available" 67*4882a593Smuzhiyun depends on PARPORT_PC 68*4882a593Smuzhiyun help 69*4882a593Smuzhiyun Many parallel port chipsets provide hardware that can speed up 70*4882a593Smuzhiyun printing. Say Y here if you want to take advantage of that. 71*4882a593Smuzhiyun 72*4882a593Smuzhiyun As well as actually having a FIFO, or DMA capability, the kernel 73*4882a593Smuzhiyun will need to know which IRQ the parallel port has. By default, 74*4882a593Smuzhiyun parallel port interrupts will not be used, and so neither will the 75*4882a593Smuzhiyun FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to 76*4882a593Smuzhiyun specify which IRQ/DMA to use. 77*4882a593Smuzhiyun 78*4882a593Smuzhiyunconfig PARPORT_PC_SUPERIO 79*4882a593Smuzhiyun bool "SuperIO chipset support" 80*4882a593Smuzhiyun depends on PARPORT_PC && !PARISC 81*4882a593Smuzhiyun help 82*4882a593Smuzhiyun Saying Y here enables some probes for Super-IO chipsets in order to 83*4882a593Smuzhiyun find out things like base addresses, IRQ lines and DMA channels. It 84*4882a593Smuzhiyun is safe to say N. 85*4882a593Smuzhiyun 86*4882a593Smuzhiyunconfig PARPORT_PC_PCMCIA 87*4882a593Smuzhiyun tristate "Support for PCMCIA management for PC-style ports" 88*4882a593Smuzhiyun depends on PCMCIA && PARPORT_PC 89*4882a593Smuzhiyun help 90*4882a593Smuzhiyun Say Y here if you need PCMCIA support for your PC-style parallel 91*4882a593Smuzhiyun ports. If unsure, say N. 92*4882a593Smuzhiyun 93*4882a593Smuzhiyunconfig PARPORT_IP32 94*4882a593Smuzhiyun tristate "SGI IP32 builtin port" 95*4882a593Smuzhiyun depends on SGI_IP32 96*4882a593Smuzhiyun select PARPORT_NOT_PC 97*4882a593Smuzhiyun help 98*4882a593Smuzhiyun Say Y here if you need support for the parallel port on 99*4882a593Smuzhiyun SGI O2 machines. This code is also available as a module (say M), 100*4882a593Smuzhiyun called parport_ip32. If in doubt, saying N is the safe plan. 101*4882a593Smuzhiyun 102*4882a593Smuzhiyunconfig PARPORT_AMIGA 103*4882a593Smuzhiyun tristate "Amiga builtin port" 104*4882a593Smuzhiyun depends on AMIGA 105*4882a593Smuzhiyun select PARPORT_NOT_PC 106*4882a593Smuzhiyun help 107*4882a593Smuzhiyun Say Y here if you need support for the parallel port hardware on 108*4882a593Smuzhiyun Amiga machines. This code is also available as a module (say M), 109*4882a593Smuzhiyun called parport_amiga. If in doubt, saying N is the safe plan. 110*4882a593Smuzhiyun 111*4882a593Smuzhiyunconfig PARPORT_MFC3 112*4882a593Smuzhiyun tristate "Multiface III parallel port" 113*4882a593Smuzhiyun depends on ZORRO 114*4882a593Smuzhiyun select PARPORT_NOT_PC 115*4882a593Smuzhiyun help 116*4882a593Smuzhiyun Say Y here if you need parallel port support for the MFC3 card. 117*4882a593Smuzhiyun This code is also available as a module (say M), called 118*4882a593Smuzhiyun parport_mfc3. If in doubt, saying N is the safe plan. 119*4882a593Smuzhiyun 120*4882a593Smuzhiyunconfig PARPORT_ATARI 121*4882a593Smuzhiyun tristate "Atari hardware" 122*4882a593Smuzhiyun depends on ATARI 123*4882a593Smuzhiyun select PARPORT_NOT_PC 124*4882a593Smuzhiyun help 125*4882a593Smuzhiyun Say Y here if you need support for the parallel port hardware on 126*4882a593Smuzhiyun Atari machines. This code is also available as a module (say M), 127*4882a593Smuzhiyun called parport_atari. If in doubt, saying N is the safe plan. 128*4882a593Smuzhiyun 129*4882a593Smuzhiyunconfig PARPORT_GSC 130*4882a593Smuzhiyun tristate 131*4882a593Smuzhiyun default GSC 132*4882a593Smuzhiyun select PARPORT_NOT_PC 133*4882a593Smuzhiyun 134*4882a593Smuzhiyunconfig PARPORT_SUNBPP 135*4882a593Smuzhiyun tristate "Sparc hardware" 136*4882a593Smuzhiyun depends on SBUS 137*4882a593Smuzhiyun select PARPORT_NOT_PC 138*4882a593Smuzhiyun help 139*4882a593Smuzhiyun This driver provides support for the bidirectional parallel port 140*4882a593Smuzhiyun found on many Sun machines. Note that many of the newer Ultras 141*4882a593Smuzhiyun actually have pc style hardware instead. 142*4882a593Smuzhiyun 143*4882a593Smuzhiyunconfig PARPORT_AX88796 144*4882a593Smuzhiyun tristate "AX88796 Parallel Port" 145*4882a593Smuzhiyun select PARPORT_NOT_PC 146*4882a593Smuzhiyun help 147*4882a593Smuzhiyun Say Y here if you need support for the parallel port hardware on 148*4882a593Smuzhiyun the AX88796 network controller chip. This code is also available 149*4882a593Smuzhiyun as a module (say M), called parport_ax88796. 150*4882a593Smuzhiyun 151*4882a593Smuzhiyun The driver is not dependent on the AX88796 network driver, and 152*4882a593Smuzhiyun should not interfere with the networking functions of the chip. 153*4882a593Smuzhiyun 154*4882a593Smuzhiyunconfig PARPORT_1284 155*4882a593Smuzhiyun bool "IEEE 1284 transfer modes" 156*4882a593Smuzhiyun help 157*4882a593Smuzhiyun If you have a printer that supports status readback or device ID, or 158*4882a593Smuzhiyun want to use a device that uses enhanced parallel port transfer modes 159*4882a593Smuzhiyun such as EPP and ECP, say Y here to enable advanced IEEE 1284 160*4882a593Smuzhiyun transfer modes. Also say Y if you want device ID information to 161*4882a593Smuzhiyun appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N. 162*4882a593Smuzhiyun 163*4882a593Smuzhiyunconfig PARPORT_NOT_PC 164*4882a593Smuzhiyun bool 165*4882a593Smuzhiyun 166*4882a593Smuzhiyunendif # PARPORT 167