diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-03-09 11:58:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 04:56:11 -0500 |
commit | bb18bb942a31411954021ad036ca7bace642c3c0 (patch) | |
tree | 1b50dd35cb678248f3f95abe3c811c255d95b40c /drivers/net/tg3.c | |
parent | a252bebe22155313ccdadc20b79f67a239dc9ecb (diff) |
tg3: Add missed 5719 workaround change
Commit 2866d956fe0ad8fc8d8a7c54104ccc879b49406d, entitled
"tg3: Expand 5719 workaround" extended a 5719 A0 workaround to all
revisions of the chip. There was a change that should have been a
part of that patch that was missed. This patch adds the missing
piece.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 6be418591df9..6fd5cf055830 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -8103,7 +8103,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy) | |||
8103 | /* Program the jumbo buffer descriptor ring control | 8103 | /* Program the jumbo buffer descriptor ring control |
8104 | * blocks on those devices that have them. | 8104 | * blocks on those devices that have them. |
8105 | */ | 8105 | */ |
8106 | if (tp->pci_chip_rev_id == CHIPREV_ID_5719_A0 || | 8106 | if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719 || |
8107 | ((tp->tg3_flags & TG3_FLAG_JUMBO_CAPABLE) && | 8107 | ((tp->tg3_flags & TG3_FLAG_JUMBO_CAPABLE) && |
8108 | !(tp->tg3_flags2 & TG3_FLG2_5780_CLASS))) { | 8108 | !(tp->tg3_flags2 & TG3_FLG2_5780_CLASS))) { |
8109 | /* Setup replenish threshold. */ | 8109 | /* Setup replenish threshold. */ |