* [TG3 4/8]: 5906 doesn't need to switch to slower clock.
@ 2007-02-13 20:14 Michael Chan
2007-02-13 20:19 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Michael Chan @ 2007-02-13 20:14 UTC (permalink / raw)
To: davem, netdev
[TG3]: 5906 doesn't need to switch to slower clock.
Signed-off-by: Michael Chan <mchan@broadcom.com>
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index fc94b19..b6615f1 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -1340,7 +1340,8 @@ static int tg3_set_power_state(struct tg
tw32_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))) {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [TG3 4/8]: 5906 doesn't need to switch to slower clock.
2007-02-13 20:14 [TG3 4/8]: 5906 doesn't need to switch to slower clock Michael Chan
@ 2007-02-13 20:19 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-02-13 20:19 UTC (permalink / raw)
To: mchan; +Cc: netdev
From: "Michael Chan" <mchan@broadcom.com>
Date: Tue, 13 Feb 2007 12:14:20 -0800
> [TG3]: 5906 doesn't need to switch to slower clock.
>
> Signed-off-by: Michael Chan <mchan@broadcom.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-13 20:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-13 20:14 [TG3 4/8]: 5906 doesn't need to switch to slower clock Michael Chan
2007-02-13 20:19 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).