aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-01-25 10:58:56 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-25 22:38:20 -0500
commitd7f2ab20432441c7d4e41cd1745aafc17d712672 (patch)
tree860fe0f859b1e860bb11c749d6cb215f2db1f100
parent21a00ab270f95d32e502d92f166dd75c518d3c5f (diff)
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>
-rw-r--r--drivers/net/tg3.c2
-rw-r--r--drivers/net/tg3.h2
2 files changed, 2 insertions, 2 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)
7829 TG3_CPMU_DBTMR1_LNKIDLE_2047US); 7829 TG3_CPMU_DBTMR1_LNKIDLE_2047US);
7830 7830
7831 tw32_f(TG3_CPMU_EEE_DBTMR2, 7831 tw32_f(TG3_CPMU_EEE_DBTMR2,
7832 TG3_CPMU_DBTMR1_APE_TX_2047US | 7832 TG3_CPMU_DBTMR2_APE_TX_2047US |
7833 TG3_CPMU_DBTMR2_TXIDXEQ_2047US); 7833 TG3_CPMU_DBTMR2_TXIDXEQ_2047US);
7834 } 7834 }
7835 7835
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 1dbe5eca6fed..716fc0008af1 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1106,7 +1106,7 @@
1106#define TG3_CPMU_DBTMR1_PCIEXIT_2047US 0x07ff0000 1106#define TG3_CPMU_DBTMR1_PCIEXIT_2047US 0x07ff0000
1107#define TG3_CPMU_DBTMR1_LNKIDLE_2047US 0x000070ff 1107#define TG3_CPMU_DBTMR1_LNKIDLE_2047US 0x000070ff
1108#define TG3_CPMU_EEE_DBTMR2 0x000036b8 1108#define TG3_CPMU_EEE_DBTMR2 0x000036b8
1109#define TG3_CPMU_DBTMR1_APE_TX_2047US 0x07ff0000 1109#define TG3_CPMU_DBTMR2_APE_TX_2047US 0x07ff0000
1110#define TG3_CPMU_DBTMR2_TXIDXEQ_2047US 0x000070ff 1110#define TG3_CPMU_DBTMR2_TXIDXEQ_2047US 0x000070ff
1111#define TG3_CPMU_EEE_LNKIDL_CTRL 0x000036bc 1111#define TG3_CPMU_EEE_LNKIDL_CTRL 0x000036bc
1112#define TG3_CPMU_EEE_LNKIDL_PCIE_NL0 0x01000000 1112#define TG3_CPMU_EEE_LNKIDL_PCIE_NL0 0x01000000