David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | # |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 3 | # Cadence device configuration |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 4 | # |
| 5 | |
| 6 | config 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 |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 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 |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 18 | asked for your specific card in the following questions. |
| 19 | |
| 20 | if NET_VENDOR_CADENCE |
| 21 | |
| 22 | config MACB |
| 23 | tristate "Cadence MACB/GEM support" |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 24 | depends on HAS_DMA && COMMON_CLK |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 25 | select PHYLIB |
| 26 | ---help--- |
| 27 | The Cadence MACB ethernet interface is found on many Atmel AT32 and |
| 28 | AT91 parts. This driver also supports the Cadence GEM (Gigabit |
| 29 | Ethernet MAC found in some ARM SoC devices). Say Y to include |
| 30 | support for the MACB/GEM chip. |
| 31 | |
| 32 | To compile this driver as a module, choose M here: the module |
| 33 | will be macb. |
| 34 | |
| 35 | config MACB_USE_HWSTAMP |
| 36 | bool "Use IEEE 1588 hwstamp" |
| 37 | depends on MACB |
| 38 | default y |
| 39 | imply PTP_1588_CLOCK |
| 40 | ---help--- |
| 41 | Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB. |
| 42 | |
| 43 | config MACB_PCI |
| 44 | tristate "Cadence PCI MACB/GEM support" |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 45 | depends on MACB && PCI |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 46 | ---help--- |
| 47 | This is PCI wrapper for MACB driver. |
| 48 | |
| 49 | To compile this driver as a module, choose M here: the module |
| 50 | will be called macb_pci. |
| 51 | |
| 52 | endif # NET_VENDOR_CADENCE |