Loading...
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Cadence device configuration
4#
5
6config NET_VENDOR_CADENCE
7 bool "Cadence devices"
8 depends on HAS_IOMEM
9 default y
10 help
11 If you have a network (Ethernet) card belonging to this class, say Y.
12
13 If unsure, say Y.
14
15 Note that the answer to this question doesn't directly affect the
16 kernel: saying N will just cause the configurator to skip all the
17 remaining Cadence network card questions. If you say Y, you will be
18 asked for your specific card in the following questions.
19
20if NET_VENDOR_CADENCE
21
22config MACB
23 tristate "Cadence MACB/GEM support"
24 depends on HAS_DMA && COMMON_CLK
25 depends on PTP_1588_CLOCK_OPTIONAL
26 select PHYLINK
27 select CRC32
28 help
29 The Cadence MACB ethernet interface is found on many Atmel AT32 and
30 AT91 parts. This driver also supports the Cadence GEM (Gigabit
31 Ethernet MAC found in some ARM SoC devices). Say Y to include
32 support for the MACB/GEM chip.
33
34 To compile this driver as a module, choose M here: the module
35 will be macb.
36
37config MACB_USE_HWSTAMP
38 bool "Use IEEE 1588 hwstamp"
39 depends on MACB
40 depends on PTP_1588_CLOCK
41 default y
42 help
43 Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
44
45config MACB_PCI
46 tristate "Cadence PCI MACB/GEM support"
47 depends on MACB && PCI
48 help
49 This is PCI wrapper for MACB driver.
50
51 To compile this driver as a module, choose M here: the module
52 will be called macb_pci.
53
54endif # NET_VENDOR_CADENCE
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_AT91RM9200 || 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). Note: the Gigabit mode
39 is not yet supported. Say Y to include 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