aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/tg3.c3
-rw-r--r--drivers/net/tg3.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 54dbe988f5f1..a43ef2b3a530 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -7633,6 +7633,9 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
7633 if (tp->tg3_flags3 & TG3_FLG3_5755_PLUS) 7633 if (tp->tg3_flags3 & TG3_FLG3_5755_PLUS)
7634 val |= WDMAC_MODE_STATUS_TAG_FIX; 7634 val |= WDMAC_MODE_STATUS_TAG_FIX;
7635 7635
7636 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5785)
7637 val |= WDMAC_MODE_BURST_ALL_DATA;
7638
7636 tw32_f(WDMAC_MODE, val); 7639 tw32_f(WDMAC_MODE, val);
7637 udelay(40); 7640 udelay(40);
7638 7641
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 530c36b23e80..68431da5aad3 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1264,8 +1264,9 @@
1264#define WDMAC_MODE_FIFOURUN_ENAB 0x00000080 1264#define WDMAC_MODE_FIFOURUN_ENAB 0x00000080
1265#define WDMAC_MODE_FIFOOREAD_ENAB 0x00000100 1265#define WDMAC_MODE_FIFOOREAD_ENAB 0x00000100
1266#define WDMAC_MODE_LNGREAD_ENAB 0x00000200 1266#define WDMAC_MODE_LNGREAD_ENAB 0x00000200
1267#define WDMAC_MODE_RX_ACCEL 0x00000400 1267#define WDMAC_MODE_RX_ACCEL 0x00000400
1268#define WDMAC_MODE_STATUS_TAG_FIX 0x20000000 1268#define WDMAC_MODE_STATUS_TAG_FIX 0x20000000
1269#define WDMAC_MODE_BURST_ALL_DATA 0xc0000000
1269#define WDMAC_STATUS 0x00004c04 1270#define WDMAC_STATUS 0x00004c04
1270#define WDMAC_STATUS_TGTABORT 0x00000004 1271#define WDMAC_STATUS_TGTABORT 0x00000004
1271#define WDMAC_STATUS_MSTABORT 0x00000008 1272#define WDMAC_STATUS_MSTABORT 0x00000008