aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence/Kconfig
diff options
context:
space:
mode:
authorRafal Ozieblo <rafalo@cadence.com>2017-06-29 07:12:51 +0100
committerDavid S. Miller <davem@davemloft.net>2017-06-30 13:11:41 -0400
commit7b4296148066f19b5960127ba579e358df501c22 (patch)
tree2ab6336928cd958deb408dcecfcb7b300f4cb20f /drivers/net/ethernet/cadence/Kconfig
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-dev-7b4296148066f19b5960127ba579e358df501c22.tar.xz
linux-dev-7b4296148066f19b5960127ba579e358df501c22.zip
net: macb: Add support for PTP timestamps in DMA descriptors
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>
Diffstat (limited to 'drivers/net/ethernet/cadence/Kconfig')
-rw-r--r--drivers/net/ethernet/cadence/Kconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig
index 608bea171956..427d65a1a126 100644
--- a/drivers/net/ethernet/cadence/Kconfig
+++ b/drivers/net/ethernet/cadence/Kconfig
@@ -29,7 +29,15 @@ config MACB
support for the MACB/GEM chip.
To compile this driver as a module, choose M here: the module
- will be called macb.
+ 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"