]> git.baikalelectronics.ru Git - kernel.git/commit
net: netcp: Fixes SGMII reset on network interface shutdown
authorWingMan Kwok <w-kwok2@ti.com>
Fri, 24 Jul 2015 19:02:29 +0000 (15:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 08:14:26 +0000 (01:14 -0700)
commit3047f1e01ecb36e89159db13071f4b774b972398
tree12fe777b60886a5ae2d00c82677c7e9ee455cd18
parent0a67ac5954c2028e2e694adc84692980ad778b0c
net: netcp: Fixes SGMII reset on network interface shutdown

This patch asserts SGMII RTRESET, i.e. resetting the SGMII Tx/Rx
logic,  during network interface shutdown to avoid having the
hardware wedge when shutting down with high incoming traffic rates.
This is cleared (brought out of RTRESET) when the interface is
brought back up.

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp.h
drivers/net/ethernet/ti/netcp_ethss.c
drivers/net/ethernet/ti/netcp_sgmii.c