]> git.baikalelectronics.ru Git - kernel.git/commit
r8169:Remove unnecessary phy reset for pcie nic when setting link spped.
authorChun-Hao Lin <hau@realtek.com>
Fri, 11 Mar 2016 06:21:14 +0000 (14:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 02:32:44 +0000 (22:32 -0400)
commit56f6348a80ebe6bb46b40bcdf21217ea55a8a7d7
treea7af9fc77bc1b1de032ddfa92883b88efc0129a1
parent9cd6c48196fa959734ebd587152bf9e9c3ac2fde
r8169:Remove unnecessary phy reset for pcie nic when setting link spped.

For pcie nic, after setting link speed and there is no link driver does not need
to do phy reset until link up.

For some pcie nics, to do this will also reset phy speed down counter and prevent
phy from auto speed down.

This patch fix the issue reported in following link.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1547151

Signed-off-by: Chunhao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c