mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
eqos: set ssnic to 6
Set SSIN to 6 for EQOS mac version 5.3 Bug 200760072 Change-Id: I72923d42313880dd362b7b6b197269f3495a18de Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2575178 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
5f8d32d75d
commit
36510e26ad
@@ -272,6 +272,7 @@ typedef my_lint_64 nvel64_t;
|
||||
*/
|
||||
#define OSI_PTP_SSINC_16 16U
|
||||
#define OSI_PTP_SSINC_4 4U
|
||||
#define OSI_PTP_SSINC_6 6U
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
||||
@@ -4304,6 +4304,8 @@ static void eqos_config_ssir(struct osi_core_priv_data *const osi_core,
|
||||
if ((mac_tcr & EQOS_MAC_TCR_TSCFUPDT) == EQOS_MAC_TCR_TSCFUPDT) {
|
||||
if (osi_core->mac_ver <= OSI_EQOS_MAC_4_10) {
|
||||
val = OSI_PTP_SSINC_16;
|
||||
} else if (osi_core->mac_ver == OSI_EQOS_MAC_5_30) {
|
||||
val = OSI_PTP_SSINC_6;
|
||||
} else {
|
||||
val = OSI_PTP_SSINC_4;
|
||||
}
|
||||
|
||||
@@ -837,6 +837,9 @@ nve32_t osi_ptp_configuration(struct osi_core_priv_data *const osi_core,
|
||||
ssinc = OSI_PTP_SSINC_16;
|
||||
} else {
|
||||
ssinc = OSI_PTP_SSINC_4;
|
||||
if (osi_core->mac_ver == OSI_EQOS_MAC_5_30) {
|
||||
ssinc = OSI_PTP_SSINC_6;
|
||||
}
|
||||
}
|
||||
|
||||
temp = ((nveu64_t)1000 << 32);
|
||||
|
||||
Reference in New Issue
Block a user