mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
nvethernetrm: fixes for QNX SDP7.1 compiler error
Bug 4893334 Signed-off-by: Karuna Muthusamy <kmuthusamy@nvidia.com> Change-Id: I625ecf8bc2b9b40c76b575a41ff5f838aa295b82 Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/3262293 Reviewed-by: Hareesh Kesireddy <hkesireddy@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6fa36e885d
commit
248fb6375c
@@ -484,7 +484,6 @@ static nve32_t xpcs_uphy_lane_bring_up(struct osi_core_priv_data *osi_core,
|
|||||||
nveu32_t count;
|
nveu32_t count;
|
||||||
nve32_t ret = 0;
|
nve32_t ret = 0;
|
||||||
nveu32_t once = 0;
|
nveu32_t once = 0;
|
||||||
nveu64_t retry_delay = 1U;
|
|
||||||
const nveu32_t uphy_status_reg[OSI_MAX_MAC_IP_TYPES] = {
|
const nveu32_t uphy_status_reg[OSI_MAX_MAC_IP_TYPES] = {
|
||||||
EQOS_XPCS_WRAP_UPHY_STATUS,
|
EQOS_XPCS_WRAP_UPHY_STATUS,
|
||||||
XPCS_WRAP_UPHY_STATUS,
|
XPCS_WRAP_UPHY_STATUS,
|
||||||
@@ -498,9 +497,6 @@ static nve32_t xpcs_uphy_lane_bring_up(struct osi_core_priv_data *osi_core,
|
|||||||
|
|
||||||
if ((osi_core->mac == OSI_MAC_HW_MGBE_T26X) || (osi_core->mac_ver == OSI_EQOS_MAC_5_40)) {
|
if ((osi_core->mac == OSI_MAC_HW_MGBE_T26X) || (osi_core->mac_ver == OSI_EQOS_MAC_5_40)) {
|
||||||
retry = 1000U;
|
retry = 1000U;
|
||||||
if (osi_core->uphy_gbe_mode == OSI_GBE_MODE_25G) {
|
|
||||||
retry_delay = 60U;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val = osi_readla(osi_core,
|
val = osi_readla(osi_core,
|
||||||
|
|||||||
Reference in New Issue
Block a user