tg3: Disable EEE during loopback tests
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 25 Jan 2011 15:58:54 +0000 (15:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2011 03:38:19 +0000 (19:38 -0800)
commitab78904608bd6e421b81420e4d2f7d5bae9d4660
treea0a6029c86b8c5a37b50afea5eff95f78f7902c9
parentaba49f2421d5287692aee961ab4ce2981fdf4939
tg3: Disable EEE during loopback tests

EEE interferes with the hardware's ability to loop a packet back to the
host.  This patch disables the feature for the duration of the test.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c