xref: /linux/drivers/net/ethernet/cadence/Kconfig (revision e0bf6c5ca2d3281f231c5f0c9bf145e9513644de)
1#
2# Atmel device configuration
3#
4
5config NET_CADENCE
6	bool "Cadence devices"
7	depends on HAS_IOMEM && (ARM || AVR32 || MICROBLAZE || COMPILE_TEST)
8	default y
9	---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
21if NET_CADENCE
22
23config ARM_AT91_ETHER
24	tristate "AT91RM9200 Ethernet support"
25	depends on HAS_DMA && (ARCH_AT91 || COMPILE_TEST)
26	select MACB
27	---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
32	tristate "Cadence MACB/GEM support"
33	depends on HAS_DMA && (PLATFORM_AT32AP || ARCH_AT91 || ARCH_PICOXCELL || ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST)
34	select PHYLIB
35	---help---
36	  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).  Say Y to include
39	  support for the MACB/GEM chip.
40
41	  To compile this driver as a module, choose M here: the module
42	  will be called macb.
43
44endif # NET_CADENCE
45