diff options
author | Michael Chan <michael.chan@broadcom.com> | 2021-06-27 19:19:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-28 22:41:05 +0200 |
commit | 118612d519d83b98ead11195a5c818f5e8904654 (patch) | |
tree | 2692fc0a83eceaf885b6ead153923603f7a62213 /drivers/net/ethernet/broadcom/Kconfig | |
parent | bnxt_en: Get PTP hardware capability from firmware (diff) | |
download | linux-118612d519d83b98ead11195a5c818f5e8904654.tar.xz linux-118612d519d83b98ead11195a5c818f5e8904654.zip |
bnxt_en: Add PTP clock APIs, ioctls, and ethtool methods
Add the clock APIs to set/get/adjust the hw clock, and the related
ioctls and ethtool methods.
v2: Propagate error code from ptp_clock_register().
Add spinlock to serialize access to the timecounter. The
timecounter is accessed in process context and the RX datapath.
Read the PHC using direct registers.
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Kconfig')
-rw-r--r-- | drivers/net/ethernet/broadcom/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig index cb88ffb8f12f..1a02ca600b71 100644 --- a/drivers/net/ethernet/broadcom/Kconfig +++ b/drivers/net/ethernet/broadcom/Kconfig @@ -206,6 +206,7 @@ config SYSTEMPORT config BNXT tristate "Broadcom NetXtreme-C/E support" depends on PCI + imply PTP_1588_CLOCK select FW_LOADER select LIBCRC32C select NET_DEVLINK |