diff options
author | Rafal Ozieblo <rafalo@cadence.com> | 2017-06-29 07:12:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-30 13:11:41 -0400 |
commit | 7b4296148066f19b5960127ba579e358df501c22 (patch) | |
tree | 2ab6336928cd958deb408dcecfcb7b300f4cb20f /drivers/net/ethernet/cadence/Kconfig | |
parent | b07911593719828cac023bdcf6bf4da1c9ba546f (diff) |
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/Kconfig | 10 |
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" |