summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 96db92e)
raw | patch | inline | side by side (parent: 96db92e)
author | Tinku Mannan <tmannan@ti.com> | |
Wed, 18 Dec 2019 18:17:20 +0000 (13:17 -0500) | ||
committer | Mahesh Radhakrishnan <a0875154@ti.com> | |
Thu, 19 Dec 2019 21:27:05 +0000 (15:27 -0600) |
need to disable gigabit mode in mac control register when link speed
is not gigabit
Signed-off-by: Tinku Mannan <tmannan@ti.com>
is not gigabit
Signed-off-by: Tinku Mannan <tmannan@ti.com>
packages/ti/drv/emac/src/v5/emac_drv_v5.c | patch | blob | history |
index d1b4922145830e33c21501bfb7c5092b65489fc0..f4bfec52109edfa579afe88242f77bcb644e7181 100644 (file)
@@ -3170,10 +3170,15 @@ static void emac_icssg_update_link_params(uint32_t port_num, uint32_t virt_port_
{
CSL_CPGMAC_SL_enableGigabit(emac_mcb.port_cb[port_num].hCpswRegs,0);
}
+ else
+ {
+ CSL_CPGMAC_SL_disableGigabit(emac_mcb.port_cb[port_num].hCpswRegs,0);
+ }
}
else
{
CSL_CPGMAC_SL_disableFullDuplex(emac_mcb.port_cb[port_num].hCpswRegs,0);
+ CSL_CPGMAC_SL_disableGigabit(emac_mcb.port_cb[port_num].hCpswRegs,0);
}
}
/* ICSSG ports */