source: src/linux/universal/linux-3.2/drivers/net/ethernet/Kconfig @ 18404

Last change on this file since 18404 was 18404, checked in by BrainSlayer, 17 months ago

WNR2000 uboot detection and platform mac

File size: 13.9 KB
Line 
1#
2# Ethernet LAN device configuration
3#
4
5menuconfig ETHERNET
6        bool "Ethernet driver support"
7        depends on NET
8        default y
9        ---help---
10          This section contains all the Ethernet device drivers.
11
12if ETHERNET
13
14config MDIO
15        tristate
16
17config SUNGEM_PHY
18        tristate
19
20if RALINK_DEVICE
21source "drivers/net/ethernet/raeth/Kconfig"
22endif
23source "drivers/net/ethernet/3com/Kconfig"
24source "drivers/net/ethernet/adaptec/Kconfig"
25source "drivers/net/ethernet/aeroflex/Kconfig"
26source "drivers/net/ethernet/alteon/Kconfig"
27source "drivers/net/ethernet/amd/Kconfig"
28source "drivers/net/ethernet/apple/Kconfig"
29source "drivers/net/ethernet/atheros/Kconfig"
30source "drivers/net/ethernet/cadence/Kconfig"
31source "drivers/net/ethernet/adi/Kconfig"
32source "drivers/net/ethernet/broadcom/Kconfig"
33source "drivers/net/ethernet/brocade/Kconfig"
34source "drivers/net/ethernet/chelsio/Kconfig"
35source "drivers/net/ethernet/cirrus/Kconfig"
36source "drivers/net/ethernet/cisco/Kconfig"
37source "drivers/net/ethernet/davicom/Kconfig"
38
39config DNET
40        tristate "Dave ethernet support (DNET)"
41        depends on HAS_IOMEM
42        select PHYLIB
43        ---help---
44          The Dave ethernet interface (DNET) is found on Qong Board FPGA.
45          Say Y to include support for the DNET chip.
46
47          To compile this driver as a module, choose M here: the module
48          will be called dnet.
49
50source "drivers/net/ethernet/dec/Kconfig"
51source "drivers/net/ethernet/dlink/Kconfig"
52source "drivers/net/ethernet/emulex/Kconfig"
53source "drivers/net/ethernet/neterion/Kconfig"
54source "drivers/net/ethernet/faraday/Kconfig"
55source "drivers/net/ethernet/freescale/Kconfig"
56source "drivers/net/ethernet/fujitsu/Kconfig"
57source "drivers/net/ethernet/hp/Kconfig"
58source "drivers/net/ethernet/ibm/Kconfig"
59source "drivers/net/ethernet/intel/Kconfig"
60source "drivers/net/ethernet/i825xx/Kconfig"
61source "drivers/net/ethernet/xscale/Kconfig"
62source "drivers/net/ethernet/icplus/Kconfig"
63source drivers/net/ethernet/ag934x/Kconfig
64
65
66config IXP400_ETH
67        tristate "Intel IXP400 Ethernet Device support"
68        depends on ETHERNET && ARM && (ARCH_IXP4XX)
69        ---help---
70          If you select M here, the Intel IXP400 Ethernet driver will be
71          compiled as part of the build.
72 
73          In order for the driver to build correctly you must set up some
74          environment variables before building the kernel. See the README
75          files that accompany the IXP400 software or Linux Ethernet Driver
76          distribution for details.
77 
78          Note that this driver is Intel proprietary code and must be obtained
79          from Intel Corp. See the README files that accompany the IXP400
80          software or Linux Ethernet Driver distribution for details.
81 
82          The driver can be compiled only as a module, as linking it
83          statically into the kernel would violate the GPL. The module will be
84          called ixp400_eth.ko
85 
86          Select M if you have the IXP400 ethernet driver source code and wish
87          to include it in your build.
88
89choice
90        prompt "Intel IXP400 Ethernet Device Driver NPE support"
91        depends on IXP400_ETH
92        default IXP400_ETH_ALL
93        ---help---
94          If you select 'All NPEs' option here, the Intel IXP400 Ethernet driver
95          will be compiled to configure all Ethernet NPEs and map "ixp0" device
96          to Ethernet NPE B, "ixp1" device to Ethernet NPE C, and "ixp2" device
97          to Ethernet NPE A (for IXP455 & IXP465 silicon only).
98 
99          If you select 'NPEB-only' option here, the Intel IXP400 Ethernet driver
100          will be compiled to map "ixp0" device to Ethernet NPE B only.
101 
102          If you select 'NPEC-only' option here, the Intel IXP400 Ethernet driver
103          will be compiled to map "ixp1" device to Ethernet NPE C only.
104 
105          See the README files that accompany the IXP400
106          software or Linux Ethernet Driver distribution for details.
107
108config IXP400_ETH_ALL
109        bool "All_NPEs"
110
111config IXP400_ETH_NPEB_ONLY
112        bool "NPEB-Only"
113
114config IXP400_ETH_NPEC_ONLY
115        bool "NPEC-Only"
116
117endchoice
118
119config IXP400_ETH_SKB_RECYCLE
120        depends on IXP400_ETH
121        bool "Intel IXP400 Ethernet Device Driver Fast Skb Recycling support"
122        ---help---
123          If you select Y here, the Intel IXP400 Ethernet driver will be
124          compiled to internally recycle skbufs.
125 
126          IMPORTANT: This option, if enabled, may NOT work with some
127          patched kernels.
128 
129          If unsure select N here.
130 
131          See the README files that accompany the IXP400
132          software or Linux Ethernet Driver distribution for details.
133
134config IXP400_ETH_QDISC_ENABLED
135        depends on IXP400_ETH
136        bool "Intel IXP400 Ethernet Device Driver Fast QDisc support"
137        ---help---
138          If you select Y here, the Intel IXP400 Ethernet driver will be
139          compiled to internally use its own queueing discipline (qdisc).
140 
141          IMPORTANT: This option may NOT work with some debug tools or
142          some kernel features.
143 
144          If unsure select N here.
145 
146          See the README files that accompany the IXP400
147          software or Linux Ethernet Driver distribution for details.
148
149config IXP400_NAPI
150        depends on IXP400_ETH
151        bool "Intel IXP400 Ethernet Device Driver NAPI support"
152        ---help---
153          If you select Y here, the Intel IXP400 Ethernet driver will be
154          compiled to use the Linux kernel's NAPI polling interface.
155 
156          If unsure select N here.
157 
158          See the README files that accompany the IXP400
159          software or Linux Ethernet Driver distribution for details.
160
161
162
163config JME
164        tristate "JMicron(R) PCI-Express Gigabit Ethernet support"
165        depends on PCI
166        select CRC32
167        select NET_CORE
168        select MII
169        ---help---
170          This driver supports the PCI-Express gigabit ethernet adapters
171          based on JMicron JMC250 chipset.
172
173          To compile this driver as a module, choose M here. The module
174          will be called jme.
175
176config KORINA
177        tristate "Korina (IDT RC32434) Ethernet support"
178        depends on MIKROTIK_RB532
179        ---help---
180          If you have a Mikrotik RouterBoard 500 or IDT RC32434
181          based system say Y. Otherwise say N.
182
183config LANTIQ_ETOP
184        tristate "Lantiq SoC ETOP driver"
185        depends on SOC_TYPE_XWAY
186        ---help---
187          Support for the MII0 inside the Lantiq SoC
188
189config CNS3XXX_ETH
190        tristate "Cavium CNS3xxx Ethernet support"
191        depends on ARCH_CNS3XXX
192        select PHYLIB
193        help
194          Say Y here if you want to use built-in Ethernet ports
195          on CNS3XXX processor.
196
197config AG7100
198    tristate "Atheros AR7100 GigE"
199    depends on MACH_AR7100
200    help
201        This enables the building of Atheros AR7100 gigE driver module.
202
203choice
204    prompt "port 0 interface"
205    depends on AG7100 || AG71XX
206   
207config AG7100_GE0_MII
208    bool "MII mode"
209
210config AG7100_GE0_RMII
211    bool "RMII mode"
212
213config AG7100_GE0_RGMII
214    bool "RGMII mode"
215
216config AG7100_GE0_GMII
217    bool "GMII mode"
218
219endchoice
220
221config  AG7100_GE1_IS_CONNECTED
222    bool "port 1 is connected to a PHY"
223    depends on AG7100 || AG71XX
224
225choice
226    prompt "port 1 interface (depends on port0)"
227    depends on AG7100_GE1_IS_CONNECTED
228   
229config AG7100_GE1_RMII
230    bool "RMII mode"
231
232config AG7100_GE1_RGMII
233    bool "RGMII mode"
234
235endchoice
236
237config AG7240
238    tristate "Atheros AR7240 GigE"
239    depends on MACH_AR7240 || MACH_HORNET
240    help
241        This enables the building of Atheros AR7240 gigE driver module.
242
243config AR7240_S26_VLAN_IGMP
244    bool "Support vlan and igmp functions in AR7240-S26 switch"
245    depends on AG7240
246
247config ATHEROS_HEADER_EN
248    bool "Add two bytes atheros header before the ethernet packet."
249    depends on AG7240
250
251
252config  AG7240_GE0_IS_CONNECTED
253    bool "port 0 is connected to a PHY"
254    depends on AG7240
255
256choice
257    prompt "port 0 interface"
258    depends on AG7240
259
260config AG7240_GE0_MII
261    bool "MII mode"
262
263config AG7240_GE0_GMII
264    bool "GMII mode"
265
266config AG7240_GE0_RGMII
267    bool "RGMII mode"
268
269endchoice
270
271choice 
272    prompt "PHY or switch used"
273    depends on AG7240_GE0_IS_CONNECTED
274
275config AR7242_RGMII_PHY
276    bool "AR7242 RGMII Phy"
277
278config AR7242_S16_PHY
279    bool "AR7242 S16 Switch"
280
281config WZRG450
282    bool "WZRG450 Vlan Mapping"
283    depends on AR7242_S16_PHY
284
285config AR7242_VIR_PHY
286    bool "AR7242 Vitual Switch"
287
288config AR7242_RTL8309G_PHY
289    bool "Realtek RTL8309G Switch"
290
291endchoice
292
293config  ATHRS_QOS
294    bool "Enable MAC 0 QOS "
295    depends on AG7240
296
297config  AG7240_GE1_IS_CONNECTED
298    bool "port 1 is connected to a PHY"
299    depends on AG7240
300
301choice
302    prompt "port 1 interface (depends on port0)"
303    depends on AG7240_GE1_IS_CONNECTED
304   
305config AG7240_GE1_MII
306    bool "MII mode"
307
308endchoice
309
310choice 
311    prompt "PHY or switch used"
312    depends on AG7240
313
314config AR7240_S26_PHY
315    bool "Atheros S26 Phy"
316    depends on AG7240
317
318config S26_SWITCH_ONLY_MODE
319    bool "Enable switch only mode"
320    depends on AR7240_S26_PHY
321
322config AR8021_PHY
323    bool "Atheros AR8021 Phy"
324
325endchoice
326
327
328choice 
329    prompt "PHY or switch used"
330    depends on AG7100 || AG71XX
331
332config ATHR_PHY
333    bool "Atheros F1 GigE Phy"
334
335config ATHRS26_PHY
336    bool "Atheros S26 Phy"
337
338config ATHRS16_PHY
339    bool "Atheros S16 Phy"
340
341config PORT0_AS_SWITCH
342    bool "Atheros S16 Phy"
343    depends on ATHRS16_PHY
344
345config ATHR_VITESSE_PHY
346    bool "Vitesse GigE Phy 8201"
347
348config PHY_LAYER
349    bool "use linux phy layer"
350    depends on PHYLIB
351
352config CAMEO_REALTEK_PHY
353    bool "Cameo Realtek Phy"
354
355config BUFFALO
356    bool "WHR G300NH support"
357    depends on CAMEO_REALTEK_PHY
358
359config TPLINK
360    bool "TPLink Support"
361    depends on BUFFALO
362
363config DIR825
364    bool "DIR825 Support"
365    depends on CAMEO_REALTEK_PHY
366
367config WNDR3700
368    bool "WNDR3700 Support"
369    depends on CAMEO_REALTEK_PHY
370       
371config VITESSE_8601_PHY
372    bool "Vitesse Gige Phy 8601 on MAC0 and optionally on MAC1"
373       
374config VITESSE_8601_7395_PHY
375    bool "Vitesse Gige Phy 8601 on MAC0 / VSC73XX Switch on MAC1"
376
377config  ATHR_ICPLUS_PHY
378    bool "IP Icplus Phy"
379
380config ATHR_REALTEK_PHY
381    bool "Rtl8201"
382
383config ADM6996FC_PHY
384    bool "AdmTek 6996FC"
385
386endchoice
387
388config  AG7240_LEN_PER_TX_DS
389        int "Len per tx descriptor"
390        default "1536"
391        depends on (REALTEK_PHY ||  ADM6996FC_PHY || ICPLUS_PHY) && AG7240
392
393config  AG7240_LEN_PER_TX_DS
394        int "Len per tx descriptor"
395        default "512"   
396        depends on !(REALTEK_PHY ||  ADM6996FC_PHY || ICPLUS_PHY) && AG7240
397
398config  AG7240_NUMBER_TX_PKTS
399        int "Number tx pkts"   
400        default "100"
401        depends on AG7240
402
403config  AG7240_NUMBER_RX_PKTS
404        int "Number rx pkts"       
405        default "252"
406        depends on AG7240
407
408config  AG7240_MAC_LOCATION
409    hex "Memory location of MAC addresses (in flash)"
410        default "0xbfff0000"   
411        help
412          This is the physical address in memory that contains
413          the MAC addresses for the board Ethernet interfaces.  They
414          are stored sequentially in 6 byte groups, for the total number
415          of interfaces supported on the board.
416        depends on AG7240
417
418config  AG7240_USE_TRC
419        bool "Print realtime trace on asserts, this will negatively affect performance"
420        default 0
421        depends on AG7240
422
423
424
425config  AG7100_LEN_PER_TX_DS
426        int "Len per tx descriptor"
427        default "1536"
428        depends on (REALTEK_PHY ||  ADM6996FC_PHY || ICPLUS_PHY) && AG7100
429
430config  AG7100_LEN_PER_TX_DS
431        int "Len per tx descriptor"
432        default "512"   
433        depends on !(REALTEK_PHY ||  ADM6996FC_PHY || ICPLUS_PHY) && AG7100
434
435config  AG7100_NUMBER_TX_PKTS
436        int "Number tx pkts"   
437        default "100"
438        depends on AG7100
439
440config  AG7100_NUMBER_RX_PKTS
441        int "Number rx pkts"       
442        default "252"
443        depends on AG7100
444
445config  AG7100_USE_TRC
446        bool "Print realtime trace on asserts, this will negatively affect performance"
447        default 0
448        depends on AG7100
449
450source "drivers/net/ethernet/ag71xx/Kconfig"
451
452source "drivers/net/ethernet/marvell/Kconfig"
453source "drivers/net/ethernet/mellanox/Kconfig"
454source "drivers/net/ethernet/micrel/Kconfig"
455source "drivers/net/ethernet/microchip/Kconfig"
456
457config MIPS_SIM_NET
458        tristate "MIPS simulator Network device"
459        depends on MIPS_SIM
460        ---help---
461          The MIPSNET device is a simple Ethernet network device which is
462          emulated by the MIPS Simulator.
463          If you are not using a MIPSsim or are unsure, say N.
464
465source "drivers/net/ethernet/myricom/Kconfig"
466
467config FEALNX
468        tristate "Myson MTD-8xx PCI Ethernet support"
469        depends on PCI
470        select CRC32
471        select NET_CORE
472        select MII
473        ---help---
474          Say Y here to support the Myson MTD-800 family of PCI-based Ethernet
475          cards. <http://www.myson.com.tw/>
476
477source "drivers/net/ethernet/natsemi/Kconfig"
478source "drivers/net/ethernet/8390/Kconfig"
479
480config NET_NETX
481        tristate "NetX Ethernet support"
482        select NET_CORE
483        select MII
484        depends on ARCH_NETX
485        ---help---
486          This is support for the Hilscher netX builtin Ethernet ports
487
488          To compile this driver as a module, choose M here. The module
489          will be called netx-eth.
490
491source "drivers/net/ethernet/nuvoton/Kconfig"
492source "drivers/net/ethernet/nvidia/Kconfig"
493source "drivers/net/ethernet/octeon/Kconfig"
494source "drivers/net/ethernet/oki-semi/Kconfig"
495
496config ETHOC
497        tristate "OpenCores 10/100 Mbps Ethernet MAC support"
498        depends on HAS_IOMEM && HAS_DMA
499        select NET_CORE
500        select MII
501        select PHYLIB
502        select CRC32
503        select BITREVERSE
504        ---help---
505          Say Y here if you want to use the OpenCores 10/100 Mbps Ethernet MAC.
506
507source "drivers/net/ethernet/packetengines/Kconfig"
508source "drivers/net/ethernet/pasemi/Kconfig"
509source "drivers/net/ethernet/qlogic/Kconfig"
510source "drivers/net/ethernet/racal/Kconfig"
511source "drivers/net/ethernet/realtek/Kconfig"
512source "drivers/net/ethernet/renesas/Kconfig"
513source "drivers/net/ethernet/rdc/Kconfig"
514
515config S6GMAC
516        tristate "S6105 GMAC ethernet support"
517        depends on XTENSA_VARIANT_S6000
518        select PHYLIB
519        ---help---
520          This driver supports the on chip ethernet device on the
521          S6105 xtensa processor.
522
523          To compile this driver as a module, choose M here. The module
524          will be called s6gmac.
525
526source "drivers/net/ethernet/seeq/Kconfig"
527source "drivers/net/ethernet/silan/Kconfig"
528source "drivers/net/ethernet/sis/Kconfig"
529source "drivers/net/ethernet/sfc/Kconfig"
530source "drivers/net/ethernet/sgi/Kconfig"
531source "drivers/net/ethernet/smsc/Kconfig"
532source "drivers/net/ethernet/stmicro/Kconfig"
533source "drivers/net/ethernet/sun/Kconfig"
534source "drivers/net/ethernet/tehuti/Kconfig"
535source "drivers/net/ethernet/ti/Kconfig"
536source "drivers/net/ethernet/tile/Kconfig"
537source "drivers/net/ethernet/toshiba/Kconfig"
538source "drivers/net/ethernet/tundra/Kconfig"
539source "drivers/net/ethernet/via/Kconfig"
540source "drivers/net/ethernet/xilinx/Kconfig"
541source "drivers/net/ethernet/xircom/Kconfig"
542
543endif # ETHERNET
Note: See TracBrowser for help on using the repository browser.