mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
7b42961480
This patch adds support for PTP timestamps in DMA buffer descriptors. It checks capability at runtime and uses appropriate buffer descriptor. Signed-off-by: Rafal Ozieblo <rafalo@cadence.com> Signed-off-by: David S. Miller <davem@davemloft.net>
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
#
|
|
# Atmel device configuration
|
|
#
|
|
|
|
config NET_CADENCE
|
|
bool "Cadence devices"
|
|
depends on HAS_IOMEM
|
|
default y
|
|
---help---
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
If unsure, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the remaining Atmel network card questions. If you say Y, you will be
|
|
asked for your specific card in the following questions.
|
|
|
|
if NET_CADENCE
|
|
|
|
config MACB
|
|
tristate "Cadence MACB/GEM support"
|
|
depends on HAS_DMA
|
|
select PHYLIB
|
|
---help---
|
|
The Cadence MACB ethernet interface is found on many Atmel AT32 and
|
|
AT91 parts. This driver also supports the Cadence GEM (Gigabit
|
|
Ethernet MAC found in some ARM SoC devices). Say Y to include
|
|
support for the MACB/GEM chip.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be macb.
|
|
|
|
config MACB_USE_HWSTAMP
|
|
bool "Use IEEE 1588 hwstamp"
|
|
depends on MACB
|
|
default y
|
|
imply PTP_1588_CLOCK
|
|
---help---
|
|
Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
|
|
|
|
config MACB_PCI
|
|
tristate "Cadence PCI MACB/GEM support"
|
|
depends on MACB && PCI && COMMON_CLK
|
|
---help---
|
|
This is PCI wrapper for MACB driver.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called macb_pci.
|
|
|
|
endif # NET_CADENCE
|