net: ethernet: Fix SGMII unable to switch speed and autonego failure
authorJia Jie Ho <ho.jia.jie@intel.com>
Mon, 14 Nov 2016 09:06:49 +0000 (17:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2016 17:06:24 +0000 (12:06 -0500)
commitf6c365fad1034c66f9969d1435ffad9102f966bb
tree669d25e33c2b7d8bd02b4cfe5f79f10a680bc1bc
parente76d21c40bd6c67fd4e2c1540d77e113df962b4d
net: ethernet: Fix SGMII unable to switch speed and autonego failure

TSE PCS SGMII ethernet has an issue where switching speed doesn't work
caused by a faulty register macro offset. This fixes the issue.

Signed-off-by: Jia Jie Ho <ho.jia.jie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c