diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-07-20 10:20:53 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-21 19:36:15 (GMT) |
commit | 5baa5e9aa28baccd2a1227095c25bb3e999f250d (patch) | |
tree | a44ab8e08873c45cec1f53d7e2121afc37b1099b | |
parent | b715ce947f51c6637e78b262501f0c4ff9d848cc (diff) | |
download | linux-fsl-qoriq-5baa5e9aa28baccd2a1227095c25bb3e999f250d.tar.xz |
tg3: Add 5719 and 5720 to EEE_CAP list
This patch adds the 5719 and the 5720 to the list of devices that are
EEE capable.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/tg3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index e0413bc..5110ea0 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -13142,7 +13142,9 @@ static int __devinit tg3_phy_probe(struct tg3 *tp) } if (!(tp->phy_flags & TG3_PHYFLG_ANY_SERDES) && - ((tp->pdev->device == TG3PCI_DEVICE_TIGON3_5718 && + (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719 || + GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5720 || + (tp->pdev->device == TG3PCI_DEVICE_TIGON3_5718 && tp->pci_chip_rev_id != CHIPREV_ID_5717_A0) || (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 && tp->pci_chip_rev_id != CHIPREV_ID_57765_A0))) |