]> git.karo-electronics.de Git - linux-beck.git/commit
cpsw: ethtool: add support for nway reset
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 28 Nov 2016 09:47:52 +0000 (10:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 15:13:30 +0000 (10:13 -0500)
commit6bb10c2bc6576d80d2e933a58b4210101e56c30c
tree5910b0c88ef6a8ddef80b980739512e36ad4f46a
parent6d5274eba48539bf4fcea3fa85d8789e4a6b3425
cpsw: ethtool: add support for nway reset

This patch adds support for ethtool's '-r' command. Restarting
N-WAY negotiation can be useful to activate newly changed EEE
settings etc.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c