aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/tg3.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 11ee44bfa2f3..c9974a7697c9 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -12659,8 +12659,24 @@ out_not_found:
12659 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57780 && 12659 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57780 &&
12660 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57788) 12660 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57788)
12661 strcpy(tp->board_part_number, "BCM57788"); 12661 strcpy(tp->board_part_number, "BCM57788");
12662 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765) 12662 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 &&
12663 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57761)
12664 strcpy(tp->board_part_number, "BCM57761");
12665 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 &&
12666 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57765)
12663 strcpy(tp->board_part_number, "BCM57765"); 12667 strcpy(tp->board_part_number, "BCM57765");
12668 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 &&
12669 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57781)
12670 strcpy(tp->board_part_number, "BCM57781");
12671 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 &&
12672 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57785)
12673 strcpy(tp->board_part_number, "BCM57785");
12674 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 &&
12675 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57791)
12676 strcpy(tp->board_part_number, "BCM57791");
12677 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 &&
12678 tp->pdev->device == TG3PCI_DEVICE_TIGON3_57795)
12679 strcpy(tp->board_part_number, "BCM57795");
12664 else 12680 else
12665 strcpy(tp->board_part_number, "none"); 12681 strcpy(tp->board_part_number, "none");
12666} 12682}