]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: am65-cpsw: fix rmii 100Mbit link mode
authorGrygorii Strashko <grygorii.strashko@ti.com>
Sun, 30 Aug 2020 17:34:32 +0000 (20:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2020 20:06:35 +0000 (13:06 -0700)
commitbfe788ae120d7fe649440b2b9af2ebade7c48b9a
tree02ee30ad93160b00f0ee271f245fcfa3cdd371c9
parent7bad1796b1fff909d68a0204317eb55ecc9ac5b4
net: ethernet: ti: am65-cpsw: fix rmii 100Mbit link mode

In RMII link mode it's required to set bit 15 IFCTL_A in MAC_SL MAC_CONTROL
register to enable support for 100Mbit link speed.

Fixes: e7364a21077b ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/am65-cpsw-nuss.c