]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[tg3] Add support for BCM57766
authorBernd Wiebelt <bernd.wiebelt@rz.uni-freiburg.de>
Mon, 6 Jul 2015 13:27:48 +0000 (14:27 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 6 Jul 2015 13:27:48 +0000 (14:27 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/tg3/tg3.c
src/drivers/net/tg3/tg3.h
src/drivers/net/tg3/tg3_hw.c

index 32ca1609c127a2b4c076be1c64972d2c1d2f07bd..42bfa2d990cda22d6c681c606d56a96e171c3d50 100644 (file)
@@ -928,6 +928,7 @@ static struct pci_device_id tg3_nics[] = {
        PCI_ROM(0x14e4, 0x16b6, "14e4-16b6", "14e4-16b6", 0),
        PCI_ROM(0x14e4, 0x1657, "14e4-1657", "14e4-1657", 0),
        PCI_ROM(0x14e4, 0x165f, "14e4-165f", "14e4-165f", 0),
+       PCI_ROM(0x14e4, 0x1686, "14e4-1686", "14e4-1686", 0),
        PCI_ROM(0x1148, 0x4400, "1148-4400", "1148-4400", 0),
        PCI_ROM(0x1148, 0x4500, "1148-4500", "1148-4500", 0),
        PCI_ROM(0x173b, 0x03e8, "173b-03e8", "173b-03e8", 0),
index f5b32796386ff021594a88e2a4cc177dcd3d211c..2b85b065b1cee3b68179ff56eb25717e4da58b44 100644 (file)
 #define  TG3PCI_DEVICE_TIGON3_57761     0x16b0
 #define  TG3PCI_DEVICE_TIGON3_57762     0x1682
 #define  TG3PCI_DEVICE_TIGON3_57765     0x16b4
+#define  TG3PCI_DEVICE_TIGON3_57766     0x1686
 #define  TG3PCI_DEVICE_TIGON3_57791     0x16b2
 #define  TG3PCI_DEVICE_TIGON3_57795     0x16b6
 #define  TG3PCI_DEVICE_TIGON3_5719      0x1657
index 3a481aba3265cf7f983f6dca780e7d146a224d30..50353cf365e23a53027b65adb1e0145cd4892eeb 100644 (file)
@@ -436,6 +436,7 @@ int tg3_get_invariants(struct tg3 *tp)
                         tp->pdev->device == TG3PCI_DEVICE_TIGON3_57761 ||
                         tp->pdev->device == TG3PCI_DEVICE_TIGON3_57762 ||
                         tp->pdev->device == TG3PCI_DEVICE_TIGON3_57765 ||
+                        tp->pdev->device == TG3PCI_DEVICE_TIGON3_57766 ||
                         tp->pdev->device == TG3PCI_DEVICE_TIGON3_57791 ||
                         tp->pdev->device == TG3PCI_DEVICE_TIGON3_57795)
                        pci_read_config_dword(tp->pdev,