]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Remove unnecessary phy reset during ethtool commands
authorNithin Sujir <nsujir@broadcom.com>
Tue, 9 Apr 2013 08:48:03 +0000 (08:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Apr 2013 19:14:14 +0000 (15:14 -0400)
commit2fadb40c271f3084ef72d668d9cefda411544b7e
treeb83c32e6b654d583d42a0adb72b1e66f852f62a7
parent415a629b3831712ad92768a8a46edb47f4240762
tg3: Remove unnecessary phy reset during ethtool commands

The current code unnecessarily resets the phy when we use ethtool to
change the ring parameters or flow control settings. Remove the phy
reset.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c