xref: /linux/drivers/s390/char/Kconfig (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
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	depends on S390
107	help
108	  Selecting exposes parts of the UV interface to userspace
109	  by providing a misc character device at /dev/uv.
110	  Using IOCTLs one can interact with the UV.
111	  The device is only available if the Ultravisor
112	  Facility (158) is present.
113
114config S390_TAPE
115	def_tristate m
116	prompt "S/390 tape device support"
117	depends on CCW
118	help
119	  Select this option if you want to access channel-attached tape
120	  devices on IBM S/390 or zSeries.
121	  If you select this option you will also want to select at
122	  least one of the tape interface options and one of the tape
123	  hardware options in order to access a tape device.
124	  This option is also available as a module. The module will be
125	  called tape390 and include all selected interfaces and
126	  hardware drivers.
127
128comment "S/390 tape hardware support"
129	depends on S390_TAPE
130
131config S390_TAPE_34XX
132	def_tristate m
133	prompt "Support for 3480/3490 tape hardware"
134	depends on S390_TAPE
135	help
136	  Select this option if you want to access IBM 3480/3490 magnetic
137	  tape subsystems and 100% compatibles.
138	  It is safe to say "Y" here.
139
140config S390_TAPE_3590
141	def_tristate m
142	prompt "Support for 3590 tape hardware"
143	depends on S390_TAPE
144	help
145	  Select this option if you want to access IBM 3590 magnetic
146	  tape subsystems and 100% compatibles.
147	  It is safe to say "Y" here.
148
149config VMLOGRDR
150	def_tristate m
151	prompt "Support for the z/VM recording system services (VM only)"
152	depends on IUCV
153	help
154	  Select this option if you want to be able to receive records collected
155	  by the z/VM recording system services, eg. from *LOGREC, *ACCOUNT or
156	  *SYMPTOM.
157	  This driver depends on the IUCV support driver.
158
159config VMCP
160	def_bool y
161	prompt "Support for the z/VM CP interface"
162	depends on S390
163	select CMA
164	help
165	  Select this option if you want to be able to interact with the control
166	  program on z/VM
167
168config VMCP_CMA_SIZE
169	int "Memory in MiB reserved for z/VM CP interface"
170	default "4"
171	depends on VMCP
172	help
173	  Specify the default amount of memory in MiB reserved for the z/VM CP
174	  interface. If needed this memory is used for large contiguous memory
175	  allocations. The default can be changed with the kernel command line
176	  parameter "vmcp_cma".
177
178config MONREADER
179	def_tristate m
180	prompt "API for reading z/VM monitor service records"
181	depends on IUCV
182	help
183	  Character device driver for reading z/VM monitor service records
184
185config MONWRITER
186	def_tristate m
187	prompt "API for writing z/VM monitor service records"
188	depends on S390
189	help
190	  Character device driver for writing z/VM monitor service records
191
192config S390_VMUR
193	def_tristate m
194	prompt "z/VM unit record device driver"
195	depends on S390
196	help
197	  Character device driver for z/VM reader, puncher and printer.
198