diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-05-11 01:52:58 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-11 17:53:23 -0400 |
commit | be3b6c14ab4fd5d542652180f33fee8e32182d84 (patch) | |
tree | 21190de061b80e798beee391522522a7cf5538ab /drivers/net/pcmcia | |
parent | 4151ce3159c18a990da7fd6f0fe36c73d1c40f87 (diff) |
Use menuconfig objects II - netdev/pcmcia
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r-- | drivers/net/pcmcia/Kconfig | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/drivers/net/pcmcia/Kconfig b/drivers/net/pcmcia/Kconfig index 74f862001247..5d658bc9791c 100644 --- a/drivers/net/pcmcia/Kconfig +++ b/drivers/net/pcmcia/Kconfig | |||
@@ -2,11 +2,9 @@ | |||
2 | # PCMCIA Network device configuration | 2 | # PCMCIA Network device configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "PCMCIA network device support" | 5 | menuconfig NET_PCMCIA |
6 | depends on NETDEVICES && PCMCIA!=n | ||
7 | |||
8 | config NET_PCMCIA | ||
9 | bool "PCMCIA network device support" | 6 | bool "PCMCIA network device support" |
7 | depends on PCMCIA | ||
10 | ---help--- | 8 | ---help--- |
11 | Say Y if you would like to include support for any PCMCIA or CardBus | 9 | Say Y if you would like to include support for any PCMCIA or CardBus |
12 | network adapters, then say Y to the driver for your particular card | 10 | network adapters, then say Y to the driver for your particular card |
@@ -21,9 +19,10 @@ config NET_PCMCIA | |||
21 | 19 | ||
22 | If unsure, say N. | 20 | If unsure, say N. |
23 | 21 | ||
22 | if NET_PCMCIA | ||
23 | |||
24 | config PCMCIA_3C589 | 24 | config PCMCIA_3C589 |
25 | tristate "3Com 3c589 PCMCIA support" | 25 | tristate "3Com 3c589 PCMCIA support" |
26 | depends on NET_PCMCIA && PCMCIA | ||
27 | help | 26 | help |
28 | Say Y here if you intend to attach a 3Com 3c589 or compatible PCMCIA | 27 | Say Y here if you intend to attach a 3Com 3c589 or compatible PCMCIA |
29 | (PC-card) Ethernet card to your computer. | 28 | (PC-card) Ethernet card to your computer. |
@@ -33,7 +32,6 @@ config PCMCIA_3C589 | |||
33 | 32 | ||
34 | config PCMCIA_3C574 | 33 | config PCMCIA_3C574 |
35 | tristate "3Com 3c574 PCMCIA support" | 34 | tristate "3Com 3c574 PCMCIA support" |
36 | depends on NET_PCMCIA && PCMCIA | ||
37 | help | 35 | help |
38 | Say Y here if you intend to attach a 3Com 3c574 or compatible PCMCIA | 36 | Say Y here if you intend to attach a 3Com 3c574 or compatible PCMCIA |
39 | (PC-card) Fast Ethernet card to your computer. | 37 | (PC-card) Fast Ethernet card to your computer. |
@@ -43,7 +41,6 @@ config PCMCIA_3C574 | |||
43 | 41 | ||
44 | config PCMCIA_FMVJ18X | 42 | config PCMCIA_FMVJ18X |
45 | tristate "Fujitsu FMV-J18x PCMCIA support" | 43 | tristate "Fujitsu FMV-J18x PCMCIA support" |
46 | depends on NET_PCMCIA && PCMCIA | ||
47 | select CRC32 | 44 | select CRC32 |
48 | help | 45 | help |
49 | Say Y here if you intend to attach a Fujitsu FMV-J18x or compatible | 46 | Say Y here if you intend to attach a Fujitsu FMV-J18x or compatible |
@@ -54,7 +51,6 @@ config PCMCIA_FMVJ18X | |||
54 | 51 | ||
55 | config PCMCIA_PCNET | 52 | config PCMCIA_PCNET |
56 | tristate "NE2000 compatible PCMCIA support" | 53 | tristate "NE2000 compatible PCMCIA support" |
57 | depends on NET_PCMCIA && PCMCIA | ||
58 | select CRC32 | 54 | select CRC32 |
59 | help | 55 | help |
60 | Say Y here if you intend to attach an NE2000 compatible PCMCIA | 56 | Say Y here if you intend to attach an NE2000 compatible PCMCIA |
@@ -65,7 +61,6 @@ config PCMCIA_PCNET | |||
65 | 61 | ||
66 | config PCMCIA_NMCLAN | 62 | config PCMCIA_NMCLAN |
67 | tristate "New Media PCMCIA support" | 63 | tristate "New Media PCMCIA support" |
68 | depends on NET_PCMCIA && PCMCIA | ||
69 | help | 64 | help |
70 | Say Y here if you intend to attach a New Media Ethernet or LiveWire | 65 | Say Y here if you intend to attach a New Media Ethernet or LiveWire |
71 | PCMCIA (PC-card) Ethernet card to your computer. | 66 | PCMCIA (PC-card) Ethernet card to your computer. |
@@ -75,7 +70,6 @@ config PCMCIA_NMCLAN | |||
75 | 70 | ||
76 | config PCMCIA_SMC91C92 | 71 | config PCMCIA_SMC91C92 |
77 | tristate "SMC 91Cxx PCMCIA support" | 72 | tristate "SMC 91Cxx PCMCIA support" |
78 | depends on NET_PCMCIA && PCMCIA | ||
79 | select CRC32 | 73 | select CRC32 |
80 | select MII | 74 | select MII |
81 | help | 75 | help |
@@ -87,7 +81,6 @@ config PCMCIA_SMC91C92 | |||
87 | 81 | ||
88 | config PCMCIA_XIRC2PS | 82 | config PCMCIA_XIRC2PS |
89 | tristate "Xircom 16-bit PCMCIA support" | 83 | tristate "Xircom 16-bit PCMCIA support" |
90 | depends on NET_PCMCIA && PCMCIA | ||
91 | help | 84 | help |
92 | Say Y here if you intend to attach a Xircom 16-bit PCMCIA (PC-card) | 85 | Say Y here if you intend to attach a Xircom 16-bit PCMCIA (PC-card) |
93 | Ethernet or Fast Ethernet card to your computer. | 86 | Ethernet or Fast Ethernet card to your computer. |
@@ -97,7 +90,6 @@ config PCMCIA_XIRC2PS | |||
97 | 90 | ||
98 | config PCMCIA_AXNET | 91 | config PCMCIA_AXNET |
99 | tristate "Asix AX88190 PCMCIA support" | 92 | tristate "Asix AX88190 PCMCIA support" |
100 | depends on NET_PCMCIA && PCMCIA | ||
101 | ---help--- | 93 | ---help--- |
102 | Say Y here if you intend to attach an Asix AX88190-based PCMCIA | 94 | Say Y here if you intend to attach an Asix AX88190-based PCMCIA |
103 | (PC-card) Fast Ethernet card to your computer. These cards are | 95 | (PC-card) Fast Ethernet card to your computer. These cards are |
@@ -109,7 +101,7 @@ config PCMCIA_AXNET | |||
109 | 101 | ||
110 | config ARCNET_COM20020_CS | 102 | config ARCNET_COM20020_CS |
111 | tristate "COM20020 ARCnet PCMCIA support" | 103 | tristate "COM20020 ARCnet PCMCIA support" |
112 | depends on NET_PCMCIA && ARCNET_COM20020 && PCMCIA | 104 | depends on ARCNET_COM20020 |
113 | help | 105 | help |
114 | Say Y here if you intend to attach this type of ARCnet PCMCIA card | 106 | Say Y here if you intend to attach this type of ARCnet PCMCIA card |
115 | to your computer. | 107 | to your computer. |
@@ -119,7 +111,7 @@ config ARCNET_COM20020_CS | |||
119 | 111 | ||
120 | config PCMCIA_IBMTR | 112 | config PCMCIA_IBMTR |
121 | tristate "IBM PCMCIA tokenring adapter support" | 113 | tristate "IBM PCMCIA tokenring adapter support" |
122 | depends on NET_PCMCIA && IBMTR!=y && TR && PCMCIA && !64BIT | 114 | depends on IBMTR!=y && TR && !64BIT |
123 | help | 115 | help |
124 | Say Y here if you intend to attach this type of Token Ring PCMCIA | 116 | Say Y here if you intend to attach this type of Token Ring PCMCIA |
125 | card to your computer. You then also need to say Y to "Token Ring | 117 | card to your computer. You then also need to say Y to "Token Ring |
@@ -128,5 +120,4 @@ config PCMCIA_IBMTR | |||
128 | To compile this driver as a module, choose M here: the module will be | 120 | To compile this driver as a module, choose M here: the module will be |
129 | called ibmtr_cs. | 121 | called ibmtr_cs. |
130 | 122 | ||
131 | endmenu | 123 | endif # NET_PCMCIA |
132 | |||