diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-23 03:42:10 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-27 03:58:49 -0400 |
commit | 88491d8103498a6166f70d5999902fec70924314 (patch) | |
tree | d22646735d94ad81597b535e9e56131cc1896d71 /drivers/net/Kconfig | |
parent | 330278cde612888e79fc4ab13d8f725258e903dd (diff) |
drivers/net: Kconfig & Makefile cleanup
The is does a general cleanup of the drivers/net/ Kconfig and
Makefile. This patch create a "core" option and places all
the networking core drivers into this option (default is yes
for this option). In addition, it alphabitizes the Kconfig
driver options.
As a side cleanup, found that the arcnet, token ring, and PHY
Kconfig options were a tri-state option and should have been
a bool option.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 267 |
1 files changed, 137 insertions, 130 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 5762370ed43c..583f66cd5bbd 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -25,18 +25,32 @@ menuconfig NETDEVICES | |||
25 | # that for each of the symbols. | 25 | # that for each of the symbols. |
26 | if NETDEVICES | 26 | if NETDEVICES |
27 | 27 | ||
28 | config IFB | 28 | config NET_CORE |
29 | tristate "Intermediate Functional Block support" | 29 | default y |
30 | depends on NET_CLS_ACT | 30 | bool "Network core driver support" |
31 | ---help--- | 31 | ---help--- |
32 | This is an intermediate driver that allows sharing of | 32 | You can say N here if you do not intend to use any of the |
33 | resources. | 33 | networking core drivers (i.e. VLAN, bridging, bonding, etc.) |
34 | |||
35 | if NET_CORE | ||
36 | |||
37 | config BONDING | ||
38 | tristate "Bonding driver support" | ||
39 | depends on INET | ||
40 | depends on IPV6 || IPV6=n | ||
41 | ---help--- | ||
42 | Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet | ||
43 | Channels together. This is called 'Etherchannel' by Cisco, | ||
44 | 'Trunking' by Sun, 802.3ad by the IEEE, and 'Bonding' in Linux. | ||
45 | |||
46 | The driver supports multiple bonding modes to allow for both high | ||
47 | performance and high availability operation. | ||
48 | |||
49 | Refer to <file:Documentation/networking/bonding.txt> for more | ||
50 | information. | ||
51 | |||
34 | To compile this driver as a module, choose M here: the module | 52 | To compile this driver as a module, choose M here: the module |
35 | will be called ifb. If you want to use more than one ifb | 53 | will be called bonding. |
36 | device at a time, you need to compile this driver as a module. | ||
37 | Instead of 'ifb', the devices will then be called 'ifb0', | ||
38 | 'ifb1' etc. | ||
39 | Look at the iproute2 documentation directory for usage etc | ||
40 | 54 | ||
41 | config DUMMY | 55 | config DUMMY |
42 | tristate "Dummy net driver support" | 56 | tristate "Dummy net driver support" |
@@ -57,23 +71,59 @@ config DUMMY | |||
57 | Instead of 'dummy', the devices will then be called 'dummy0', | 71 | Instead of 'dummy', the devices will then be called 'dummy0', |
58 | 'dummy1' etc. | 72 | 'dummy1' etc. |
59 | 73 | ||
60 | config BONDING | 74 | config EQUALIZER |
61 | tristate "Bonding driver support" | 75 | tristate "EQL (serial line load balancing) support" |
62 | depends on INET | ||
63 | depends on IPV6 || IPV6=n | ||
64 | ---help--- | 76 | ---help--- |
65 | Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet | 77 | If you have two serial connections to some other computer (this |
66 | Channels together. This is called 'Etherchannel' by Cisco, | 78 | usually requires two modems and two telephone lines) and you use |
67 | 'Trunking' by Sun, 802.3ad by the IEEE, and 'Bonding' in Linux. | 79 | SLIP (the protocol for sending Internet traffic over telephone |
80 | lines) or PPP (a better SLIP) on them, you can make them behave like | ||
81 | one double speed connection using this driver. Naturally, this has | ||
82 | to be supported at the other end as well, either with a similar EQL | ||
83 | Linux driver or with a Livingston Portmaster 2e. | ||
68 | 84 | ||
69 | The driver supports multiple bonding modes to allow for both high | 85 | Say Y if you want this and read |
70 | performance and high availability operation. | 86 | <file:Documentation/networking/eql.txt>. You may also want to read |
87 | section 6.2 of the NET-3-HOWTO, available from | ||
88 | <http://www.tldp.org/docs.html#howto>. | ||
71 | 89 | ||
72 | Refer to <file:Documentation/networking/bonding.txt> for more | 90 | To compile this driver as a module, choose M here: the module |
73 | information. | 91 | will be called eql. If unsure, say N. |
92 | |||
93 | config NET_FC | ||
94 | bool "Fibre Channel driver support" | ||
95 | depends on SCSI && PCI | ||
96 | help | ||
97 | Fibre Channel is a high speed serial protocol mainly used to connect | ||
98 | large storage devices to the computer; it is compatible with and | ||
99 | intended to replace SCSI. | ||
100 | |||
101 | If you intend to use Fibre Channel, you need to have a Fibre channel | ||
102 | adaptor card in your computer; say Y here and to the driver for your | ||
103 | adaptor below. You also should have said Y to "SCSI support" and | ||
104 | "SCSI generic support". | ||
74 | 105 | ||
106 | config MII | ||
107 | tristate "Generic Media Independent Interface device support" | ||
108 | help | ||
109 | Most ethernet controllers have MII transceiver either as an external | ||
110 | or internal device. It is safe to say Y or M here even if your | ||
111 | ethernet card lacks MII. | ||
112 | |||
113 | source "drivers/ieee802154/Kconfig" | ||
114 | |||
115 | config IFB | ||
116 | tristate "Intermediate Functional Block support" | ||
117 | depends on NET_CLS_ACT | ||
118 | ---help--- | ||
119 | This is an intermediate driver that allows sharing of | ||
120 | resources. | ||
75 | To compile this driver as a module, choose M here: the module | 121 | To compile this driver as a module, choose M here: the module |
76 | will be called bonding. | 122 | will be called ifb. If you want to use more than one ifb |
123 | device at a time, you need to compile this driver as a module. | ||
124 | Instead of 'ifb', the devices will then be called 'ifb0', | ||
125 | 'ifb1' etc. | ||
126 | Look at the iproute2 documentation directory for usage etc | ||
77 | 127 | ||
78 | config MACVLAN | 128 | config MACVLAN |
79 | tristate "MAC-VLAN support (EXPERIMENTAL)" | 129 | tristate "MAC-VLAN support (EXPERIMENTAL)" |
@@ -102,24 +152,46 @@ config MACVTAP | |||
102 | To compile this driver as a module, choose M here: the module | 152 | To compile this driver as a module, choose M here: the module |
103 | will be called macvtap. | 153 | will be called macvtap. |
104 | 154 | ||
105 | config EQUALIZER | 155 | config NETCONSOLE |
106 | tristate "EQL (serial line load balancing) support" | 156 | tristate "Network console logging support" |
107 | ---help--- | 157 | ---help--- |
108 | If you have two serial connections to some other computer (this | 158 | If you want to log kernel messages over the network, enable this. |
109 | usually requires two modems and two telephone lines) and you use | 159 | See <file:Documentation/networking/netconsole.txt> for details. |
110 | SLIP (the protocol for sending Internet traffic over telephone | ||
111 | lines) or PPP (a better SLIP) on them, you can make them behave like | ||
112 | one double speed connection using this driver. Naturally, this has | ||
113 | to be supported at the other end as well, either with a similar EQL | ||
114 | Linux driver or with a Livingston Portmaster 2e. | ||
115 | 160 | ||
116 | Say Y if you want this and read | 161 | config NETCONSOLE_DYNAMIC |
117 | <file:Documentation/networking/eql.txt>. You may also want to read | 162 | bool "Dynamic reconfiguration of logging targets" |
118 | section 6.2 of the NET-3-HOWTO, available from | 163 | depends on NETCONSOLE && SYSFS && CONFIGFS_FS && \ |
119 | <http://www.tldp.org/docs.html#howto>. | 164 | !(NETCONSOLE=y && CONFIGFS_FS=m) |
165 | help | ||
166 | This option enables the ability to dynamically reconfigure target | ||
167 | parameters (interface, IP addresses, port numbers, MAC addresses) | ||
168 | at runtime through a userspace interface exported using configfs. | ||
169 | See <file:Documentation/networking/netconsole.txt> for details. | ||
120 | 170 | ||
121 | To compile this driver as a module, choose M here: the module | 171 | config NETPOLL |
122 | will be called eql. If unsure, say N. | 172 | def_bool NETCONSOLE |
173 | |||
174 | config NETPOLL_TRAP | ||
175 | bool "Netpoll traffic trapping" | ||
176 | default n | ||
177 | depends on NETPOLL | ||
178 | |||
179 | config NET_POLL_CONTROLLER | ||
180 | def_bool NETPOLL | ||
181 | |||
182 | config RIONET | ||
183 | tristate "RapidIO Ethernet over messaging driver support" | ||
184 | depends on RAPIDIO | ||
185 | |||
186 | config RIONET_TX_SIZE | ||
187 | int "Number of outbound queue entries" | ||
188 | depends on RIONET | ||
189 | default "128" | ||
190 | |||
191 | config RIONET_RX_SIZE | ||
192 | int "Number of inbound queue entries" | ||
193 | depends on RIONET | ||
194 | default "128" | ||
123 | 195 | ||
124 | config TUN | 196 | config TUN |
125 | tristate "Universal TUN/TAP device driver support" | 197 | tristate "Universal TUN/TAP device driver support" |
@@ -151,6 +223,28 @@ config VETH | |||
151 | When one end receives the packet it appears on its pair and vice | 223 | When one end receives the packet it appears on its pair and vice |
152 | versa. | 224 | versa. |
153 | 225 | ||
226 | config VIRTIO_NET | ||
227 | tristate "Virtio network driver (EXPERIMENTAL)" | ||
228 | depends on EXPERIMENTAL && VIRTIO | ||
229 | ---help--- | ||
230 | This is the virtual network driver for virtio. It can be used with | ||
231 | lguest or QEMU based VMMs (like KVM or Xen). Say Y or M. | ||
232 | |||
233 | endif # NET_CORE | ||
234 | |||
235 | config SUNGEM_PHY | ||
236 | tristate | ||
237 | |||
238 | source "drivers/net/arcnet/Kconfig" | ||
239 | |||
240 | source "drivers/atm/Kconfig" | ||
241 | |||
242 | source "drivers/net/caif/Kconfig" | ||
243 | |||
244 | source "drivers/net/ethernet/Kconfig" | ||
245 | |||
246 | source "drivers/net/fddi/Kconfig" | ||
247 | |||
154 | config NET_SB1000 | 248 | config NET_SB1000 |
155 | tristate "General Instruments Surfboard 1000" | 249 | tristate "General Instruments Surfboard 1000" |
156 | depends on PNP | 250 | depends on PNP |
@@ -175,52 +269,26 @@ config NET_SB1000 | |||
175 | 269 | ||
176 | If you don't have this card, of course say N. | 270 | If you don't have this card, of course say N. |
177 | 271 | ||
178 | source "drivers/net/arcnet/Kconfig" | ||
179 | |||
180 | config MII | ||
181 | tristate "Generic Media Independent Interface device support" | ||
182 | help | ||
183 | Most ethernet controllers have MII transceiver either as an external | ||
184 | or internal device. It is safe to say Y or M here even if your | ||
185 | ethernet card lacks MII. | ||
186 | |||
187 | source "drivers/net/phy/Kconfig" | 272 | source "drivers/net/phy/Kconfig" |
188 | 273 | ||
189 | config SUNGEM_PHY | ||
190 | tristate | ||
191 | |||
192 | # | ||
193 | # Ethernet | ||
194 | # | ||
195 | |||
196 | source "drivers/net/ethernet/Kconfig" | ||
197 | |||
198 | source "drivers/net/fddi/Kconfig" | ||
199 | |||
200 | source "drivers/net/plip/Kconfig" | 274 | source "drivers/net/plip/Kconfig" |
201 | 275 | ||
276 | source "drivers/net/ppp/Kconfig" | ||
277 | |||
202 | source "drivers/net/slip/Kconfig" | 278 | source "drivers/net/slip/Kconfig" |
203 | 279 | ||
280 | source "drivers/s390/net/Kconfig" | ||
281 | |||
204 | source "drivers/net/tokenring/Kconfig" | 282 | source "drivers/net/tokenring/Kconfig" |
205 | 283 | ||
284 | source "drivers/net/usb/Kconfig" | ||
285 | |||
206 | source "drivers/net/wireless/Kconfig" | 286 | source "drivers/net/wireless/Kconfig" |
207 | 287 | ||
208 | source "drivers/net/wimax/Kconfig" | 288 | source "drivers/net/wimax/Kconfig" |
209 | 289 | ||
210 | source "drivers/net/usb/Kconfig" | ||
211 | |||
212 | source "drivers/net/ppp/Kconfig" | ||
213 | |||
214 | source "drivers/net/wan/Kconfig" | 290 | source "drivers/net/wan/Kconfig" |
215 | 291 | ||
216 | source "drivers/atm/Kconfig" | ||
217 | |||
218 | source "drivers/ieee802154/Kconfig" | ||
219 | |||
220 | source "drivers/s390/net/Kconfig" | ||
221 | |||
222 | source "drivers/net/caif/Kconfig" | ||
223 | |||
224 | config XEN_NETDEV_FRONTEND | 292 | config XEN_NETDEV_FRONTEND |
225 | tristate "Xen network device frontend driver" | 293 | tristate "Xen network device frontend driver" |
226 | depends on XEN | 294 | depends on XEN |
@@ -260,67 +328,6 @@ config XEN_NETDEV_BACKEND | |||
260 | compile this driver as a module, chose M here: the module | 328 | compile this driver as a module, chose M here: the module |
261 | will be called xen-netback. | 329 | will be called xen-netback. |
262 | 330 | ||
263 | config RIONET | ||
264 | tristate "RapidIO Ethernet over messaging driver support" | ||
265 | depends on RAPIDIO | ||
266 | |||
267 | config RIONET_TX_SIZE | ||
268 | int "Number of outbound queue entries" | ||
269 | depends on RIONET | ||
270 | default "128" | ||
271 | |||
272 | config RIONET_RX_SIZE | ||
273 | int "Number of inbound queue entries" | ||
274 | depends on RIONET | ||
275 | default "128" | ||
276 | |||
277 | config NET_FC | ||
278 | bool "Fibre Channel driver support" | ||
279 | depends on SCSI && PCI | ||
280 | help | ||
281 | Fibre Channel is a high speed serial protocol mainly used to connect | ||
282 | large storage devices to the computer; it is compatible with and | ||
283 | intended to replace SCSI. | ||
284 | |||
285 | If you intend to use Fibre Channel, you need to have a Fibre channel | ||
286 | adaptor card in your computer; say Y here and to the driver for your | ||
287 | adaptor below. You also should have said Y to "SCSI support" and | ||
288 | "SCSI generic support". | ||
289 | |||
290 | config NETCONSOLE | ||
291 | tristate "Network console logging support" | ||
292 | ---help--- | ||
293 | If you want to log kernel messages over the network, enable this. | ||
294 | See <file:Documentation/networking/netconsole.txt> for details. | ||
295 | |||
296 | config NETCONSOLE_DYNAMIC | ||
297 | bool "Dynamic reconfiguration of logging targets" | ||
298 | depends on NETCONSOLE && SYSFS && CONFIGFS_FS && \ | ||
299 | !(NETCONSOLE=y && CONFIGFS_FS=m) | ||
300 | help | ||
301 | This option enables the ability to dynamically reconfigure target | ||
302 | parameters (interface, IP addresses, port numbers, MAC addresses) | ||
303 | at runtime through a userspace interface exported using configfs. | ||
304 | See <file:Documentation/networking/netconsole.txt> for details. | ||
305 | |||
306 | config NETPOLL | ||
307 | def_bool NETCONSOLE | ||
308 | |||
309 | config NETPOLL_TRAP | ||
310 | bool "Netpoll traffic trapping" | ||
311 | default n | ||
312 | depends on NETPOLL | ||
313 | |||
314 | config NET_POLL_CONTROLLER | ||
315 | def_bool NETPOLL | ||
316 | |||
317 | config VIRTIO_NET | ||
318 | tristate "Virtio network driver (EXPERIMENTAL)" | ||
319 | depends on EXPERIMENTAL && VIRTIO | ||
320 | ---help--- | ||
321 | This is the virtual network driver for virtio. It can be used with | ||
322 | lguest or QEMU based VMMs (like KVM or Xen). Say Y or M. | ||
323 | |||
324 | config VMXNET3 | 331 | config VMXNET3 |
325 | tristate "VMware VMXNET3 ethernet driver" | 332 | tristate "VMware VMXNET3 ethernet driver" |
326 | depends on PCI && INET | 333 | depends on PCI && INET |