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)
commitf1315d20525f3a0004b5e64a99e0d5f7e377b7e3
treeb83c32e6b654d583d42a0adb72b1e66f852f62a7
parentf6334bb860a890eab2699330930c267bb83e83db
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