xref: /linux/drivers/net/ethernet/cadence/Kconfig (revision 8ea2b17c99b926e2229696eed7f49ac2f73f4619)
19f2f381fSJeff Kirsher#
29f2f381fSJeff Kirsher# Atmel device configuration
39f2f381fSJeff Kirsher#
49f2f381fSJeff Kirsher
5f75ba50bSJamie Ilesconfig NET_CADENCE
6f75ba50bSJamie Iles	bool "Cadence devices"
7*8ea2b17cSJean Delvare	depends on HAS_IOMEM && (ARM || AVR32 || MICROBLAZE || COMPILE_TEST)
8eccab1ecSJean-Christophe PLAGNIOL-VILLARD	default y
99f2f381fSJeff Kirsher	---help---
109f2f381fSJeff Kirsher	  If you have a network (Ethernet) card belonging to this class, say Y.
119f2f381fSJeff Kirsher	  Make sure you know the name of your card. Read the Ethernet-HOWTO,
129f2f381fSJeff Kirsher	  available from <http://www.tldp.org/docs.html#howto>.
139f2f381fSJeff Kirsher
149f2f381fSJeff Kirsher	  If unsure, say Y.
159f2f381fSJeff Kirsher
169f2f381fSJeff Kirsher	  Note that the answer to this question doesn't directly affect the
179f2f381fSJeff Kirsher	  kernel: saying N will just cause the configurator to skip all
189f2f381fSJeff Kirsher	  the remaining Atmel network card questions. If you say Y, you will be
199f2f381fSJeff Kirsher	  asked for your specific card in the following questions.
209f2f381fSJeff Kirsher
21f75ba50bSJamie Ilesif NET_CADENCE
229f2f381fSJeff Kirsher
239f2f381fSJeff Kirsherconfig ARM_AT91_ETHER
249f2f381fSJeff Kirsher	tristate "AT91RM9200 Ethernet support"
25ea05df4eSJean Delvare	depends on HAS_DMA && (ARCH_AT91RM9200 || COMPILE_TEST)
26f4a15e1bSJoachim Eastwood	select MACB
279f2f381fSJeff Kirsher	---help---
289f2f381fSJeff Kirsher	  If you wish to compile a kernel for the AT91RM9200 and enable
299f2f381fSJeff Kirsher	  ethernet support, then you should always answer Y to this.
309f2f381fSJeff Kirsher
319f2f381fSJeff Kirsherconfig MACB
32f75ba50bSJamie Iles	tristate "Cadence MACB/GEM support"
33*8ea2b17cSJean Delvare	depends on HAS_DMA && (PLATFORM_AT32AP || ARCH_AT91 || ARCH_PICOXCELL || ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST)
349f2f381fSJeff Kirsher	select PHYLIB
359f2f381fSJeff Kirsher	---help---
36f75ba50bSJamie Iles	  The Cadence MACB ethernet interface is found on many Atmel AT32 and
37f75ba50bSJamie Iles	  AT91 parts.  This driver also supports the Cadence GEM (Gigabit
38f75ba50bSJamie Iles	  Ethernet MAC found in some ARM SoC devices).  Note: the Gigabit mode
39f75ba50bSJamie Iles	  is not yet supported.  Say Y to include support for the MACB/GEM chip.
409f2f381fSJeff Kirsher
419f2f381fSJeff Kirsher	  To compile this driver as a module, choose M here: the module
429f2f381fSJeff Kirsher	  will be called macb.
439f2f381fSJeff Kirsher
44f75ba50bSJamie Ilesendif # NET_CADENCE
45