Commit 9c4495e3 authored by David S. Miller's avatar David S. Miller

[TG3]: Just completely delete the disabled FTQ reset code.

parent 4712542b
......@@ -4661,22 +4661,6 @@ static int tg3_reset_hw(struct tg3 *tp)
return -ENODEV;
}
#if 0 /* Remove FTQ reset because it is redundant and can cause */
/* race condition with ASF */
tw32(FTQ_RESET, 0xffffffff);
tw32(FTQ_RESET, 0x00000000);
for (i = 0; i < 2000; i++) {
if (tr32(FTQ_RESET) == 0x00000000)
break;
udelay(10);
}
if (i >= 2000) {
printk(KERN_ERR PFX "tg3_reset_hw cannot reset FTQ for %s.\n",
tp->dev->name);
return -ENODEV;
}
#endif
/* Clear statistics/status block in chip, and status block in ram. */
if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5705) {
for (i = NIC_SRAM_STATS_BLK;
......
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