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