xref: /linux/drivers/s390/char/Kconfig (revision cbac924200b838cfb8d8b1415113d788089dc50b)
1# SPDX-License-Identifier: GPL-2.0
2comment "S/390 character device drivers"
3	depends on S390
4
5config TN3270
6	def_tristate y
7	prompt "Support for locally attached 3270 terminals"
8	depends on CCW
9	help
10	  Include support for IBM 3270 terminals.
11
12config TN3270_TTY
13	def_tristate y
14	prompt "Support for tty input/output on 3270 terminals"
15	depends on TN3270 && TTY
16	help
17	  Include support for using an IBM 3270 terminal as a Linux tty.
18
19config TN3270_FS
20	def_tristate m
21	prompt "Support for fullscreen applications on 3270 terminals"
22	depends on TN3270
23	help
24	  Include support for fullscreen applications on an IBM 3270 terminal.
25
26config TN3270_CONSOLE
27	def_bool y
28	prompt "Support for console on 3270 terminal"
29	depends on TN3270=y && TN3270_TTY=y
30	help
31	  Include support for using an IBM 3270 terminal as a Linux system
32	  console.  Available only if 3270 support is compiled in statically.
33
34config TN3215
35	def_bool y
36	prompt "Support for 3215 line mode terminal"
37	depends on CCW && TTY
38	help
39	  Include support for IBM 3215 line-mode terminals.
40
41config TN3215_CONSOLE
42	def_bool y
43	prompt "Support for console on 3215 line mode terminal"
44	depends on TN3215
45	help
46	  Include support for using an IBM 3215 line-mode terminal as a
47	  Linux system console.
48
49config CCW_CONSOLE
50	def_bool y if TN3215_CONSOLE || TN3270_CONSOLE
51
52config SCLP_TTY
53	def_bool y
54	prompt "Support for SCLP line mode terminal"
55	depends on S390 && TTY
56	help
57	  Include support for IBM SCLP line-mode terminals.
58
59config SCLP_CONSOLE
60	def_bool y
61	prompt "Support for console on SCLP line mode terminal"
62	depends on SCLP_TTY
63	help
64	  Include support for using an IBM HWC line-mode terminal as the Linux
65	  system console.
66
67config SCLP_VT220_TTY
68	def_bool y
69	prompt "Support for SCLP VT220-compatible terminal"
70	depends on S390 && TTY
71	help
72	  Include support for an IBM SCLP VT220-compatible terminal.
73
74config SCLP_VT220_CONSOLE
75	def_bool y
76	prompt "Support for console on SCLP VT220-compatible terminal"
77	depends on SCLP_VT220_TTY
78	help
79	  Include support for using an IBM SCLP VT220-compatible terminal as a
80	  Linux system console.
81
82config HMC_DRV
83	def_tristate m
84	prompt "Support for file transfers from HMC drive CD/DVD-ROM"
85	depends on S390
86	select CRC16
87	help
88	  This option enables support for file transfers from a Hardware
89	  Management Console (HMC) drive CD/DVD-ROM. It is available as a
90	  module, called 'hmcdrv', and also as kernel built-in. There is one
91	  optional parameter for this module: cachesize=N, which modifies the
92	  transfer cache size from it's default value 0.5MB to N bytes. If N
93	  is zero, then no caching is performed.
94
95config SCLP_OFB
96	def_bool n
97	prompt "Support for Open-for-Business SCLP Event"
98	depends on S390
99	help
100	  This option enables the Open-for-Business interface to the s390
101	  Service Element.
102
103config S390_UV_UAPI
104	def_tristate m
105	prompt "Ultravisor userspace API"
106	help
107	  Selecting exposes parts of the UV interface to userspace
108	  by providing a misc character device at /dev/uv.
109	  Using IOCTLs one can interact with the UV.
110	  The device is only available if the Ultravisor
111	  Facility (158) is present.
112
113config S390_TAPE
114	def_tristate m
115	prompt "S/390 tape device support"
116	depends on CCW
117	help
118	  Select this option if you want to access channel-attached tape
119	  devices on IBM S/390 or zSeries.
120	  If you select this option you will also want to select at
121	  least one of the tape interface options and one of the tape
122	  hardware options in order to access a tape device.
123	  This option is also available as a module. The module will be
124	  called tape390 and include all selected interfaces and
125	  hardware drivers.
126
127comment "S/390 tape hardware support"
128	depends on S390_TAPE
129
130config S390_TAPE_34XX
131	def_tristate m
132	prompt "Support for 3480/3490 tape hardware"
133	depends on S390_TAPE
134	help
135	  Select this option if you want to access IBM 3480/3490 magnetic
136	  tape subsystems and 100% compatibles.
137	  It is safe to say "Y" here.
138
139config S390_TAPE_3590
140	def_tristate m
141	prompt "Support for 3590 tape hardware"
142	depends on S390_TAPE
143	help
144	  Select this option if you want to access IBM 3590 magnetic
145	  tape subsystems and 100% compatibles.
146	  It is safe to say "Y" here.
147
148config VMLOGRDR
149	def_tristate m
150	prompt "Support for the z/VM recording system services (VM only)"
151	depends on IUCV
152	help
153	  Select this option if you want to be able to receive records collected
154	  by the z/VM recording system services, eg. from *LOGREC, *ACCOUNT or
155	  *SYMPTOM.
156	  This driver depends on the IUCV support driver.
157
158config VMCP
159	def_bool y
160	prompt "Support for the z/VM CP interface"
161	depends on S390
162	select CMA
163	help
164	  Select this option if you want to be able to interact with the control
165	  program on z/VM
166
167config VMCP_CMA_SIZE
168	int "Memory in MiB reserved for z/VM CP interface"
169	default "4"
170	depends on VMCP
171	help
172	  Specify the default amount of memory in MiB reserved for the z/VM CP
173	  interface. If needed this memory is used for large contiguous memory
174	  allocations. The default can be changed with the kernel command line
175	  parameter "vmcp_cma".
176
177config MONREADER
178	def_tristate m
179	prompt "API for reading z/VM monitor service records"
180	depends on IUCV
181	help
182	  Character device driver for reading z/VM monitor service records
183
184config MONWRITER
185	def_tristate m
186	prompt "API for writing z/VM monitor service records"
187	depends on S390
188	help
189	  Character device driver for writing z/VM monitor service records
190
191config S390_VMUR
192	def_tristate m
193	prompt "z/VM unit record device driver"
194	depends on S390
195	help
196	  Character device driver for z/VM reader, puncher and printer.
197