]> 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)
commit430d0f5d5494ab7f99a5b5126d59b0ca9f8945b1
treeb83c32e6b654d583d42a0adb72b1e66f852f62a7
parentd7738a1aade8a3dedcd14d42511d33e621d16ee3
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