tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths
authorSiva Reddy Kallam <siva.kallam@broadcom.com>
Tue, 20 Nov 2018 04:34:04 +0000 (10:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 07:20:34 +0000 (08:20 +0100)
commit91d3ddb8cb5fd507048ed3fa4d7bba431fe038bc
tree5adafe177aedc268ea12765041991d498a954638
parent6bab51ff62cea6c9e0455aa748cb097a4a4ccd0a
tg3: Add PHY reset for 5717/5719/5720 in change ring and flow control paths

[ Upstream commit 59663e42199c93d1d7314d1446f6782fc4b1eb81 ]

This patch has the fix to avoid PHY lockup with 5717/5719/5720 in change
ring and flow control paths. This patch solves the RX hang while doing
continuous ring or flow control parameters with heavy traffic from peer.

Signed-off-by: Siva Reddy Kallam <siva.kallam@broadcom.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/tg3.c