Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[S390] Kconfig: use common Kconfig files for s390.

Disband drivers/s390/Kconfig, use the common Kconfig files. The s390
specific config options from drivers/s390/Kconfig are moved to the
respective common Kconfig files.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

+70 -139
+16 -33
arch/s390/Kconfig
··· 4 4 # 5 5 6 6 config MMU 7 - bool 8 - default y 7 + def_bool y 9 8 10 9 config ZONE_DMA 11 10 def_bool y 12 11 depends on 64BIT 13 12 14 13 config LOCKDEP_SUPPORT 15 - bool 16 - default y 14 + def_bool y 17 15 18 16 config STACKTRACE_SUPPORT 19 - bool 20 - default y 17 + def_bool y 21 18 22 19 config RWSEM_GENERIC_SPINLOCK 23 20 bool 24 21 25 22 config RWSEM_XCHGADD_ALGORITHM 26 - bool 27 - default y 23 + def_bool y 28 24 29 25 config ARCH_HAS_ILOG2_U32 30 26 bool ··· 31 35 default n 32 36 33 37 config GENERIC_HWEIGHT 34 - bool 35 - default y 38 + def_bool y 36 39 37 40 config GENERIC_TIME 38 41 def_bool y ··· 50 55 mainmenu "Linux Kernel Configuration" 51 56 52 57 config S390 53 - bool 54 - default y 58 + def_bool y 55 59 56 60 source "init/Kconfig" 57 61 ··· 274 280 config ARCH_POPULATES_NODE_MAP 275 281 def_bool y 276 282 283 + comment "Kernel preemption" 284 + 285 + source "kernel/Kconfig.preempt" 286 + 277 287 source "mm/Kconfig" 278 288 279 289 config HOLES_IN_ZONE ··· 317 319 If unsure, say N. 318 320 319 321 comment "Misc" 320 - 321 - config PREEMPT 322 - bool "Preemptible Kernel" 323 - help 324 - This option reduces the latency of the kernel when reacting to 325 - real-time or interactive events by allowing a low priority process to 326 - be preempted even if it is in kernel mode executing a system call. 327 - This allows applications to run more reliably even when the system is 328 - under load. 329 - 330 - Say N if you are unsure. 331 322 332 323 config IPL 333 324 bool "Builtin IPL record support" ··· 475 488 This can also be compiled as a module, which will be called 476 489 appldata_net_sum.o. 477 490 491 + source kernel/Kconfig.hz 492 + 478 493 config NO_IDLE_HZ 479 494 bool "No HZ timer ticks in idle" 480 495 help ··· 524 535 source "net/Kconfig" 525 536 526 537 config PCMCIA 527 - bool 528 - default n 538 + def_bool n 529 539 530 - source "drivers/base/Kconfig" 540 + config CCW 541 + def_bool y 531 542 532 - source "drivers/connector/Kconfig" 533 - 534 - source "drivers/scsi/Kconfig" 535 - 536 - source "drivers/s390/Kconfig" 537 - 538 - source "drivers/net/Kconfig" 543 + source "drivers/Kconfig" 539 544 540 545 source "fs/Kconfig" 541 546
+2 -2
drivers/block/Kconfig
··· 444 444 this option is dangerous unless the CD-RW media is known good, as we 445 445 don't do deferred write error handling yet. 446 446 447 - source "drivers/s390/block/Kconfig" 448 - 449 447 config ATA_OVER_ETH 450 448 tristate "ATA over Ethernet support" 451 449 depends on NET 452 450 help 453 451 This driver provides Support for ATA over Ethernet block 454 452 devices like the Coraid EtherDrive (R) Storage Blade. 453 + 454 + source "drivers/s390/block/Kconfig" 455 455 456 456 endmenu 457 457
+2
drivers/char/Kconfig
··· 1081 1081 depends on ISA || PCI 1082 1082 default y 1083 1083 1084 + source "drivers/s390/char/Kconfig" 1085 + 1084 1086 endmenu 1085 1087
+22
drivers/crypto/Kconfig
··· 56 56 To compile this driver as a module, choose M here: the module 57 57 will be called geode-aes. 58 58 59 + config ZCRYPT 60 + tristate "Support for PCI-attached cryptographic adapters" 61 + depends on S390 62 + select ZCRYPT_MONOLITHIC if ZCRYPT="y" 63 + default "m" 64 + help 65 + Select this option if you want to use a PCI-attached cryptographic 66 + adapter like: 67 + + PCI Cryptographic Accelerator (PCICA) 68 + + PCI Cryptographic Coprocessor (PCICC) 69 + + PCI-X Cryptographic Coprocessor (PCIXCC) 70 + + Crypto Express2 Coprocessor (CEX2C) 71 + + Crypto Express2 Accelerator (CEX2A) 72 + 73 + config ZCRYPT_MONOLITHIC 74 + bool "Monolithic zcrypt module" 75 + depends on ZCRYPT="m" 76 + help 77 + Select this option if you want to have a single module z90crypt.ko 78 + that contains all parts of the crypto device driver (ap bus, 79 + request router and all the card drivers). 80 + 59 81 endmenu
+19 -92
drivers/s390/Kconfig drivers/s390/char/Kconfig
··· 1 - config CCW 2 - bool 3 - default y 4 - 5 - source "drivers/block/Kconfig" 6 - 7 - source "drivers/md/Kconfig" 8 - 9 - 10 - menu "Character device drivers" 11 - 12 - config UNIX98_PTYS 13 - bool "Unix98 PTY support" 14 - ---help--- 15 - A pseudo terminal (PTY) is a software device consisting of two 16 - halves: a master and a slave. The slave device behaves identical to 17 - a physical terminal; the master device is used by a process to 18 - read data from and write data to the slave, thereby emulating a 19 - terminal. Typical programs for the master side are telnet servers 20 - and xterms. 21 - 22 - Linux has traditionally used the BSD-like names /dev/ptyxx for 23 - masters and /dev/ttyxx for slaves of pseudo terminals. This scheme 24 - has a number of problems. The GNU C library glibc 2.1 and later, 25 - however, supports the Unix98 naming standard: in order to acquire a 26 - pseudo terminal, a process opens /dev/ptmx; the number of the pseudo 27 - terminal is then made available to the process and the pseudo 28 - terminal slave can be accessed as /dev/pts/<number>. What was 29 - traditionally /dev/ttyp2 will then be /dev/pts/2, for example. 30 - 31 - The entries in /dev/pts/ are created on the fly by a virtual 32 - file system; therefore, if you say Y here you should say Y to 33 - "/dev/pts file system for Unix98 PTYs" as well. 34 - 35 - If you want to say Y here, you need to have the C library glibc 2.1 36 - or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*"). 37 - Read the instructions in <file:Documentation/Changes> pertaining to 38 - pseudo terminals. It's safe to say N. 39 - 40 - config UNIX98_PTY_COUNT 41 - int "Maximum number of Unix98 PTYs in use (0-2048)" 42 - depends on UNIX98_PTYS 43 - default "256" 44 - help 45 - The maximum number of Unix98 PTYs that can be used at any one time. 46 - The default is 256, and should be enough for desktop systems. Server 47 - machines which support incoming telnet/rlogin/ssh connections and/or 48 - serve several X terminals may want to increase this: every incoming 49 - connection and every xterm uses up one PTY. 50 - 51 - When not in use, each additional set of 256 PTYs occupy 52 - approximately 8 KB of kernel memory on 32-bit architectures. 53 - 54 - config HANGCHECK_TIMER 55 - tristate "Hangcheck timer" 56 - help 57 - The hangcheck-timer module detects when the system has gone 58 - out to lunch past a certain margin. It can reboot the system 59 - or merely print a warning. 60 - 61 - source "drivers/char/watchdog/Kconfig" 62 - 63 1 comment "S/390 character device drivers" 2 + depends on S390 64 3 65 4 config TN3270 66 5 tristate "Support for locally attached 3270 terminals" 6 + depends on CCW 67 7 help 68 8 Include support for IBM 3270 terminals. 69 9 ··· 28 88 29 89 config TN3215 30 90 bool "Support for 3215 line mode terminal" 91 + depends on CCW 31 92 help 32 93 Include support for IBM 3215 line-mode terminals. 33 94 ··· 40 99 Linux system console. 41 100 42 101 config CCW_CONSOLE 43 - bool 44 - depends on TN3215_CONSOLE || TN3270_CONSOLE 45 - default y 46 - 102 + bool 103 + depends on TN3215_CONSOLE || TN3270_CONSOLE 104 + default y 105 + 106 + config SCLP 107 + bool "Support for SCLP" 108 + depends on S390 109 + help 110 + Include support for the SCLP interface to the service element. 111 + 47 112 config SCLP_TTY 48 113 bool "Support for SCLP line mode terminal" 114 + depends on SCLP 49 115 help 50 116 Include support for IBM SCLP line-mode terminals. 51 117 ··· 65 117 66 118 config SCLP_VT220_TTY 67 119 bool "Support for SCLP VT220-compatible terminal" 120 + depends on SCLP 68 121 help 69 122 Include support for an IBM SCLP VT220-compatible terminal. 70 123 ··· 78 129 79 130 config SCLP_CPI 80 131 tristate "Control-Program Identification" 132 + depends on SCLP 81 133 help 82 134 This option enables the hardware console interface for system 83 135 identification. This is commonly used for workload management and ··· 90 140 91 141 config S390_TAPE 92 142 tristate "S/390 tape device support" 143 + depends on CCW 93 144 help 94 145 Select this option if you want to access channel-attached tape 95 146 devices on IBM S/390 or zSeries. ··· 145 194 146 195 config VMCP 147 196 tristate "Support for the z/VM CP interface (VM only)" 197 + depends on S390 148 198 help 149 199 Select this option if you want to be able to interact with the control 150 200 program on z/VM ··· 159 207 160 208 config MONWRITER 161 209 tristate "API for writing z/VM monitor service records" 210 + depends on S390 162 211 default "m" 163 212 help 164 213 Character device driver for writing z/VM monitor service records 165 214 166 - endmenu 167 - 168 - menu "Cryptographic devices" 169 - 170 - config ZCRYPT 171 - tristate "Support for PCI-attached cryptographic adapters" 172 - select ZCRYPT_MONOLITHIC if ZCRYPT="y" 173 - default "m" 174 - help 175 - Select this option if you want to use a PCI-attached cryptographic 176 - adapter like: 177 - + PCI Cryptographic Accelerator (PCICA) 178 - + PCI Cryptographic Coprocessor (PCICC) 179 - + PCI-X Cryptographic Coprocessor (PCIXCC) 180 - + Crypto Express2 Coprocessor (CEX2C) 181 - + Crypto Express2 Accelerator (CEX2A) 182 - 183 - config ZCRYPT_MONOLITHIC 184 - bool "Monolithic zcrypt module" 185 - depends on ZCRYPT="m" 186 - help 187 - Select this option if you want to have a single module z90crypt.ko 188 - that contains all parts of the crypto device driver (ap bus, 189 - request router and all the card drivers). 190 - 191 - endmenu
+4 -7
drivers/s390/block/Kconfig
··· 1 - if S390 && BLOCK 2 - 3 1 comment "S/390 block device drivers" 4 - depends on S390 2 + depends on S390 && BLOCK 5 3 6 4 config BLK_DEV_XPRAM 7 5 tristate "XPRAM disk support" 8 - depends on S390 6 + depends on S390 && BLOCK 9 7 help 10 8 Select this option if you want to use your expanded storage on S/390 11 9 or zSeries as a disk. This is useful as a _fast_ swap device if you ··· 13 15 14 16 config DCSSBLK 15 17 tristate "DCSSBLK support" 18 + depends on S390 && BLOCK 16 19 help 17 20 Support for dcss block device 18 21 19 22 config DASD 20 23 tristate "Support for DASD devices" 21 - depends on CCW 24 + depends on CCW && BLOCK 22 25 help 23 26 Enable this option if you want to access DASDs directly utilizing 24 27 S/390s channel subsystem commands. This is necessary for running ··· 61 62 This driver provides a character device interface to the 62 63 DASD extended error reporting. This is only needed if you want to 63 64 use applications written for the EER facility. 64 - 65 - endif
+4 -4
drivers/s390/net/Kconfig
··· 3 3 4 4 config LCS 5 5 tristate "Lan Channel Station Interface" 6 - depends on NETDEVICES && (NET_ETHERNET || TR || FDDI) 6 + depends on CCW && NETDEVICES && (NET_ETHERNET || TR || FDDI) 7 7 help 8 8 Select this option if you want to use LCS networking on IBM S/390 9 9 or zSeries. This device driver supports Token Ring (IEEE 802.5), ··· 13 13 14 14 config CTC 15 15 tristate "CTC device support" 16 - depends on NETDEVICES 16 + depends on CCW && NETDEVICES 17 17 help 18 18 Select this option if you want to use channel-to-channel networking 19 19 on IBM S/390 or zSeries. This device driver supports real CTC ··· 42 42 43 43 config CLAW 44 44 tristate "CLAW device support" 45 - depends on NETDEVICES 45 + depends on CCW && NETDEVICES 46 46 help 47 47 This driver supports channel attached CLAW devices. 48 48 CLAW is Common Link Access for Workstation. Common devices ··· 52 52 53 53 config QETH 54 54 tristate "Gigabit Ethernet device support" 55 - depends on NETDEVICES && IP_MULTICAST && QDIO 55 + depends on CCW && NETDEVICES && IP_MULTICAST && QDIO 56 56 help 57 57 This driver supports the IBM S/390 and zSeries OSA Express adapters 58 58 in QDIO mode (all media types), HiperSockets interfaces and VM GuestLAN
+1 -1
include/asm-s390/param.h
··· 10 10 #define _ASMS390_PARAM_H 11 11 12 12 #ifdef __KERNEL__ 13 - # define HZ 100 /* Internal kernel timer frequency */ 13 + # define HZ CONFIG_HZ /* Internal kernel timer frequency */ 14 14 # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ 15 15 # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ 16 16 #endif