aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_ptp.h
diff options
context:
space:
mode:
authorArkadiusz Kubalewski <[email protected]>2022-09-08 09:58:52 +0000
committerTony Nguyen <[email protected]>2022-09-28 18:40:57 +0000
commit43c4958a3ddb4d1eac730ce95d3a9de589c96ba4 (patch)
tree62888ba2a128047306d35983218f58e598bc7eaf /drivers/net/ethernet/intel/ice/ice_ptp.h
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/netfil... (diff)
downloadkernel-43c4958a3ddb4d1eac730ce95d3a9de589c96ba4.tar.gz
kernel-43c4958a3ddb4d1eac730ce95d3a9de589c96ba4.zip
ice: Merge pin initialization of E810 and E810T adapters
Remove separate function initializing pins for E810T-based adapters and initialize pins based on feature bits. Signed-off-by: Maciej Machnikowski <[email protected]> Signed-off-by: Arkadiusz Kubalewski <[email protected]> Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ptp.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_ptp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_ptp.h b/drivers/net/ethernet/intel/ice/ice_ptp.h
index a224b5e90386..028349295b71 100644
--- a/drivers/net/ethernet/intel/ice/ice_ptp.h
+++ b/drivers/net/ethernet/intel/ice/ice_ptp.h
@@ -235,8 +235,8 @@ struct ice_ptp {
#define N_EXT_TS_E810 3
#define N_PER_OUT_E810 4
#define N_PER_OUT_E810T 3
-#define N_PER_OUT_E810T_NO_SMA 2
-#define N_EXT_TS_E810_NO_SMA 2
+#define N_PER_OUT_NO_SMA_E810T 2
+#define N_EXT_TS_NO_SMA_E810T 2
#define ETH_GLTSYN_ENA(_i) (0x03000348 + ((_i) * 4))
#if IS_ENABLED(CONFIG_PTP_1588_CLOCK)