bnxt_en: Enable hardware PTP support
authorMichael Chan <michael.chan@broadcom.com>
Sun, 27 Jun 2021 17:19:50 +0000 (13:19 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 20:41:06 +0000 (13:41 -0700)
commit93cb62d98e9c3d8c94cc09a15b9ab1faf342c392
tree58c58c1662d3ea8bd9124163e0606a2b5f0a6064
parent83bb623c968e7351aee5111547693f95f330dc5a
bnxt_en: Enable hardware PTP support

Call bnxt_ptp_init() to initialize and register with the clock driver
to enable PTP support.  Call bnxt_ptp_free() to unregister and clean
up during shutdown.

Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Reviewed-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>
drivers/net/ethernet/broadcom/bnxt/bnxt.c