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