Commit 4948bc70 authored by David S. Miller's avatar David S. Miller

[TG3]: If asked to load TSO firmware on 5750, just return success.

The 5750 does TSO in hardware, not via firmware code.
parent b0386328
...@@ -4471,6 +4471,9 @@ static int tg3_load_tso_firmware(struct tg3 *tp) ...@@ -4471,6 +4471,9 @@ static int tg3_load_tso_firmware(struct tg3 *tp)
unsigned long cpu_base, cpu_scratch_base, cpu_scratch_size; unsigned long cpu_base, cpu_scratch_base, cpu_scratch_size;
int err, i; int err, i;
if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5750)
return 0;
if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5705) { if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5705) {
info.text_base = TG3_TSO5_FW_TEXT_ADDR; info.text_base = TG3_TSO5_FW_TEXT_ADDR;
info.text_len = TG3_TSO5_FW_TEXT_LEN; info.text_len = TG3_TSO5_FW_TEXT_LEN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment