tg3: Fix EEE interoperability workaround
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 19 May 2011 12:12:48 +0000 (12:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2011 22:00:00 +0000 (18:00 -0400)
commitb0c5943f1ca4df6c1c451ef6be5287a161d29a9d
tree61502760b9cb0334e96528765b61a32a96bf5a5f
parent108a6c1655f184c9abb7b5917838a8fb204361f5
tg3: Fix EEE interoperability workaround

Commit 21a00ab270f95d32e502d92f166dd75c518d3c5f, entitled
"tg3: Fix EEE interoperability issue", added an EEE interoperability
fix.  We found that the fix doesn't work if applied too early though.
This patch delays the fix until right before allowing LPI assertion.

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
drivers/net/tg3.h