xref: /openbmc/linux/drivers/parport/Kconfig (revision d0b73b48)
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 && \
39		(!M68K || ISA) && !MN10300 && !AVR32 && !BLACKFIN && !XTENSA
40	---help---
41	  You should say Y here if you have a PC-style parallel port. All
42	  IBM PC compatible computers and some Alphas have PC-style
43	  parallel ports.  PA-RISC owners should only say Y here if they
44	  have a SuperIO parallel port.
45
46	  To compile this driver as a module, choose M here: the
47	  module will be called parport_pc.
48
49	  If unsure, say Y.
50
51config PARPORT_SERIAL
52	tristate "Multi-IO cards (parallel and serial)"
53	depends on SERIAL_8250_PCI && PARPORT_PC && PCI
54	help
55	  This adds support for multi-IO PCI cards that have parallel and
56	  serial ports.  You should say Y or M here.  If you say M, the module
57	  will be called parport_serial.
58
59config PARPORT_PC_FIFO
60	bool "Use FIFO/DMA if available"
61	depends on PARPORT_PC
62	help
63	  Many parallel port chipsets provide hardware that can speed up
64	  printing. Say Y here if you want to take advantage of that.
65
66	  As well as actually having a FIFO, or DMA capability, the kernel
67	  will need to know which IRQ the parallel port has.  By default,
68	  parallel port interrupts will not be used, and so neither will the
69	  FIFO.  See <file:Documentation/parport.txt> to find out how to
70	  specify which IRQ/DMA to use.
71
72config PARPORT_PC_SUPERIO
73	bool "SuperIO chipset support"
74	depends on PARPORT_PC
75	help
76	  Saying Y here enables some probes for Super-IO chipsets in order to
77	  find out things like base addresses, IRQ lines and DMA channels.  It
78	  is safe to say N.
79
80config PARPORT_PC_PCMCIA
81	tristate "Support for PCMCIA management for PC-style ports"
82	depends on PCMCIA && PARPORT_PC
83	help
84	  Say Y here if you need PCMCIA support for your PC-style parallel
85	  ports. If unsure, say N.
86
87config PARPORT_IP32
88	tristate "SGI IP32 builtin port"
89	depends on SGI_IP32
90	select PARPORT_NOT_PC
91	help
92	  Say Y here if you need support for the parallel port on
93	  SGI O2 machines. This code is also available as a module (say M),
94	  called parport_ip32.  If in doubt, saying N is the safe plan.
95
96config PARPORT_AMIGA
97	tristate "Amiga builtin port"
98	depends on AMIGA
99	select PARPORT_NOT_PC
100	help
101	  Say Y here if you need support for the parallel port hardware on
102	  Amiga machines. This code is also available as a module (say M),
103	  called parport_amiga. If in doubt, saying N is the safe plan.
104
105config PARPORT_MFC3
106	tristate "Multiface III parallel port"
107	depends on ZORRO
108	select PARPORT_NOT_PC
109	help
110	  Say Y here if you need parallel port support for the MFC3 card.
111	  This code is also available as a module (say M), called
112	  parport_mfc3. If in doubt, saying N is the safe plan.
113
114config PARPORT_ATARI
115	tristate "Atari hardware"
116	depends on ATARI
117	select PARPORT_NOT_PC
118	help
119	  Say Y here if you need support for the parallel port hardware on
120	  Atari machines. This code is also available as a module (say M),
121	  called parport_atari. If in doubt, saying N is the safe plan.
122
123config PARPORT_GSC
124	tristate
125	default GSC
126	select PARPORT_NOT_PC
127
128config PARPORT_SUNBPP
129	tristate "Sparc hardware"
130	depends on SBUS
131	select PARPORT_NOT_PC
132	help
133	  This driver provides support for the bidirectional parallel port
134	  found on many Sun machines. Note that many of the newer Ultras
135	  actually have pc style hardware instead.
136
137config PARPORT_AX88796
138	tristate "AX88796 Parallel Port"
139	select PARPORT_NOT_PC
140	help
141	  Say Y here if you need support for the parallel port hardware on
142	  the AX88796 network controller chip. This code is also available
143	  as a module (say M), called parport_ax88796.
144
145	  The driver is not dependent on the AX88796 network driver, and
146	  should not interfere with the networking functions of the chip.
147
148config PARPORT_1284
149	bool "IEEE 1284 transfer modes"
150	help
151	  If you have a printer that supports status readback or device ID, or
152	  want to use a device that uses enhanced parallel port transfer modes
153	  such as EPP and ECP, say Y here to enable advanced IEEE 1284
154	  transfer modes. Also say Y if you want device ID information to
155	  appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
156
157config PARPORT_NOT_PC
158	bool
159
160endif # PARPORT
161