xref: /linux/drivers/parport/Kconfig (revision f13399f033ae3d49e1808bacabd83d116844c94e)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# For a description of the syntax of this configuration file,
31da177e4SLinus Torvalds# see Documentation/kbuild/kconfig-language.txt.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds# Parport configuration.
61da177e4SLinus Torvalds#
71da177e4SLinus Torvalds
89f5096c5SJan Engelhardtmenuconfig PARPORT
91da177e4SLinus Torvalds	tristate "Parallel port support"
109f5096c5SJan Engelhardt	depends on HAS_IOMEM
111da177e4SLinus Torvalds	---help---
121da177e4SLinus Torvalds	  If you want to use devices connected to your machine's parallel port
131da177e4SLinus Torvalds	  (the connector at the computer with 25 holes), e.g. printer, ZIP
141da177e4SLinus Torvalds	  drive, PLIP link (Parallel Line Internet Protocol is mainly used to
151da177e4SLinus Torvalds	  create a mini network by connecting the parallel ports of two local
161da177e4SLinus Torvalds	  machines) etc., then you need to say Y here; please read
171da177e4SLinus Torvalds	  <file:Documentation/parport.txt> and
181da177e4SLinus Torvalds	  <file:drivers/parport/BUGS-parport>.
191da177e4SLinus Torvalds
201da177e4SLinus Torvalds	  For extensive information about drivers for many devices attaching
211da177e4SLinus Torvalds	  to the parallel port see <http://www.torque.net/linux-pp.html> on
221da177e4SLinus Torvalds	  the WWW.
231da177e4SLinus Torvalds
241da177e4SLinus Torvalds	  It is possible to share a single parallel port among several devices
251da177e4SLinus Torvalds	  and it is safe to compile all the corresponding drivers into the
261da177e4SLinus Torvalds	  kernel. To compile parallel port support as a module, choose M here:
271da177e4SLinus Torvalds	  the module will be called parport.
281da177e4SLinus Torvalds	  If you have more than one parallel port and want to specify which
291da177e4SLinus Torvalds	  port and IRQ to be used by this driver at module load time, take a
301da177e4SLinus Torvalds	  look at <file:Documentation/parport.txt>.
311da177e4SLinus Torvalds
321da177e4SLinus Torvalds	  If unsure, say Y.
331da177e4SLinus Torvalds
34d90c3eb3SMark Salterconfig ARCH_MIGHT_HAVE_PC_PARPORT
35d90c3eb3SMark Salter	bool
36d90c3eb3SMark Salter	help
37d90c3eb3SMark Salter	  Select this config option from the architecture Kconfig if
38d90c3eb3SMark Salter	  the architecture might have PC parallel port hardware.
39d90c3eb3SMark Salter
409f5096c5SJan Engelhardtif PARPORT
419f5096c5SJan Engelhardt
421da177e4SLinus Torvaldsconfig PARPORT_PC
431da177e4SLinus Torvalds	tristate "PC-style hardware"
44d90c3eb3SMark Salter	depends on ARCH_MIGHT_HAVE_PC_PARPORT
45*f13399f0SLinus Torvalds	help
461da177e4SLinus Torvalds	  You should say Y here if you have a PC-style parallel port. All
471da177e4SLinus Torvalds	  IBM PC compatible computers and some Alphas have PC-style
481da177e4SLinus Torvalds	  parallel ports.  PA-RISC owners should only say Y here if they
491da177e4SLinus Torvalds	  have a SuperIO parallel port.
501da177e4SLinus Torvalds
511da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
521da177e4SLinus Torvalds	  module will be called parport_pc.
531da177e4SLinus Torvalds
541da177e4SLinus Torvalds	  If unsure, say Y.
551da177e4SLinus Torvalds
561da177e4SLinus Torvaldsconfig PARPORT_SERIAL
571da177e4SLinus Torvalds	tristate "Multi-IO cards (parallel and serial)"
5814228a49SRussell King	depends on SERIAL_8250_PCI && PARPORT_PC && PCI
591da177e4SLinus Torvalds	help
601da177e4SLinus Torvalds	  This adds support for multi-IO PCI cards that have parallel and
611da177e4SLinus Torvalds	  serial ports.  You should say Y or M here.  If you say M, the module
621da177e4SLinus Torvalds	  will be called parport_serial.
631da177e4SLinus Torvalds
641da177e4SLinus Torvaldsconfig PARPORT_PC_FIFO
656e8bd6e7SKees Cook	bool "Use FIFO/DMA if available"
666e8bd6e7SKees Cook	depends on PARPORT_PC
671da177e4SLinus Torvalds	help
681da177e4SLinus Torvalds	  Many parallel port chipsets provide hardware that can speed up
691da177e4SLinus Torvalds	  printing. Say Y here if you want to take advantage of that.
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds	  As well as actually having a FIFO, or DMA capability, the kernel
721da177e4SLinus Torvalds	  will need to know which IRQ the parallel port has.  By default,
731da177e4SLinus Torvalds	  parallel port interrupts will not be used, and so neither will the
741da177e4SLinus Torvalds	  FIFO.  See <file:Documentation/parport.txt> to find out how to
751da177e4SLinus Torvalds	  specify which IRQ/DMA to use.
761da177e4SLinus Torvalds
771da177e4SLinus Torvaldsconfig PARPORT_PC_SUPERIO
786e8bd6e7SKees Cook	bool "SuperIO chipset support"
79c218c713SHelge Deller	depends on PARPORT_PC && !PARISC
801da177e4SLinus Torvalds	help
811da177e4SLinus Torvalds	  Saying Y here enables some probes for Super-IO chipsets in order to
821da177e4SLinus Torvalds	  find out things like base addresses, IRQ lines and DMA channels.  It
831da177e4SLinus Torvalds	  is safe to say N.
841da177e4SLinus Torvalds
851da177e4SLinus Torvaldsconfig PARPORT_PC_PCMCIA
861da177e4SLinus Torvalds	tristate "Support for PCMCIA management for PC-style ports"
87a1b9168dSAdrian Bunk	depends on PCMCIA && PARPORT_PC
881da177e4SLinus Torvalds	help
891da177e4SLinus Torvalds	  Say Y here if you need PCMCIA support for your PC-style parallel
901da177e4SLinus Torvalds	  ports. If unsure, say N.
911da177e4SLinus Torvalds
928e75f744SArnaud Gierschconfig PARPORT_IP32
936e8bd6e7SKees Cook	tristate "SGI IP32 builtin port"
946e8bd6e7SKees Cook	depends on SGI_IP32
958e75f744SArnaud Giersch	select PARPORT_NOT_PC
968e75f744SArnaud Giersch	help
978e75f744SArnaud Giersch	  Say Y here if you need support for the parallel port on
988e75f744SArnaud Giersch	  SGI O2 machines. This code is also available as a module (say M),
998e75f744SArnaud Giersch	  called parport_ip32.  If in doubt, saying N is the safe plan.
1008e75f744SArnaud Giersch
1011da177e4SLinus Torvaldsconfig PARPORT_AMIGA
1021da177e4SLinus Torvalds	tristate "Amiga builtin port"
1039f5096c5SJan Engelhardt	depends on AMIGA
1041da177e4SLinus Torvalds	select PARPORT_NOT_PC
1051da177e4SLinus Torvalds	help
1061da177e4SLinus Torvalds	  Say Y here if you need support for the parallel port hardware on
1071da177e4SLinus Torvalds	  Amiga machines. This code is also available as a module (say M),
1081da177e4SLinus Torvalds	  called parport_amiga. If in doubt, saying N is the safe plan.
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsconfig PARPORT_MFC3
1111da177e4SLinus Torvalds	tristate "Multiface III parallel port"
1129f5096c5SJan Engelhardt	depends on ZORRO
1131da177e4SLinus Torvalds	select PARPORT_NOT_PC
1141da177e4SLinus Torvalds	help
1151da177e4SLinus Torvalds	  Say Y here if you need parallel port support for the MFC3 card.
1161da177e4SLinus Torvalds	  This code is also available as a module (say M), called
1171da177e4SLinus Torvalds	  parport_mfc3. If in doubt, saying N is the safe plan.
1181da177e4SLinus Torvalds
1191da177e4SLinus Torvaldsconfig PARPORT_ATARI
1201da177e4SLinus Torvalds	tristate "Atari hardware"
1219f5096c5SJan Engelhardt	depends on ATARI
1221da177e4SLinus Torvalds	select PARPORT_NOT_PC
1231da177e4SLinus Torvalds	help
1241da177e4SLinus Torvalds	  Say Y here if you need support for the parallel port hardware on
1251da177e4SLinus Torvalds	  Atari machines. This code is also available as a module (say M),
1261da177e4SLinus Torvalds	  called parport_atari. If in doubt, saying N is the safe plan.
1271da177e4SLinus Torvalds
1281da177e4SLinus Torvaldsconfig PARPORT_GSC
1291da177e4SLinus Torvalds	tristate
1301da177e4SLinus Torvalds	default GSC
1317c0b67efSGuy Martin	select PARPORT_NOT_PC
1321da177e4SLinus Torvalds
1331da177e4SLinus Torvaldsconfig PARPORT_SUNBPP
1346e8bd6e7SKees Cook	tristate "Sparc hardware"
1356e8bd6e7SKees Cook	depends on SBUS
1361da177e4SLinus Torvalds	select PARPORT_NOT_PC
1371da177e4SLinus Torvalds	help
1381da177e4SLinus Torvalds	  This driver provides support for the bidirectional parallel port
1391da177e4SLinus Torvalds	  found on many Sun machines. Note that many of the newer Ultras
1401da177e4SLinus Torvalds	  actually have pc style hardware instead.
1411da177e4SLinus Torvalds
142ad4063b0SBen Dooksconfig PARPORT_AX88796
143ad4063b0SBen Dooks	tristate "AX88796 Parallel Port"
144ad4063b0SBen Dooks	select PARPORT_NOT_PC
145ad4063b0SBen Dooks	help
146ad4063b0SBen Dooks	  Say Y here if you need support for the parallel port hardware on
147ad4063b0SBen Dooks	  the AX88796 network controller chip. This code is also available
148ad4063b0SBen Dooks	  as a module (say M), called parport_ax88796.
149ad4063b0SBen Dooks
15025985edcSLucas De Marchi	  The driver is not dependent on the AX88796 network driver, and
151ad4063b0SBen Dooks	  should not interfere with the networking functions of the chip.
152ad4063b0SBen Dooks
1531da177e4SLinus Torvaldsconfig PARPORT_1284
1541da177e4SLinus Torvalds	bool "IEEE 1284 transfer modes"
1551da177e4SLinus Torvalds	help
1561da177e4SLinus Torvalds	  If you have a printer that supports status readback or device ID, or
1571da177e4SLinus Torvalds	  want to use a device that uses enhanced parallel port transfer modes
1581da177e4SLinus Torvalds	  such as EPP and ECP, say Y here to enable advanced IEEE 1284
1591da177e4SLinus Torvalds	  transfer modes. Also say Y if you want device ID information to
1601da177e4SLinus Torvalds	  appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
1611da177e4SLinus Torvalds
162bf4735a4SDon Mullisconfig PARPORT_NOT_PC
163bf4735a4SDon Mullis	bool
164bf4735a4SDon Mullis
1659f5096c5SJan Engelhardtendif # PARPORT
166