aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-07-16 02:39:37 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:40 -0400
commit9f5096c56afe6f7602cce852b99b32a90804935d (patch)
tree08cac51c968470ee92b1738e38839c56ca91d7a8
parent04e9aeecff0d55bed2b554915da9ea355c966f7d (diff)
Use menuconfig objects: parport
Use menuconfigs instead of menus, so the whole menu can be disabled at once instead of going through all options. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/parport/Kconfig26
1 files changed, 11 insertions, 15 deletions
diff --git a/drivers/parport/Kconfig b/drivers/parport/Kconfig
index f46c69e4ed82..09c93ff932b1 100644
--- a/drivers/parport/Kconfig
+++ b/drivers/parport/Kconfig
@@ -5,11 +5,9 @@
5# Parport configuration. 5# Parport configuration.
6# 6#
7 7
8menu "Parallel port support" 8menuconfig PARPORT
9 depends on HAS_IOMEM
10
11config PARPORT
12 tristate "Parallel port support" 9 tristate "Parallel port support"
10 depends on HAS_IOMEM
13 ---help--- 11 ---help---
14 If you want to use devices connected to your machine's parallel port 12 If you want to use devices connected to your machine's parallel port
15 (the connector at the computer with 25 holes), e.g. printer, ZIP 13 (the connector at the computer with 25 holes), e.g. printer, ZIP
@@ -33,9 +31,11 @@ config PARPORT
33 31
34 If unsure, say Y. 32 If unsure, say Y.
35 33
34if PARPORT
35
36config PARPORT_PC 36config PARPORT_PC
37 tristate "PC-style hardware" 37 tristate "PC-style hardware"
38 depends on PARPORT && (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV 38 depends on (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV
39 ---help--- 39 ---help---
40 You should say Y here if you have a PC-style parallel port. All 40 You should say Y here if you have a PC-style parallel port. All
41 IBM PC compatible computers and some Alphas have PC-style 41 IBM PC compatible computers and some Alphas have PC-style
@@ -85,7 +85,7 @@ config PARPORT_PC_PCMCIA
85 85
86config PARPORT_IP32 86config PARPORT_IP32
87 tristate "SGI IP32 builtin port (EXPERIMENTAL)" 87 tristate "SGI IP32 builtin port (EXPERIMENTAL)"
88 depends on SGI_IP32 && PARPORT && EXPERIMENTAL 88 depends on SGI_IP32 && EXPERIMENTAL
89 select PARPORT_NOT_PC 89 select PARPORT_NOT_PC
90 help 90 help
91 Say Y here if you need support for the parallel port on 91 Say Y here if you need support for the parallel port on
@@ -94,7 +94,7 @@ config PARPORT_IP32
94 94
95config PARPORT_AMIGA 95config PARPORT_AMIGA
96 tristate "Amiga builtin port" 96 tristate "Amiga builtin port"
97 depends on AMIGA && PARPORT 97 depends on AMIGA
98 select PARPORT_NOT_PC 98 select PARPORT_NOT_PC
99 help 99 help
100 Say Y here if you need support for the parallel port hardware on 100 Say Y here if you need support for the parallel port hardware on
@@ -103,7 +103,7 @@ config PARPORT_AMIGA
103 103
104config PARPORT_MFC3 104config PARPORT_MFC3
105 tristate "Multiface III parallel port" 105 tristate "Multiface III parallel port"
106 depends on ZORRO && PARPORT 106 depends on ZORRO
107 select PARPORT_NOT_PC 107 select PARPORT_NOT_PC
108 help 108 help
109 Say Y here if you need parallel port support for the MFC3 card. 109 Say Y here if you need parallel port support for the MFC3 card.
@@ -112,7 +112,7 @@ config PARPORT_MFC3
112 112
113config PARPORT_ATARI 113config PARPORT_ATARI
114 tristate "Atari hardware" 114 tristate "Atari hardware"
115 depends on ATARI && PARPORT 115 depends on ATARI
116 select PARPORT_NOT_PC 116 select PARPORT_NOT_PC
117 help 117 help
118 Say Y here if you need support for the parallel port hardware on 118 Say Y here if you need support for the parallel port hardware on
@@ -122,12 +122,11 @@ config PARPORT_ATARI
122config PARPORT_GSC 122config PARPORT_GSC
123 tristate 123 tristate
124 default GSC 124 default GSC
125 depends on PARPORT
126 select PARPORT_NOT_PC 125 select PARPORT_NOT_PC
127 126
128config PARPORT_SUNBPP 127config PARPORT_SUNBPP
129 tristate "Sparc hardware (EXPERIMENTAL)" 128 tristate "Sparc hardware (EXPERIMENTAL)"
130 depends on SBUS && PARPORT && EXPERIMENTAL 129 depends on SBUS && EXPERIMENTAL
131 select PARPORT_NOT_PC 130 select PARPORT_NOT_PC
132 help 131 help
133 This driver provides support for the bidirectional parallel port 132 This driver provides support for the bidirectional parallel port
@@ -136,7 +135,6 @@ config PARPORT_SUNBPP
136 135
137config PARPORT_AX88796 136config PARPORT_AX88796
138 tristate "AX88796 Parallel Port" 137 tristate "AX88796 Parallel Port"
139 depends on PARPORT
140 select PARPORT_NOT_PC 138 select PARPORT_NOT_PC
141 help 139 help
142 Say Y here if you need support for the parallel port hardware on 140 Say Y here if you need support for the parallel port hardware on
@@ -148,7 +146,6 @@ config PARPORT_AX88796
148 146
149config PARPORT_1284 147config PARPORT_1284
150 bool "IEEE 1284 transfer modes" 148 bool "IEEE 1284 transfer modes"
151 depends on PARPORT
152 help 149 help
153 If you have a printer that supports status readback or device ID, or 150 If you have a printer that supports status readback or device ID, or
154 want to use a device that uses enhanced parallel port transfer modes 151 want to use a device that uses enhanced parallel port transfer modes
@@ -159,5 +156,4 @@ config PARPORT_1284
159config PARPORT_NOT_PC 156config PARPORT_NOT_PC
160 bool 157 bool
161 158
162endmenu 159endif # PARPORT
163