aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-01-20 11:58:07 -0500
committerDavid S. Miller <davem@davemloft.net>2010-01-20 22:21:00 -0500
commit5fd68fbdaf75505a2400826c7f314a1f3121a5f7 (patch)
treea66548351a01576701492e38bd01c6da090ffd3b /drivers/net/tg3.c
parent8b5a6c42e1f2277433aeefa9ee5a0c1a2473b7d8 (diff)
tg3: Supply a nicaddr for 57765 jumbo RCB
The 57765 needs the driver to supply a nic address to the jumbo RCB, just like all other devices except the 5717. This patch changes the test to single out the 5717 rather than maintain a lengthy whitelist of asic revs. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Benjamin Li <benli@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 44ac9e233bef..72d1e18a152c 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -7787,7 +7787,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
7787 tw32(RCVDBDI_JUMBO_BD + TG3_BDINFO_MAXLEN_FLAGS, 7787 tw32(RCVDBDI_JUMBO_BD + TG3_BDINFO_MAXLEN_FLAGS,
7788 (RX_JUMBO_MAX_SIZE << BDINFO_FLAGS_MAXLEN_SHIFT) | 7788 (RX_JUMBO_MAX_SIZE << BDINFO_FLAGS_MAXLEN_SHIFT) |
7789 BDINFO_FLAGS_USE_EXT_RECV); 7789 BDINFO_FLAGS_USE_EXT_RECV);
7790 if (!(tp->tg3_flags2 & TG3_FLG2_5705_PLUS)) 7790 if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5717)
7791 tw32(RCVDBDI_JUMBO_BD + TG3_BDINFO_NIC_ADDR, 7791 tw32(RCVDBDI_JUMBO_BD + TG3_BDINFO_NIC_ADDR,
7792 NIC_SRAM_RX_JUMBO_BUFFER_DESC); 7792 NIC_SRAM_RX_JUMBO_BUFFER_DESC);
7793 } else { 7793 } else {