diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-02-17 10:16:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 20:27:37 -0500 |
commit | b474eca74cf647df0a7fd56bc975ee4a812741b7 (patch) | |
tree | a3fc31f51f93fd051afd1e1ac10800ddd0944364 /drivers | |
parent | 2712168f856e8cd42265e7ef855d64702da20089 (diff) |
tg3: Add more partno entries for fallback path
This patch adds 57765 asic partno entries for the path executed if VPD
is not present in NVRAM.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/tg3.c | 18 |
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 | } |