Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214526
b: refs/heads/master
c: 2e9f7a7
h: refs/heads/master
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Sep 15, 2010
1 parent f8c843a commit 1642b4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc6d074457f1551f9357f773a4eda09a3d5ef150
refs/heads/master: 2e9f7a7408d264f01d4477c564ef5c6b610cd10f
6 changes: 1 addition & 5 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -13431,10 +13431,6 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
if (err)
return err;

if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 &&
tp->pci_chip_rev_id != CHIPREV_ID_5717_A0)
return -ENOTSUPP;

/* Initialize data/descriptor byte/word swapping. */
val = tr32(GRC_MODE);
val &= GRC_MODE_HOST_STACKUP;
Expand Down Expand Up @@ -14463,7 +14459,7 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
}

if ((tp->tg3_flags3 & TG3_FLG3_5755_PLUS) &&
tp->pci_chip_rev_id != CHIPREV_ID_5717_A0 &&
GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5717 &&
GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5719)
dev->netdev_ops = &tg3_netdev_ops;
else
Expand Down

0 comments on commit 1642b4c

Please sign in to comment.