From: Nithin Sujir Date: Tue, 9 Apr 2013 08:48:01 +0000 (+0000) Subject: tg3: Fix flow control settings not propagated to hardware X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~172^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0fcd7a967d3904021caa1574c962ab1b6426e14;p=pandora-kernel.git tg3: Fix flow control settings not propagated to hardware In tg3_setup_copper_phy(), if autonegotiation is disabled, we need to relink only if the speed or duplex does not match the configured setting. If flow control does not match, a relink is not necessary as flow control is not a PHY setting. Later on, we'll call tg3_setup_flow_ctrl() to set up the MAC to the desired flow control settings if we're in full duplex mode. Signed-off-by: Nithin Nayak Sujir Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed