Commit 312c45d9 authored by David S. Miller's avatar David S. Miller

[TG3]: Do not set CLOCK_CTRL_DELAY_PCI_GRANT on PCI Express.

parent 6764aac9
......@@ -4635,9 +4635,11 @@ static int tg3_reset_hw(struct tg3 *tp)
/* This works around an issue with Athlon chipsets on
* B3 tigon3 silicon. This bit has no effect on any
* other revision.
* other revision. But do not set this on PCI Express
* chips.
*/
tp->pci_clock_ctrl |= CLOCK_CTRL_DELAY_PCI_GRANT;
if (!(tp->tg3_flags2 & TG3_FLG2_PCI_EXPRESS))
tp->pci_clock_ctrl |= CLOCK_CTRL_DELAY_PCI_GRANT;
tw32_f(TG3PCI_CLOCK_CTRL, tp->pci_clock_ctrl);
if (tp->pci_chip_rev_id == CHIPREV_ID_5704_A0 &&
......
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