]> git.karo-electronics.de Git - karo-tx-linux.git/commit
r8169: fix auto speed down issue
authorhayeswang <hayeswang@realtek.com>
Sun, 31 Mar 2013 17:02:04 +0000 (17:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Apr 2013 16:52:12 +0000 (09:52 -0700)
commit77e2cc382c06a8be48f80e769991e9a4b36a03ce
tree47e432574fbad57b11c8e25664566dbf593fd0a3
parent060c519a9fd1467f6958f98520a9a9aea1aee373
r8169: fix auto speed down issue

commit e2409d83434d77874b461b78af6a19cd6e6a1280 upstream.

It would cause no link after suspending or shutdowning when the
nic changes the speed to 10M and connects to a link partner which
forces the speed to 100M.

Check the link partner ability to determine which speed to set.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/realtek/r8169.c