]> 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)
commit9feb6f0f63a3a7457a1fa79dac5f5e8f597daa46
tree12fe777b60886a5ae2d00c82677c7e9ee455cd18
parentac32fddf947aff5ee26439f8fc32ffa2fe4542d1
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