summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-01-25 15:58:56 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-25 19:38:20 -0800
commitd7f2ab20432441c7d4e41cd1745aafc17d712672 (patch)
tree860fe0f859b1e860bb11c749d6cb215f2db1f100 /drivers/net/tg3.c
parent21a00ab270f95d32e502d92f166dd75c518d3c5f (diff)
downloadblackbird-op-linux-d7f2ab20432441c7d4e41cd1745aafc17d712672.tar.gz
blackbird-op-linux-d7f2ab20432441c7d4e41cd1745aafc17d712672.zip
tg3: Fix eee preprocessor naming
This patch fixes a preprocessor naming bug for one of the EEE registers. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index f2b6257b9ef6..64bba302afd5 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -7829,7 +7829,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
TG3_CPMU_DBTMR1_LNKIDLE_2047US);
tw32_f(TG3_CPMU_EEE_DBTMR2,
- TG3_CPMU_DBTMR1_APE_TX_2047US |
+ TG3_CPMU_DBTMR2_APE_TX_2047US |
TG3_CPMU_DBTMR2_TXIDXEQ_2047US);
}
OpenPOWER on IntegriCloud