18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_cicomment "S/390 character device drivers"
38c2ecf20Sopenharmony_ci	depends on S390
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciconfig TN3270
68c2ecf20Sopenharmony_ci	def_tristate y
78c2ecf20Sopenharmony_ci	prompt "Support for locally attached 3270 terminals"
88c2ecf20Sopenharmony_ci	depends on CCW
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  Include support for IBM 3270 terminals.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig TN3270_TTY
138c2ecf20Sopenharmony_ci	def_tristate y
148c2ecf20Sopenharmony_ci	prompt "Support for tty input/output on 3270 terminals"
158c2ecf20Sopenharmony_ci	depends on TN3270 && TTY
168c2ecf20Sopenharmony_ci	help
178c2ecf20Sopenharmony_ci	  Include support for using an IBM 3270 terminal as a Linux tty.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig TN3270_FS
208c2ecf20Sopenharmony_ci	def_tristate m
218c2ecf20Sopenharmony_ci	prompt "Support for fullscreen applications on 3270 terminals"
228c2ecf20Sopenharmony_ci	depends on TN3270
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  Include support for fullscreen applications on an IBM 3270 terminal.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciconfig TN3270_CONSOLE
278c2ecf20Sopenharmony_ci	def_bool y
288c2ecf20Sopenharmony_ci	prompt "Support for console on 3270 terminal"
298c2ecf20Sopenharmony_ci	depends on TN3270=y && TN3270_TTY=y
308c2ecf20Sopenharmony_ci	help
318c2ecf20Sopenharmony_ci	  Include support for using an IBM 3270 terminal as a Linux system
328c2ecf20Sopenharmony_ci	  console.  Available only if 3270 support is compiled in statically.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciconfig TN3215
358c2ecf20Sopenharmony_ci	def_bool y
368c2ecf20Sopenharmony_ci	prompt "Support for 3215 line mode terminal"
378c2ecf20Sopenharmony_ci	depends on CCW && TTY
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  Include support for IBM 3215 line-mode terminals.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciconfig TN3215_CONSOLE
428c2ecf20Sopenharmony_ci	def_bool y
438c2ecf20Sopenharmony_ci	prompt "Support for console on 3215 line mode terminal"
448c2ecf20Sopenharmony_ci	depends on TN3215
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  Include support for using an IBM 3215 line-mode terminal as a
478c2ecf20Sopenharmony_ci	  Linux system console.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciconfig CCW_CONSOLE
508c2ecf20Sopenharmony_ci	def_bool y if TN3215_CONSOLE || TN3270_CONSOLE
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig SCLP_TTY
538c2ecf20Sopenharmony_ci	def_bool y
548c2ecf20Sopenharmony_ci	prompt "Support for SCLP line mode terminal"
558c2ecf20Sopenharmony_ci	depends on S390 && TTY
568c2ecf20Sopenharmony_ci	help
578c2ecf20Sopenharmony_ci	  Include support for IBM SCLP line-mode terminals.
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ciconfig SCLP_CONSOLE
608c2ecf20Sopenharmony_ci	def_bool y
618c2ecf20Sopenharmony_ci	prompt "Support for console on SCLP line mode terminal"
628c2ecf20Sopenharmony_ci	depends on SCLP_TTY
638c2ecf20Sopenharmony_ci	help
648c2ecf20Sopenharmony_ci	  Include support for using an IBM HWC line-mode terminal as the Linux
658c2ecf20Sopenharmony_ci	  system console.
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciconfig SCLP_VT220_TTY
688c2ecf20Sopenharmony_ci	def_bool y
698c2ecf20Sopenharmony_ci	prompt "Support for SCLP VT220-compatible terminal"
708c2ecf20Sopenharmony_ci	depends on S390 && TTY
718c2ecf20Sopenharmony_ci	help
728c2ecf20Sopenharmony_ci	  Include support for an IBM SCLP VT220-compatible terminal.
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ciconfig SCLP_VT220_CONSOLE
758c2ecf20Sopenharmony_ci	def_bool y
768c2ecf20Sopenharmony_ci	prompt "Support for console on SCLP VT220-compatible terminal"
778c2ecf20Sopenharmony_ci	depends on SCLP_VT220_TTY
788c2ecf20Sopenharmony_ci	help
798c2ecf20Sopenharmony_ci	  Include support for using an IBM SCLP VT220-compatible terminal as a
808c2ecf20Sopenharmony_ci	  Linux system console.
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ciconfig HMC_DRV
838c2ecf20Sopenharmony_ci	def_tristate m
848c2ecf20Sopenharmony_ci	prompt "Support for file transfers from HMC drive CD/DVD-ROM"
858c2ecf20Sopenharmony_ci	depends on S390
868c2ecf20Sopenharmony_ci	select CRC16
878c2ecf20Sopenharmony_ci	help
888c2ecf20Sopenharmony_ci	  This option enables support for file transfers from a Hardware
898c2ecf20Sopenharmony_ci	  Management Console (HMC) drive CD/DVD-ROM. It is available as a
908c2ecf20Sopenharmony_ci	  module, called 'hmcdrv', and also as kernel built-in. There is one
918c2ecf20Sopenharmony_ci	  optional parameter for this module: cachesize=N, which modifies the
928c2ecf20Sopenharmony_ci	  transfer cache size from it's default value 0.5MB to N bytes. If N
938c2ecf20Sopenharmony_ci	  is zero, then no caching is performed.
948c2ecf20Sopenharmony_ci
958c2ecf20Sopenharmony_ciconfig SCLP_OFB
968c2ecf20Sopenharmony_ci	def_bool n
978c2ecf20Sopenharmony_ci	prompt "Support for Open-for-Business SCLP Event"
988c2ecf20Sopenharmony_ci	depends on S390
998c2ecf20Sopenharmony_ci	help
1008c2ecf20Sopenharmony_ci	  This option enables the Open-for-Business interface to the s390
1018c2ecf20Sopenharmony_ci	  Service Element.
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ciconfig S390_TAPE
1048c2ecf20Sopenharmony_ci	def_tristate m
1058c2ecf20Sopenharmony_ci	prompt "S/390 tape device support"
1068c2ecf20Sopenharmony_ci	depends on CCW
1078c2ecf20Sopenharmony_ci	help
1088c2ecf20Sopenharmony_ci	  Select this option if you want to access channel-attached tape
1098c2ecf20Sopenharmony_ci	  devices on IBM S/390 or zSeries.
1108c2ecf20Sopenharmony_ci	  If you select this option you will also want to select at
1118c2ecf20Sopenharmony_ci	  least one of the tape interface options and one of the tape
1128c2ecf20Sopenharmony_ci	  hardware options in order to access a tape device.
1138c2ecf20Sopenharmony_ci	  This option is also available as a module. The module will be
1148c2ecf20Sopenharmony_ci	  called tape390 and include all selected interfaces and
1158c2ecf20Sopenharmony_ci	  hardware drivers.
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_cicomment "S/390 tape hardware support"
1188c2ecf20Sopenharmony_ci	depends on S390_TAPE
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ciconfig S390_TAPE_34XX
1218c2ecf20Sopenharmony_ci	def_tristate m
1228c2ecf20Sopenharmony_ci	prompt "Support for 3480/3490 tape hardware"
1238c2ecf20Sopenharmony_ci	depends on S390_TAPE
1248c2ecf20Sopenharmony_ci	help
1258c2ecf20Sopenharmony_ci	  Select this option if you want to access IBM 3480/3490 magnetic
1268c2ecf20Sopenharmony_ci	  tape subsystems and 100% compatibles.
1278c2ecf20Sopenharmony_ci	  It is safe to say "Y" here.
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ciconfig S390_TAPE_3590
1308c2ecf20Sopenharmony_ci	def_tristate m
1318c2ecf20Sopenharmony_ci	prompt "Support for 3590 tape hardware"
1328c2ecf20Sopenharmony_ci	depends on S390_TAPE
1338c2ecf20Sopenharmony_ci	help
1348c2ecf20Sopenharmony_ci	  Select this option if you want to access IBM 3590 magnetic
1358c2ecf20Sopenharmony_ci	  tape subsystems and 100% compatibles.
1368c2ecf20Sopenharmony_ci	  It is safe to say "Y" here.
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ciconfig VMLOGRDR
1398c2ecf20Sopenharmony_ci	def_tristate m
1408c2ecf20Sopenharmony_ci	prompt "Support for the z/VM recording system services (VM only)"
1418c2ecf20Sopenharmony_ci	depends on IUCV
1428c2ecf20Sopenharmony_ci	help
1438c2ecf20Sopenharmony_ci	  Select this option if you want to be able to receive records collected
1448c2ecf20Sopenharmony_ci	  by the z/VM recording system services, eg. from *LOGREC, *ACCOUNT or
1458c2ecf20Sopenharmony_ci	  *SYMPTOM.
1468c2ecf20Sopenharmony_ci	  This driver depends on the IUCV support driver.
1478c2ecf20Sopenharmony_ci
1488c2ecf20Sopenharmony_ciconfig VMCP
1498c2ecf20Sopenharmony_ci	def_bool y
1508c2ecf20Sopenharmony_ci	prompt "Support for the z/VM CP interface"
1518c2ecf20Sopenharmony_ci	depends on S390
1528c2ecf20Sopenharmony_ci	select CMA
1538c2ecf20Sopenharmony_ci	help
1548c2ecf20Sopenharmony_ci	  Select this option if you want to be able to interact with the control
1558c2ecf20Sopenharmony_ci	  program on z/VM
1568c2ecf20Sopenharmony_ci
1578c2ecf20Sopenharmony_ciconfig VMCP_CMA_SIZE
1588c2ecf20Sopenharmony_ci	int "Memory in MiB reserved for z/VM CP interface"
1598c2ecf20Sopenharmony_ci	default "4"
1608c2ecf20Sopenharmony_ci	depends on VMCP
1618c2ecf20Sopenharmony_ci	help
1628c2ecf20Sopenharmony_ci	  Specify the default amount of memory in MiB reserved for the z/VM CP
1638c2ecf20Sopenharmony_ci	  interface. If needed this memory is used for large contiguous memory
1648c2ecf20Sopenharmony_ci	  allocations. The default can be changed with the kernel command line
1658c2ecf20Sopenharmony_ci	  parameter "vmcp_cma".
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ciconfig MONREADER
1688c2ecf20Sopenharmony_ci	def_tristate m
1698c2ecf20Sopenharmony_ci	prompt "API for reading z/VM monitor service records"
1708c2ecf20Sopenharmony_ci	depends on IUCV
1718c2ecf20Sopenharmony_ci	help
1728c2ecf20Sopenharmony_ci	  Character device driver for reading z/VM monitor service records
1738c2ecf20Sopenharmony_ci
1748c2ecf20Sopenharmony_ciconfig MONWRITER
1758c2ecf20Sopenharmony_ci	def_tristate m
1768c2ecf20Sopenharmony_ci	prompt "API for writing z/VM monitor service records"
1778c2ecf20Sopenharmony_ci	depends on S390
1788c2ecf20Sopenharmony_ci	help
1798c2ecf20Sopenharmony_ci	  Character device driver for writing z/VM monitor service records
1808c2ecf20Sopenharmony_ci
1818c2ecf20Sopenharmony_ciconfig S390_VMUR
1828c2ecf20Sopenharmony_ci	def_tristate m
1838c2ecf20Sopenharmony_ci	prompt "z/VM unit record device driver"
1848c2ecf20Sopenharmony_ci	depends on S390
1858c2ecf20Sopenharmony_ci	help
1868c2ecf20Sopenharmony_ci	  Character device driver for z/VM reader, puncher and printer.
187