aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2005-04-21 20:03:52 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-04-21 20:03:52 -0400
commit053d78000be4906fac6446ad517ca3897dc6cd84 (patch)
tree3ba4a5f488457ce6432d956b2363e3a3806396f6 /drivers/net/tg3.c
parent1b440c568e28186956ef765c69ab124401088663 (diff)
[TG3]: add support for bcm5752 rev a1
Replace existing ASIC_REV_5752 definition with ASIC_REV_5752_A0, and add definition for ASIC_REV_5752_A1. Then, add ASIC_REV_5752_A1 to check for setting TG3_FLG2_5750_PLUS in tg3_get_invariants. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 0951a9605577..c1881976927d 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -7929,7 +7929,8 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
7929 tp->pci_bist = (cacheline_sz_reg >> 24) & 0xff; 7929 tp->pci_bist = (cacheline_sz_reg >> 24) & 0xff;
7930 7930
7931 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5750 || 7931 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5750 ||
7932 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5752) 7932 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5752_A0 ||
7933 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5752_A1)
7933 tp->tg3_flags2 |= TG3_FLG2_5750_PLUS; 7934 tp->tg3_flags2 |= TG3_FLG2_5750_PLUS;
7934 7935
7935 if ((GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5705) || 7936 if ((GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5705) ||