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