xref: /linux/drivers/s390/char/Kconfig (revision 06bc7ff0a1e0f2b0102e1314e3527a7ec0997851)
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 S390_UV_UAPI
89	def_tristate m
90	prompt "Ultravisor userspace API"
91	depends on S390
92	help
93	  Selecting exposes parts of the UV interface to userspace
94	  by providing a misc character device at /dev/uv.
95	  Using IOCTLs one can interact with the UV.
96	  The device is only available if the Ultravisor
97	  Facility (158) is present.
98
99config S390_TAPE
100	def_tristate m
101	prompt "Support for 3490E tape on VTS"
102	depends on CCW
103	help
104	  Select this option if you want to access channel-attached IBM 3490E
105	  tape devices on VTS, such as IBM TS7700.
106	  This option is also available as a module.
107	  It is safe to say "Y" here.
108
109config VMLOGRDR
110	def_tristate m
111	prompt "Support for the z/VM recording system services (VM only)"
112	depends on IUCV
113	help
114	  Select this option if you want to be able to receive records collected
115	  by the z/VM recording system services, eg. from *LOGREC, *ACCOUNT or
116	  *SYMPTOM.
117	  This driver depends on the IUCV support driver.
118
119config VMCP
120	def_bool y
121	prompt "Support for the z/VM CP interface"
122	depends on S390
123	select CMA
124	help
125	  Select this option if you want to be able to interact with the control
126	  program on z/VM
127
128config VMCP_CMA_SIZE
129	int "Memory in MiB reserved for z/VM CP interface"
130	default "4"
131	depends on VMCP
132	help
133	  Specify the default amount of memory in MiB reserved for the z/VM CP
134	  interface. If needed this memory is used for large contiguous memory
135	  allocations. The default can be changed with the kernel command line
136	  parameter "vmcp_cma".
137
138config MONREADER
139	def_tristate m
140	prompt "API for reading z/VM monitor service records"
141	depends on IUCV
142	help
143	  Character device driver for reading z/VM monitor service records
144
145config MONWRITER
146	def_tristate m
147	prompt "API for writing z/VM monitor service records"
148	depends on S390
149	help
150	  Character device driver for writing z/VM monitor service records
151
152config S390_VMUR
153	def_tristate m
154	prompt "z/VM unit record device driver"
155	depends on S390
156	help
157	  Character device driver for z/VM reader, puncher and printer.
158