tg3: Fix 57765 EEE support
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 6 Dec 2010 08:28:51 +0000 (08:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 19:03:47 +0000 (11:03 -0800)
commit699c019385fcb13498a5a3a8bd368f04f1d4a223
tree341a42d2fa4d0a2581b77ba9e855044bc44450c9
parent3110f5f5545a645c50ef66b1f705d08dfd1df404
tg3: Fix 57765 EEE support

EEE support in the 57765 internal phy will not enable after a phy reset
unless it sees that EEE is supported in the MAC.  This patch moves the
code that programs the CPMU EEE registers to a place before the phy
reset.

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