0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # For a description of the syntax of this configuration file,
0004 # see Documentation/kbuild/kconfig-language.rst.
0005 #
0006 # Parport configuration.
0007 #
0008
0009 config ARCH_MIGHT_HAVE_PC_PARPORT
0010 bool
0011 help
0012 Select this config option from the architecture Kconfig if
0013 the architecture might have PC parallel port hardware.
0014
0015 menuconfig PARPORT
0016 tristate "Parallel port support"
0017 depends on HAS_IOMEM
0018 help
0019 If you want to use devices connected to your machine's parallel port
0020 (the connector at the computer with 25 holes), e.g. printer, ZIP
0021 drive, PLIP link (Parallel Line Internet Protocol is mainly used to
0022 create a mini network by connecting the parallel ports of two local
0023 machines) etc., then you need to say Y here; please read
0024 <file:Documentation/admin-guide/parport.rst> and
0025 <file:drivers/parport/BUGS-parport>.
0026
0027 For extensive information about drivers for many devices attaching
0028 to the parallel port see <http://www.torque.net/linux-pp.html> on
0029 the WWW.
0030
0031 It is possible to share a single parallel port among several devices
0032 and it is safe to compile all the corresponding drivers into the
0033 kernel. To compile parallel port support as a module, choose M here:
0034 the module will be called parport.
0035 If you have more than one parallel port and want to specify which
0036 port and IRQ to be used by this driver at module load time, take a
0037 look at <file:Documentation/admin-guide/parport.rst>.
0038
0039 If unsure, say Y.
0040
0041 if PARPORT
0042
0043 config PARPORT_PC
0044 tristate "PC-style hardware"
0045 depends on ARCH_MIGHT_HAVE_PC_PARPORT || (PCI && !S390)
0046 help
0047 You should say Y here if you have a PC-style parallel port. All
0048 IBM PC compatible computers and some Alphas have PC-style
0049 parallel ports. PA-RISC owners should only say Y here if they
0050 have a SuperIO parallel port.
0051
0052 To compile this driver as a module, choose M here: the
0053 module will be called parport_pc.
0054
0055 If unsure, say Y.
0056
0057 config PARPORT_SERIAL
0058 tristate "Multi-IO cards (parallel and serial)"
0059 depends on SERIAL_8250_PCI && PARPORT_PC && PCI
0060 help
0061 This adds support for multi-IO PCI cards that have parallel and
0062 serial ports. You should say Y or M here. If you say M, the module
0063 will be called parport_serial.
0064
0065 config PARPORT_PC_FIFO
0066 bool "Use FIFO/DMA if available"
0067 depends on PARPORT_PC
0068 help
0069 Many parallel port chipsets provide hardware that can speed up
0070 printing. Say Y here if you want to take advantage of that.
0071
0072 As well as actually having a FIFO, or DMA capability, the kernel
0073 will need to know which IRQ the parallel port has. By default,
0074 parallel port interrupts will not be used, and so neither will the
0075 FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to
0076 specify which IRQ/DMA to use.
0077
0078 config PARPORT_PC_SUPERIO
0079 bool "SuperIO chipset support"
0080 depends on ARCH_MIGHT_HAVE_PC_PARPORT && PARPORT_PC && !PARISC
0081 help
0082 Saying Y here enables some probes for Super-IO chipsets in order to
0083 find out things like base addresses, IRQ lines and DMA channels. It
0084 is safe to say N.
0085
0086 config PARPORT_PC_PCMCIA
0087 tristate "Support for PCMCIA management for PC-style ports"
0088 depends on PCMCIA && PARPORT_PC
0089 help
0090 Say Y here if you need PCMCIA support for your PC-style parallel
0091 ports. If unsure, say N.
0092
0093 config PARPORT_IP32
0094 tristate "SGI IP32 builtin port"
0095 depends on SGI_IP32
0096 select PARPORT_NOT_PC
0097 help
0098 Say Y here if you need support for the parallel port on
0099 SGI O2 machines. This code is also available as a module (say M),
0100 called parport_ip32. If in doubt, saying N is the safe plan.
0101
0102 config PARPORT_AMIGA
0103 tristate "Amiga builtin port"
0104 depends on AMIGA
0105 select PARPORT_NOT_PC
0106 help
0107 Say Y here if you need support for the parallel port hardware on
0108 Amiga machines. This code is also available as a module (say M),
0109 called parport_amiga. If in doubt, saying N is the safe plan.
0110
0111 config PARPORT_MFC3
0112 tristate "Multiface III parallel port"
0113 depends on ZORRO
0114 select PARPORT_NOT_PC
0115 help
0116 Say Y here if you need parallel port support for the MFC3 card.
0117 This code is also available as a module (say M), called
0118 parport_mfc3. If in doubt, saying N is the safe plan.
0119
0120 config PARPORT_ATARI
0121 tristate "Atari hardware"
0122 depends on ATARI
0123 select PARPORT_NOT_PC
0124 help
0125 Say Y here if you need support for the parallel port hardware on
0126 Atari machines. This code is also available as a module (say M),
0127 called parport_atari. If in doubt, saying N is the safe plan.
0128
0129 config PARPORT_GSC
0130 tristate
0131 default GSC
0132 select PARPORT_NOT_PC
0133
0134 config PARPORT_SUNBPP
0135 tristate "Sparc hardware"
0136 depends on SBUS
0137 select PARPORT_NOT_PC
0138 help
0139 This driver provides support for the bidirectional parallel port
0140 found on many Sun machines. Note that many of the newer Ultras
0141 actually have pc style hardware instead.
0142
0143 config PARPORT_AX88796
0144 tristate "AX88796 Parallel Port"
0145 select PARPORT_NOT_PC
0146 help
0147 Say Y here if you need support for the parallel port hardware on
0148 the AX88796 network controller chip. This code is also available
0149 as a module (say M), called parport_ax88796.
0150
0151 The driver is not dependent on the AX88796 network driver, and
0152 should not interfere with the networking functions of the chip.
0153
0154 config PARPORT_1284
0155 bool "IEEE 1284 transfer modes"
0156 help
0157 If you have a printer that supports status readback or device ID, or
0158 want to use a device that uses enhanced parallel port transfer modes
0159 such as EPP and ECP, say Y here to enable advanced IEEE 1284
0160 transfer modes. Also say Y if you want device ID information to
0161 appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
0162
0163 config PARPORT_NOT_PC
0164 bool
0165
0166 endif # PARPORT