qed: Add infrastructure for PTP support
authorSudarsana Reddy Kalluru <sudarsana.Kalluru@cavium.com>
Wed, 15 Feb 2017 08:24:10 +0000 (10:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2017 17:42:52 +0000 (12:42 -0500)
commitc78c70fa30e23dc6cdb394f6c13880919499fba5
treeed0b238632663f6f130faffd9ce2fef2a7df4cd8
parentb93f79bea9c1fcb1dd4619eaa528b6a5688c3ece
qed: Add infrastructure for PTP support

The patch adds the required qed interfaces for configuring/reading
the PTP clock on the adapter.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/Makefile
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qed/qed_l2.h
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qed/qed_ptp.c [new file with mode: 0644]
drivers/net/ethernet/qlogic/qed/qed_ptp.h [new file with mode: 0644]
drivers/net/ethernet/qlogic/qed/qed_reg_addr.h
include/linux/qed/qed_eth_if.h