diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-01-05 06:47:15 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 06:47:23 -0500 |
commit | 6f9a3c330652b0fdb65d89e94977a8e79fe730e7 (patch) | |
tree | bdf071266d5b2d423ee7d4adb8cf25621d598ed9 /drivers/s390 | |
parent | 53ec24b1e6c7118a127cf029a1519a2ce55268ec (diff) |
[S390] cleanup s390 Kconfig
Make use of def_bool and def_tristate where possible and add sensible
defaults to the config symbols where applicable. This shortens the
defconfig file by another ~40 lines.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/Kconfig | 24 | ||||
-rw-r--r-- | drivers/s390/char/Kconfig | 69 | ||||
-rw-r--r-- | drivers/s390/net/Kconfig | 51 |
3 files changed, 88 insertions, 56 deletions
diff --git a/drivers/s390/block/Kconfig b/drivers/s390/block/Kconfig index 07883197f474..8e477bb1f3f6 100644 --- a/drivers/s390/block/Kconfig +++ b/drivers/s390/block/Kconfig | |||
@@ -2,7 +2,8 @@ comment "S/390 block device drivers" | |||
2 | depends on S390 && BLOCK | 2 | depends on S390 && BLOCK |
3 | 3 | ||
4 | config BLK_DEV_XPRAM | 4 | config BLK_DEV_XPRAM |
5 | tristate "XPRAM disk support" | 5 | def_tristate m |
6 | prompt "XPRAM disk support" | ||
6 | depends on S390 && BLOCK | 7 | depends on S390 && BLOCK |
7 | help | 8 | help |
8 | Select this option if you want to use your expanded storage on S/390 | 9 | Select this option if you want to use your expanded storage on S/390 |
@@ -12,13 +13,15 @@ config BLK_DEV_XPRAM | |||
12 | xpram. If unsure, say "N". | 13 | xpram. If unsure, say "N". |
13 | 14 | ||
14 | config DCSSBLK | 15 | config DCSSBLK |
15 | tristate "DCSSBLK support" | 16 | def_tristate m |
17 | prompt "DCSSBLK support" | ||
16 | depends on S390 && BLOCK | 18 | depends on S390 && BLOCK |
17 | help | 19 | help |
18 | Support for dcss block device | 20 | Support for dcss block device |
19 | 21 | ||
20 | config DASD | 22 | config DASD |
21 | tristate "Support for DASD devices" | 23 | def_tristate y |
24 | prompt "Support for DASD devices" | ||
22 | depends on CCW && BLOCK | 25 | depends on CCW && BLOCK |
23 | select IOSCHED_DEADLINE | 26 | select IOSCHED_DEADLINE |
24 | help | 27 | help |
@@ -27,28 +30,32 @@ config DASD | |||
27 | natively on a single image or an LPAR. | 30 | natively on a single image or an LPAR. |
28 | 31 | ||
29 | config DASD_PROFILE | 32 | config DASD_PROFILE |
30 | bool "Profiling support for dasd devices" | 33 | def_bool y |
34 | prompt "Profiling support for dasd devices" | ||
31 | depends on DASD | 35 | depends on DASD |
32 | help | 36 | help |
33 | Enable this option if you want to see profiling information | 37 | Enable this option if you want to see profiling information |
34 | in /proc/dasd/statistics. | 38 | in /proc/dasd/statistics. |
35 | 39 | ||
36 | config DASD_ECKD | 40 | config DASD_ECKD |
37 | tristate "Support for ECKD Disks" | 41 | def_tristate y |
42 | prompt "Support for ECKD Disks" | ||
38 | depends on DASD | 43 | depends on DASD |
39 | help | 44 | help |
40 | ECKD devices are the most commonly used devices. You should enable | 45 | ECKD devices are the most commonly used devices. You should enable |
41 | this option unless you are very sure to have no ECKD device. | 46 | this option unless you are very sure to have no ECKD device. |
42 | 47 | ||
43 | config DASD_FBA | 48 | config DASD_FBA |
44 | tristate "Support for FBA Disks" | 49 | def_tristate y |
50 | prompt "Support for FBA Disks" | ||
45 | depends on DASD | 51 | depends on DASD |
46 | help | 52 | help |
47 | Select this option to be able to access FBA devices. It is safe to | 53 | Select this option to be able to access FBA devices. It is safe to |
48 | say "Y". | 54 | say "Y". |
49 | 55 | ||
50 | config DASD_DIAG | 56 | config DASD_DIAG |
51 | tristate "Support for DIAG access to Disks" | 57 | def_tristate y |
58 | prompt "Support for DIAG access to Disks" | ||
52 | depends on DASD | 59 | depends on DASD |
53 | help | 60 | help |
54 | Select this option if you want to use Diagnose250 command to access | 61 | Select this option if you want to use Diagnose250 command to access |
@@ -56,7 +63,8 @@ config DASD_DIAG | |||
56 | say "N". | 63 | say "N". |
57 | 64 | ||
58 | config DASD_EER | 65 | config DASD_EER |
59 | bool "Extended error reporting (EER)" | 66 | def_bool y |
67 | prompt "Extended error reporting (EER)" | ||
60 | depends on DASD | 68 | depends on DASD |
61 | help | 69 | help |
62 | This driver provides a character device interface to the | 70 | This driver provides a character device interface to the |
diff --git a/drivers/s390/char/Kconfig b/drivers/s390/char/Kconfig index 40834f18754c..dcee3c5c8954 100644 --- a/drivers/s390/char/Kconfig +++ b/drivers/s390/char/Kconfig | |||
@@ -2,76 +2,85 @@ comment "S/390 character device drivers" | |||
2 | depends on S390 | 2 | depends on S390 |
3 | 3 | ||
4 | config TN3270 | 4 | config TN3270 |
5 | tristate "Support for locally attached 3270 terminals" | 5 | def_tristate y |
6 | prompt "Support for locally attached 3270 terminals" | ||
6 | depends on CCW | 7 | depends on CCW |
7 | help | 8 | help |
8 | Include support for IBM 3270 terminals. | 9 | Include support for IBM 3270 terminals. |
9 | 10 | ||
10 | config TN3270_TTY | 11 | config TN3270_TTY |
11 | tristate "Support for tty input/output on 3270 terminals" | 12 | def_tristate y |
13 | prompt "Support for tty input/output on 3270 terminals" | ||
12 | depends on TN3270 | 14 | depends on TN3270 |
13 | help | 15 | help |
14 | Include support for using an IBM 3270 terminal as a Linux tty. | 16 | Include support for using an IBM 3270 terminal as a Linux tty. |
15 | 17 | ||
16 | config TN3270_FS | 18 | config TN3270_FS |
17 | tristate "Support for fullscreen applications on 3270 terminals" | 19 | def_tristate m |
20 | prompt "Support for fullscreen applications on 3270 terminals" | ||
18 | depends on TN3270 | 21 | depends on TN3270 |
19 | help | 22 | help |
20 | Include support for fullscreen applications on an IBM 3270 terminal. | 23 | Include support for fullscreen applications on an IBM 3270 terminal. |
21 | 24 | ||
22 | config TN3270_CONSOLE | 25 | config TN3270_CONSOLE |
23 | bool "Support for console on 3270 terminal" | 26 | def_bool y |
27 | prompt "Support for console on 3270 terminal" | ||
24 | depends on TN3270=y && TN3270_TTY=y | 28 | depends on TN3270=y && TN3270_TTY=y |
25 | help | 29 | help |
26 | Include support for using an IBM 3270 terminal as a Linux system | 30 | Include support for using an IBM 3270 terminal as a Linux system |
27 | console. Available only if 3270 support is compiled in statically. | 31 | console. Available only if 3270 support is compiled in statically. |
28 | 32 | ||
29 | config TN3215 | 33 | config TN3215 |
30 | bool "Support for 3215 line mode terminal" | 34 | def_bool y |
35 | prompt "Support for 3215 line mode terminal" | ||
31 | depends on CCW | 36 | depends on CCW |
32 | help | 37 | help |
33 | Include support for IBM 3215 line-mode terminals. | 38 | Include support for IBM 3215 line-mode terminals. |
34 | 39 | ||
35 | config TN3215_CONSOLE | 40 | config TN3215_CONSOLE |
36 | bool "Support for console on 3215 line mode terminal" | 41 | def_bool y |
42 | prompt "Support for console on 3215 line mode terminal" | ||
37 | depends on TN3215 | 43 | depends on TN3215 |
38 | help | 44 | help |
39 | Include support for using an IBM 3215 line-mode terminal as a | 45 | Include support for using an IBM 3215 line-mode terminal as a |
40 | Linux system console. | 46 | Linux system console. |
41 | 47 | ||
42 | config CCW_CONSOLE | 48 | config CCW_CONSOLE |
43 | bool | 49 | def_bool y if TN3215_CONSOLE || TN3270_CONSOLE |
44 | depends on TN3215_CONSOLE || TN3270_CONSOLE | ||
45 | default y | ||
46 | 50 | ||
47 | config SCLP_TTY | 51 | config SCLP_TTY |
48 | bool "Support for SCLP line mode terminal" | 52 | def_bool y |
53 | prompt "Support for SCLP line mode terminal" | ||
49 | depends on S390 | 54 | depends on S390 |
50 | help | 55 | help |
51 | Include support for IBM SCLP line-mode terminals. | 56 | Include support for IBM SCLP line-mode terminals. |
52 | 57 | ||
53 | config SCLP_CONSOLE | 58 | config SCLP_CONSOLE |
54 | bool "Support for console on SCLP line mode terminal" | 59 | def_bool y |
60 | prompt "Support for console on SCLP line mode terminal" | ||
55 | depends on SCLP_TTY | 61 | depends on SCLP_TTY |
56 | help | 62 | help |
57 | Include support for using an IBM HWC line-mode terminal as the Linux | 63 | Include support for using an IBM HWC line-mode terminal as the Linux |
58 | system console. | 64 | system console. |
59 | 65 | ||
60 | config SCLP_VT220_TTY | 66 | config SCLP_VT220_TTY |
61 | bool "Support for SCLP VT220-compatible terminal" | 67 | def_bool y |
68 | prompt "Support for SCLP VT220-compatible terminal" | ||
62 | depends on S390 | 69 | depends on S390 |
63 | help | 70 | help |
64 | Include support for an IBM SCLP VT220-compatible terminal. | 71 | Include support for an IBM SCLP VT220-compatible terminal. |
65 | 72 | ||
66 | config SCLP_VT220_CONSOLE | 73 | config SCLP_VT220_CONSOLE |
67 | bool "Support for console on SCLP VT220-compatible terminal" | 74 | def_bool y |
75 | prompt "Support for console on SCLP VT220-compatible terminal" | ||
68 | depends on SCLP_VT220_TTY | 76 | depends on SCLP_VT220_TTY |
69 | help | 77 | help |
70 | Include support for using an IBM SCLP VT220-compatible terminal as a | 78 | Include support for using an IBM SCLP VT220-compatible terminal as a |
71 | Linux system console. | 79 | Linux system console. |
72 | 80 | ||
73 | config SCLP_CPI | 81 | config SCLP_CPI |
74 | tristate "Control-Program Identification" | 82 | def_tristate m |
83 | prompt "Control-Program Identification" | ||
75 | depends on S390 | 84 | depends on S390 |
76 | help | 85 | help |
77 | This option enables the hardware console interface for system | 86 | This option enables the hardware console interface for system |
@@ -83,7 +92,8 @@ config SCLP_CPI | |||
83 | need this feature and intend to run your kernel in LPAR. | 92 | need this feature and intend to run your kernel in LPAR. |
84 | 93 | ||
85 | config SCLP_ASYNC | 94 | config SCLP_ASYNC |
86 | tristate "Support for Call Home via Asynchronous SCLP Records" | 95 | def_tristate m |
96 | prompt "Support for Call Home via Asynchronous SCLP Records" | ||
87 | depends on S390 | 97 | depends on S390 |
88 | help | 98 | help |
89 | This option enables the call home function, which is able to inform | 99 | This option enables the call home function, which is able to inform |
@@ -93,7 +103,8 @@ config SCLP_ASYNC | |||
93 | need this feature and intend to run your kernel in LPAR. | 103 | need this feature and intend to run your kernel in LPAR. |
94 | 104 | ||
95 | config S390_TAPE | 105 | config S390_TAPE |
96 | tristate "S/390 tape device support" | 106 | def_tristate m |
107 | prompt "S/390 tape device support" | ||
97 | depends on CCW | 108 | depends on CCW |
98 | help | 109 | help |
99 | Select this option if you want to access channel-attached tape | 110 | Select this option if you want to access channel-attached tape |
@@ -109,7 +120,8 @@ comment "S/390 tape interface support" | |||
109 | depends on S390_TAPE | 120 | depends on S390_TAPE |
110 | 121 | ||
111 | config S390_TAPE_BLOCK | 122 | config S390_TAPE_BLOCK |
112 | bool "Support for tape block devices" | 123 | def_bool y |
124 | prompt "Support for tape block devices" | ||
113 | depends on S390_TAPE && BLOCK | 125 | depends on S390_TAPE && BLOCK |
114 | help | 126 | help |
115 | Select this option if you want to access your channel-attached tape | 127 | Select this option if you want to access your channel-attached tape |
@@ -123,7 +135,8 @@ comment "S/390 tape hardware support" | |||
123 | depends on S390_TAPE | 135 | depends on S390_TAPE |
124 | 136 | ||
125 | config S390_TAPE_34XX | 137 | config S390_TAPE_34XX |
126 | tristate "Support for 3480/3490 tape hardware" | 138 | def_tristate m |
139 | prompt "Support for 3480/3490 tape hardware" | ||
127 | depends on S390_TAPE | 140 | depends on S390_TAPE |
128 | help | 141 | help |
129 | Select this option if you want to access IBM 3480/3490 magnetic | 142 | Select this option if you want to access IBM 3480/3490 magnetic |
@@ -131,7 +144,8 @@ config S390_TAPE_34XX | |||
131 | It is safe to say "Y" here. | 144 | It is safe to say "Y" here. |
132 | 145 | ||
133 | config S390_TAPE_3590 | 146 | config S390_TAPE_3590 |
134 | tristate "Support for 3590 tape hardware" | 147 | def_tristate m |
148 | prompt "Support for 3590 tape hardware" | ||
135 | depends on S390_TAPE | 149 | depends on S390_TAPE |
136 | help | 150 | help |
137 | Select this option if you want to access IBM 3590 magnetic | 151 | Select this option if you want to access IBM 3590 magnetic |
@@ -139,7 +153,8 @@ config S390_TAPE_3590 | |||
139 | It is safe to say "Y" here. | 153 | It is safe to say "Y" here. |
140 | 154 | ||
141 | config VMLOGRDR | 155 | config VMLOGRDR |
142 | tristate "Support for the z/VM recording system services (VM only)" | 156 | def_tristate m |
157 | prompt "Support for the z/VM recording system services (VM only)" | ||
143 | depends on IUCV | 158 | depends on IUCV |
144 | help | 159 | help |
145 | Select this option if you want to be able to receive records collected | 160 | Select this option if you want to be able to receive records collected |
@@ -148,29 +163,31 @@ config VMLOGRDR | |||
148 | This driver depends on the IUCV support driver. | 163 | This driver depends on the IUCV support driver. |
149 | 164 | ||
150 | config VMCP | 165 | config VMCP |
151 | bool "Support for the z/VM CP interface" | 166 | def_bool y |
167 | prompt "Support for the z/VM CP interface" | ||
152 | depends on S390 | 168 | depends on S390 |
153 | help | 169 | help |
154 | Select this option if you want to be able to interact with the control | 170 | Select this option if you want to be able to interact with the control |
155 | program on z/VM | 171 | program on z/VM |
156 | 172 | ||
157 | config MONREADER | 173 | config MONREADER |
158 | tristate "API for reading z/VM monitor service records" | 174 | def_tristate m |
175 | prompt "API for reading z/VM monitor service records" | ||
159 | depends on IUCV | 176 | depends on IUCV |
160 | help | 177 | help |
161 | Character device driver for reading z/VM monitor service records | 178 | Character device driver for reading z/VM monitor service records |
162 | 179 | ||
163 | config MONWRITER | 180 | config MONWRITER |
164 | tristate "API for writing z/VM monitor service records" | 181 | def_tristate m |
182 | prompt "API for writing z/VM monitor service records" | ||
165 | depends on S390 | 183 | depends on S390 |
166 | default "m" | ||
167 | help | 184 | help |
168 | Character device driver for writing z/VM monitor service records | 185 | Character device driver for writing z/VM monitor service records |
169 | 186 | ||
170 | config S390_VMUR | 187 | config S390_VMUR |
171 | tristate "z/VM unit record device driver" | 188 | def_tristate m |
189 | prompt "z/VM unit record device driver" | ||
172 | depends on S390 | 190 | depends on S390 |
173 | default "m" | ||
174 | help | 191 | help |
175 | Character device driver for z/VM reader, puncher and printer. | 192 | Character device driver for z/VM reader, puncher and printer. |
176 | 193 | ||
diff --git a/drivers/s390/net/Kconfig b/drivers/s390/net/Kconfig index 456b18743397..fa80ba1f0344 100644 --- a/drivers/s390/net/Kconfig +++ b/drivers/s390/net/Kconfig | |||
@@ -2,7 +2,8 @@ menu "S/390 network device drivers" | |||
2 | depends on NETDEVICES && S390 | 2 | depends on NETDEVICES && S390 |
3 | 3 | ||
4 | config LCS | 4 | config LCS |
5 | tristate "Lan Channel Station Interface" | 5 | def_tristate m |
6 | prompt "Lan Channel Station Interface" | ||
6 | depends on CCW && NETDEVICES && (NET_ETHERNET || TR || FDDI) | 7 | depends on CCW && NETDEVICES && (NET_ETHERNET || TR || FDDI) |
7 | help | 8 | help |
8 | Select this option if you want to use LCS networking on IBM System z. | 9 | Select this option if you want to use LCS networking on IBM System z. |
@@ -12,7 +13,8 @@ config LCS | |||
12 | If you do not know what it is, it's safe to choose Y. | 13 | If you do not know what it is, it's safe to choose Y. |
13 | 14 | ||
14 | config CTCM | 15 | config CTCM |
15 | tristate "CTC and MPC SNA device support" | 16 | def_tristate m |
17 | prompt "CTC and MPC SNA device support" | ||
16 | depends on CCW && NETDEVICES | 18 | depends on CCW && NETDEVICES |
17 | help | 19 | help |
18 | Select this option if you want to use channel-to-channel | 20 | Select this option if you want to use channel-to-channel |
@@ -26,7 +28,8 @@ config CTCM | |||
26 | If you do not need any channel-to-channel connection, choose N. | 28 | If you do not need any channel-to-channel connection, choose N. |
27 | 29 | ||
28 | config NETIUCV | 30 | config NETIUCV |
29 | tristate "IUCV network device support (VM only)" | 31 | def_tristate m |
32 | prompt "IUCV network device support (VM only)" | ||
30 | depends on IUCV && NETDEVICES | 33 | depends on IUCV && NETDEVICES |
31 | help | 34 | help |
32 | Select this option if you want to use inter-user communication | 35 | Select this option if you want to use inter-user communication |
@@ -37,14 +40,16 @@ config NETIUCV | |||
37 | The module name is netiucv. If unsure, choose Y. | 40 | The module name is netiucv. If unsure, choose Y. |
38 | 41 | ||
39 | config SMSGIUCV | 42 | config SMSGIUCV |
40 | tristate "IUCV special message support (VM only)" | 43 | def_tristate m |
44 | prompt "IUCV special message support (VM only)" | ||
41 | depends on IUCV | 45 | depends on IUCV |
42 | help | 46 | help |
43 | Select this option if you want to be able to receive SMSG messages | 47 | Select this option if you want to be able to receive SMSG messages |
44 | from other VM guest systems. | 48 | from other VM guest systems. |
45 | 49 | ||
46 | config SMSGIUCV_EVENT | 50 | config SMSGIUCV_EVENT |
47 | tristate "Deliver IUCV special messages as uevents (VM only)" | 51 | def_tristate m |
52 | prompt "Deliver IUCV special messages as uevents (VM only)" | ||
48 | depends on SMSGIUCV | 53 | depends on SMSGIUCV |
49 | help | 54 | help |
50 | Select this option to deliver CP special messages (SMSGs) as | 55 | Select this option to deliver CP special messages (SMSGs) as |
@@ -54,7 +59,8 @@ config SMSGIUCV_EVENT | |||
54 | To compile as a module, choose M. The module name is "smsgiucv_app". | 59 | To compile as a module, choose M. The module name is "smsgiucv_app". |
55 | 60 | ||
56 | config CLAW | 61 | config CLAW |
57 | tristate "CLAW device support" | 62 | def_tristate m |
63 | prompt "CLAW device support" | ||
58 | depends on CCW && NETDEVICES | 64 | depends on CCW && NETDEVICES |
59 | help | 65 | help |
60 | This driver supports channel attached CLAW devices. | 66 | This driver supports channel attached CLAW devices. |
@@ -64,7 +70,8 @@ config CLAW | |||
64 | To compile into the kernel, choose Y. | 70 | To compile into the kernel, choose Y. |
65 | 71 | ||
66 | config QETH | 72 | config QETH |
67 | tristate "Gigabit Ethernet device support" | 73 | def_tristate y |
74 | prompt "Gigabit Ethernet device support" | ||
68 | depends on CCW && NETDEVICES && IP_MULTICAST && QDIO | 75 | depends on CCW && NETDEVICES && IP_MULTICAST && QDIO |
69 | help | 76 | help |
70 | This driver supports the IBM System z OSA Express adapters | 77 | This driver supports the IBM System z OSA Express adapters |
@@ -78,25 +85,25 @@ config QETH | |||
78 | The module name is qeth. | 85 | The module name is qeth. |
79 | 86 | ||
80 | config QETH_L2 | 87 | config QETH_L2 |
81 | tristate "qeth layer 2 device support" | 88 | def_tristate y |
82 | depends on QETH | 89 | prompt "qeth layer 2 device support" |
83 | help | 90 | depends on QETH |
84 | Select this option to be able to run qeth devices in layer 2 mode. | 91 | help |
85 | To compile as a module, choose M. The module name is qeth_l2. | 92 | Select this option to be able to run qeth devices in layer 2 mode. |
86 | If unsure, choose y. | 93 | To compile as a module, choose M. The module name is qeth_l2. |
94 | If unsure, choose y. | ||
87 | 95 | ||
88 | config QETH_L3 | 96 | config QETH_L3 |
89 | tristate "qeth layer 3 device support" | 97 | def_tristate y |
90 | depends on QETH | 98 | prompt "qeth layer 3 device support" |
91 | help | 99 | depends on QETH |
92 | Select this option to be able to run qeth devices in layer 3 mode. | 100 | help |
93 | To compile as a module choose M. The module name is qeth_l3. | 101 | Select this option to be able to run qeth devices in layer 3 mode. |
94 | If unsure, choose Y. | 102 | To compile as a module choose M. The module name is qeth_l3. |
103 | If unsure, choose Y. | ||
95 | 104 | ||
96 | config QETH_IPV6 | 105 | config QETH_IPV6 |
97 | bool | 106 | def_bool y if (QETH_L3 = IPV6) || (QETH_L3 && IPV6 = 'y') |
98 | depends on (QETH_L3 = IPV6) || (QETH_L3 && IPV6 = 'y') | ||
99 | default y | ||
100 | 107 | ||
101 | config CCWGROUP | 108 | config CCWGROUP |
102 | tristate | 109 | tristate |