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