xref: /linux/drivers/s390/char/Kconfig (revision 9872dae6102eb4d8c3cde83ded9df0d60f4e67d0)
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
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_3490
125	def_tristate m
126	prompt "Support for 3490 tape hardware"
127	depends on S390_TAPE
128	help
129	  Select this option if you want to access IBM 3490 magnetic
130	  tape subsystems and 100% compatibles.
131	  It is safe to say "Y" here.
132
133config VMLOGRDR
134	def_tristate m
135	prompt "Support for the z/VM recording system services (VM only)"
136	depends on IUCV
137	help
138	  Select this option if you want to be able to receive records collected
139	  by the z/VM recording system services, eg. from *LOGREC, *ACCOUNT or
140	  *SYMPTOM.
141	  This driver depends on the IUCV support driver.
142
143config VMCP
144	def_bool y
145	prompt "Support for the z/VM CP interface"
146	depends on S390
147	select CMA
148	help
149	  Select this option if you want to be able to interact with the control
150	  program on z/VM
151
152config VMCP_CMA_SIZE
153	int "Memory in MiB reserved for z/VM CP interface"
154	default "4"
155	depends on VMCP
156	help
157	  Specify the default amount of memory in MiB reserved for the z/VM CP
158	  interface. If needed this memory is used for large contiguous memory
159	  allocations. The default can be changed with the kernel command line
160	  parameter "vmcp_cma".
161
162config MONREADER
163	def_tristate m
164	prompt "API for reading z/VM monitor service records"
165	depends on IUCV
166	help
167	  Character device driver for reading z/VM monitor service records
168
169config MONWRITER
170	def_tristate m
171	prompt "API for writing z/VM monitor service records"
172	depends on S390
173	help
174	  Character device driver for writing z/VM monitor service records
175
176config S390_VMUR
177	def_tristate m
178	prompt "z/VM unit record device driver"
179	depends on S390
180	help
181	  Character device driver for z/VM reader, puncher and printer.
182