: 5906 doesn't need to switch to slower clock.
Subsystems (2)
PATCH 4/8 : 5906 doesn't need to switch to slower clock.
[TG3]: 5906 doesn't need to switch to slower clock.
Signed-off-by Michael Chan <[email protected]>
drivers/net/tg3.c +2 -1
@@ -1340,7 +1340,8 @@ static int tg3_set_power_state(struct tgtw32_wait_f (TG3PCI_CLOCK_CTRL , base_val |CLOCK_CTRL_ALTCLK |CLOCK_CTRL_PWRDOWN_PLL133 ,40 ); - }else if (tp->tg3_flags2 &TG3_FLG2_5780_CLASS ) { + }else if ((tp->tg3_flags2 &TG3_FLG2_5780_CLASS ) || + (GET_ASIC_REV (tp->pci_chip_rev_id) ==ASIC_REV_5906 )) {/* do nothing */ }else if (!((tp->tg3_flags2 &TG3_FLG2_5750_PLUS ) && (tp->tg3_flags &TG3_FLAG_ENABLE_ASF ))) {
From: "Michael Chan" <[email protected]>
Date: Tue, 13 Feb 2007 12:14:20 -0800
Quoted 3 lines
[TG3]: 5906 doesn't need to switch to slower clock.
Signed-off-by Michael Chan <[email protected]>
Applied.