xref: /linux/drivers/s390/char/Kconfig (revision 5ae76830c76cf38708399245606e4e07a33fe51c)
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 "Support for 3490E tape on VTS"
110	depends on CCW
111	help
112	  Select this option if you want to access channel-attached IBM 3490E
113	  tape devices on VTS, such as IBM TS7700.
114	  This option is also available as a module.
115	  It is safe to say "Y" here.
116
117config VMLOGRDR
118	def_tristate m
119	prompt "Support for the z/VM recording system services (VM only)"
120	depends on IUCV
121	help
122	  Select this option if you want to be able to receive records collected
123	  by the z/VM recording system services, eg. from *LOGREC, *ACCOUNT or
124	  *SYMPTOM.
125	  This driver depends on the IUCV support driver.
126
127config VMCP
128	def_bool y
129	prompt "Support for the z/VM CP interface"
130	depends on S390
131	select CMA
132	help
133	  Select this option if you want to be able to interact with the control
134	  program on z/VM
135
136config VMCP_CMA_SIZE
137	int "Memory in MiB reserved for z/VM CP interface"
138	default "4"
139	depends on VMCP
140	help
141	  Specify the default amount of memory in MiB reserved for the z/VM CP
142	  interface. If needed this memory is used for large contiguous memory
143	  allocations. The default can be changed with the kernel command line
144	  parameter "vmcp_cma".
145
146config MONREADER
147	def_tristate m
148	prompt "API for reading z/VM monitor service records"
149	depends on IUCV
150	help
151	  Character device driver for reading z/VM monitor service records
152
153config MONWRITER
154	def_tristate m
155	prompt "API for writing z/VM monitor service records"
156	depends on S390
157	help
158	  Character device driver for writing z/VM monitor service records
159
160config S390_VMUR
161	def_tristate m
162	prompt "z/VM unit record device driver"
163	depends on S390
164	help
165	  Character device driver for z/VM reader, puncher and printer.
166