macb: Move the Atmel driver
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / cadence / Kconfig
1 #
2 # Atmel device configuration
3 #
4
5 config HAVE_NET_MACB
6         bool
7
8 config NET_ATMEL
9         bool "Atmel devices"
10         depends on HAVE_NET_MACB || (ARM && ARCH_AT91RM9200)
11         ---help---
12           If you have a network (Ethernet) card belonging to this class, say Y.
13           Make sure you know the name of your card. Read the Ethernet-HOWTO,
14           available from <http://www.tldp.org/docs.html#howto>.
15
16           If unsure, say Y.
17
18           Note that the answer to this question doesn't directly affect the
19           kernel: saying N will just cause the configurator to skip all
20           the remaining Atmel network card questions. If you say Y, you will be
21           asked for your specific card in the following questions.
22
23 if NET_ATMEL
24
25 config ARM_AT91_ETHER
26         tristate "AT91RM9200 Ethernet support"
27         depends on ARM && ARCH_AT91RM9200
28         select MII
29         ---help---
30           If you wish to compile a kernel for the AT91RM9200 and enable
31           ethernet support, then you should always answer Y to this.
32
33 config MACB
34         tristate "Atmel MACB support"
35         depends on HAVE_NET_MACB
36         select PHYLIB
37         ---help---
38           The Atmel MACB ethernet interface is found on many AT32 and AT91
39           parts. Say Y to include support for the MACB chip.
40
41           To compile this driver as a module, choose M here: the module
42           will be called macb.
43
44 endif # NET_ATMEL