blob: 9e089d24466e65fb6c8b01c08f2ece882e23aaaa [file] [log] [blame]
Jeff Kirsher9f2f3812011-06-18 01:52:36 -07001#
2# Atmel device configuration
3#
4
Jamie Ilesf75ba502011-11-08 10:12:32 +00005config NET_CADENCE
6 bool "Cadence devices"
Jean Delvare8ea2b172014-04-23 10:40:12 +02007 depends on HAS_IOMEM && (ARM || AVR32 || MICROBLAZE || COMPILE_TEST)
Jean-Christophe PLAGNIOL-VILLARDeccab1e2011-11-15 09:36:30 +00008 default y
Jeff Kirsher9f2f3812011-06-18 01:52:36 -07009 ---help---
10 If you have a network (Ethernet) card belonging to this class, say Y.
11 Make sure you know the name of your card. Read the Ethernet-HOWTO,
12 available from <http://www.tldp.org/docs.html#howto>.
13
14 If unsure, say Y.
15
16 Note that the answer to this question doesn't directly affect the
17 kernel: saying N will just cause the configurator to skip all
18 the remaining Atmel network card questions. If you say Y, you will be
19 asked for your specific card in the following questions.
20
Jamie Ilesf75ba502011-11-08 10:12:32 +000021if NET_CADENCE
Jeff Kirsher9f2f3812011-06-18 01:52:36 -070022
23config ARM_AT91_ETHER
24 tristate "AT91RM9200 Ethernet support"
Jean Delvareea05df42014-04-14 15:38:49 +020025 depends on HAS_DMA && (ARCH_AT91RM9200 || COMPILE_TEST)
Joachim Eastwoodf4a15e12012-10-22 08:45:33 +000026 select MACB
Jeff Kirsher9f2f3812011-06-18 01:52:36 -070027 ---help---
28 If you wish to compile a kernel for the AT91RM9200 and enable
29 ethernet support, then you should always answer Y to this.
30
31config MACB
Jamie Ilesf75ba502011-11-08 10:12:32 +000032 tristate "Cadence MACB/GEM support"
Jean Delvare8ea2b172014-04-23 10:40:12 +020033 depends on HAS_DMA && (PLATFORM_AT32AP || ARCH_AT91 || ARCH_PICOXCELL || ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST)
Jeff Kirsher9f2f3812011-06-18 01:52:36 -070034 select PHYLIB
35 ---help---
Jamie Ilesf75ba502011-11-08 10:12:32 +000036 The Cadence MACB ethernet interface is found on many Atmel AT32 and
37 AT91 parts. This driver also supports the Cadence GEM (Gigabit
38 Ethernet MAC found in some ARM SoC devices). Note: the Gigabit mode
39 is not yet supported. Say Y to include support for the MACB/GEM chip.
Jeff Kirsher9f2f3812011-06-18 01:52:36 -070040
41 To compile this driver as a module, choose M here: the module
42 will be called macb.
43
Jamie Ilesf75ba502011-11-08 10:12:32 +000044endif # NET_CADENCE