162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_cicomment "S/390 character device drivers"
362306a36Sopenharmony_ci	depends on S390
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig TN3270
662306a36Sopenharmony_ci	def_tristate y
762306a36Sopenharmony_ci	prompt "Support for locally attached 3270 terminals"
862306a36Sopenharmony_ci	depends on CCW && TTY
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  Include support for IBM 3270 terminals.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciconfig TN3270_FS
1362306a36Sopenharmony_ci	def_tristate m
1462306a36Sopenharmony_ci	prompt "Support for fullscreen applications on 3270 terminals"
1562306a36Sopenharmony_ci	depends on TN3270
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  Include support for fullscreen applications on an IBM 3270 terminal.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig TN3270_CONSOLE
2062306a36Sopenharmony_ci	def_bool y
2162306a36Sopenharmony_ci	prompt "Support for console on 3270 terminal"
2262306a36Sopenharmony_ci	depends on TN3270=y
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Include support for using an IBM 3270 terminal as a Linux system
2562306a36Sopenharmony_ci	  console.  Available only if 3270 support is compiled in statically.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig TN3215
2862306a36Sopenharmony_ci	def_bool y
2962306a36Sopenharmony_ci	prompt "Support for 3215 line mode terminal"
3062306a36Sopenharmony_ci	depends on CCW && TTY
3162306a36Sopenharmony_ci	help
3262306a36Sopenharmony_ci	  Include support for IBM 3215 line-mode terminals.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig TN3215_CONSOLE
3562306a36Sopenharmony_ci	def_bool y
3662306a36Sopenharmony_ci	prompt "Support for console on 3215 line mode terminal"
3762306a36Sopenharmony_ci	depends on TN3215
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  Include support for using an IBM 3215 line-mode terminal as a
4062306a36Sopenharmony_ci	  Linux system console.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciconfig CCW_CONSOLE
4362306a36Sopenharmony_ci	def_bool y if TN3215_CONSOLE || TN3270_CONSOLE
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig SCLP_TTY
4662306a36Sopenharmony_ci	def_bool y
4762306a36Sopenharmony_ci	prompt "Support for SCLP line mode terminal"
4862306a36Sopenharmony_ci	depends on S390 && TTY
4962306a36Sopenharmony_ci	help
5062306a36Sopenharmony_ci	  Include support for IBM SCLP line-mode terminals.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciconfig SCLP_CONSOLE
5362306a36Sopenharmony_ci	def_bool y
5462306a36Sopenharmony_ci	prompt "Support for console on SCLP line mode terminal"
5562306a36Sopenharmony_ci	depends on SCLP_TTY
5662306a36Sopenharmony_ci	help
5762306a36Sopenharmony_ci	  Include support for using an IBM HWC line-mode terminal as the Linux
5862306a36Sopenharmony_ci	  system console.
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ciconfig SCLP_VT220_TTY
6162306a36Sopenharmony_ci	def_bool y
6262306a36Sopenharmony_ci	prompt "Support for SCLP VT220-compatible terminal"
6362306a36Sopenharmony_ci	depends on S390 && TTY
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Include support for an IBM SCLP VT220-compatible terminal.
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ciconfig SCLP_VT220_CONSOLE
6862306a36Sopenharmony_ci	def_bool y
6962306a36Sopenharmony_ci	prompt "Support for console on SCLP VT220-compatible terminal"
7062306a36Sopenharmony_ci	depends on SCLP_VT220_TTY
7162306a36Sopenharmony_ci	help
7262306a36Sopenharmony_ci	  Include support for using an IBM SCLP VT220-compatible terminal as a
7362306a36Sopenharmony_ci	  Linux system console.
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciconfig HMC_DRV
7662306a36Sopenharmony_ci	def_tristate m
7762306a36Sopenharmony_ci	prompt "Support for file transfers from HMC drive CD/DVD-ROM"
7862306a36Sopenharmony_ci	depends on S390
7962306a36Sopenharmony_ci	select CRC16
8062306a36Sopenharmony_ci	help
8162306a36Sopenharmony_ci	  This option enables support for file transfers from a Hardware
8262306a36Sopenharmony_ci	  Management Console (HMC) drive CD/DVD-ROM. It is available as a
8362306a36Sopenharmony_ci	  module, called 'hmcdrv', and also as kernel built-in. There is one
8462306a36Sopenharmony_ci	  optional parameter for this module: cachesize=N, which modifies the
8562306a36Sopenharmony_ci	  transfer cache size from its default value 0.5MB to N bytes. If N
8662306a36Sopenharmony_ci	  is zero, then no caching is performed.
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ciconfig SCLP_OFB
8962306a36Sopenharmony_ci	def_bool n
9062306a36Sopenharmony_ci	prompt "Support for Open-for-Business SCLP Event"
9162306a36Sopenharmony_ci	depends on S390
9262306a36Sopenharmony_ci	help
9362306a36Sopenharmony_ci	  This option enables the Open-for-Business interface to the s390
9462306a36Sopenharmony_ci	  Service Element.
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ciconfig S390_UV_UAPI
9762306a36Sopenharmony_ci	def_tristate m
9862306a36Sopenharmony_ci	prompt "Ultravisor userspace API"
9962306a36Sopenharmony_ci	depends on S390 && (KVM || PROTECTED_VIRTUALIZATION_GUEST)
10062306a36Sopenharmony_ci	help
10162306a36Sopenharmony_ci	  Selecting exposes parts of the UV interface to userspace
10262306a36Sopenharmony_ci	  by providing a misc character device at /dev/uv.
10362306a36Sopenharmony_ci	  Using IOCTLs one can interact with the UV.
10462306a36Sopenharmony_ci	  The device is only available if the Ultravisor
10562306a36Sopenharmony_ci	  Facility (158) is present.
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ciconfig S390_TAPE
10862306a36Sopenharmony_ci	def_tristate m
10962306a36Sopenharmony_ci	prompt "S/390 tape device support"
11062306a36Sopenharmony_ci	depends on CCW
11162306a36Sopenharmony_ci	help
11262306a36Sopenharmony_ci	  Select this option if you want to access channel-attached tape
11362306a36Sopenharmony_ci	  devices on IBM S/390 or zSeries.
11462306a36Sopenharmony_ci	  If you select this option you will also want to select at
11562306a36Sopenharmony_ci	  least one of the tape interface options and one of the tape
11662306a36Sopenharmony_ci	  hardware options in order to access a tape device.
11762306a36Sopenharmony_ci	  This option is also available as a module. The module will be
11862306a36Sopenharmony_ci	  called tape390 and include all selected interfaces and
11962306a36Sopenharmony_ci	  hardware drivers.
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_cicomment "S/390 tape hardware support"
12262306a36Sopenharmony_ci	depends on S390_TAPE
12362306a36Sopenharmony_ci
12462306a36Sopenharmony_ciconfig S390_TAPE_34XX
12562306a36Sopenharmony_ci	def_tristate m
12662306a36Sopenharmony_ci	prompt "Support for 3480/3490 tape hardware"
12762306a36Sopenharmony_ci	depends on S390_TAPE
12862306a36Sopenharmony_ci	help
12962306a36Sopenharmony_ci	  Select this option if you want to access IBM 3480/3490 magnetic
13062306a36Sopenharmony_ci	  tape subsystems and 100% compatibles.
13162306a36Sopenharmony_ci	  It is safe to say "Y" here.
13262306a36Sopenharmony_ci
13362306a36Sopenharmony_ciconfig S390_TAPE_3590
13462306a36Sopenharmony_ci	def_tristate m
13562306a36Sopenharmony_ci	prompt "Support for 3590 tape hardware"
13662306a36Sopenharmony_ci	depends on S390_TAPE
13762306a36Sopenharmony_ci	help
13862306a36Sopenharmony_ci	  Select this option if you want to access IBM 3590 magnetic
13962306a36Sopenharmony_ci	  tape subsystems and 100% compatibles.
14062306a36Sopenharmony_ci	  It is safe to say "Y" here.
14162306a36Sopenharmony_ci
14262306a36Sopenharmony_ciconfig VMLOGRDR
14362306a36Sopenharmony_ci	def_tristate m
14462306a36Sopenharmony_ci	prompt "Support for the z/VM recording system services (VM only)"
14562306a36Sopenharmony_ci	depends on IUCV
14662306a36Sopenharmony_ci	help
14762306a36Sopenharmony_ci	  Select this option if you want to be able to receive records collected
14862306a36Sopenharmony_ci	  by the z/VM recording system services, eg. from *LOGREC, *ACCOUNT or
14962306a36Sopenharmony_ci	  *SYMPTOM.
15062306a36Sopenharmony_ci	  This driver depends on the IUCV support driver.
15162306a36Sopenharmony_ci
15262306a36Sopenharmony_ciconfig VMCP
15362306a36Sopenharmony_ci	def_bool y
15462306a36Sopenharmony_ci	prompt "Support for the z/VM CP interface"
15562306a36Sopenharmony_ci	depends on S390
15662306a36Sopenharmony_ci	select CMA
15762306a36Sopenharmony_ci	help
15862306a36Sopenharmony_ci	  Select this option if you want to be able to interact with the control
15962306a36Sopenharmony_ci	  program on z/VM
16062306a36Sopenharmony_ci
16162306a36Sopenharmony_ciconfig VMCP_CMA_SIZE
16262306a36Sopenharmony_ci	int "Memory in MiB reserved for z/VM CP interface"
16362306a36Sopenharmony_ci	default "4"
16462306a36Sopenharmony_ci	depends on VMCP
16562306a36Sopenharmony_ci	help
16662306a36Sopenharmony_ci	  Specify the default amount of memory in MiB reserved for the z/VM CP
16762306a36Sopenharmony_ci	  interface. If needed this memory is used for large contiguous memory
16862306a36Sopenharmony_ci	  allocations. The default can be changed with the kernel command line
16962306a36Sopenharmony_ci	  parameter "vmcp_cma".
17062306a36Sopenharmony_ci
17162306a36Sopenharmony_ciconfig MONREADER
17262306a36Sopenharmony_ci	def_tristate m
17362306a36Sopenharmony_ci	prompt "API for reading z/VM monitor service records"
17462306a36Sopenharmony_ci	depends on IUCV
17562306a36Sopenharmony_ci	help
17662306a36Sopenharmony_ci	  Character device driver for reading z/VM monitor service records
17762306a36Sopenharmony_ci
17862306a36Sopenharmony_ciconfig MONWRITER
17962306a36Sopenharmony_ci	def_tristate m
18062306a36Sopenharmony_ci	prompt "API for writing z/VM monitor service records"
18162306a36Sopenharmony_ci	depends on S390
18262306a36Sopenharmony_ci	help
18362306a36Sopenharmony_ci	  Character device driver for writing z/VM monitor service records
18462306a36Sopenharmony_ci
18562306a36Sopenharmony_ciconfig S390_VMUR
18662306a36Sopenharmony_ci	def_tristate m
18762306a36Sopenharmony_ci	prompt "z/VM unit record device driver"
18862306a36Sopenharmony_ci	depends on S390
18962306a36Sopenharmony_ci	help
19062306a36Sopenharmony_ci	  Character device driver for z/VM reader, puncher and printer.
191