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