* [PATCH 2.6.31] windfarm: add detection for second cpu pump
@ 2009-11-27 15:44 Bolko Maass
2009-11-27 21:36 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Bolko Maass @ 2009-11-27 15:44 UTC (permalink / raw)
To: linuxppc-dev
Windfarm SMU control is explicitly missing support for a second CPU pump in G5 PowerMacs. Such machines actually exist (specifically Quads with a second pump), so this patch adds detection for it.
diff -uprN a/drivers/macintosh/windfarm_smu_controls.c b/drivers/macintosh/windfarm_smu_controls.c
--- a/drivers/macintosh/windfarm_smu_controls.c 2009-11-27 16:24:55.000000000 +0100
+++ b/drivers/macintosh/windfarm_smu_controls.c 2009-11-16 18:22:33.000000000 +0100
@@ -202,6 +202,8 @@ static struct smu_fan_control *smu_fan_c
fct->ctrl.name = "cpu-front-fan-1";
else if (!strcmp(l, "CPU A PUMP"))
fct->ctrl.name = "cpu-pump-0";
+ else if (!strcmp(l, "CPU B PUMP"))
+ fct->ctrl.name = "cpu-pump-1";
else if (!strcmp(l, "Slots Fan") || !strcmp(l, "Slots fan") ||
!strcmp(l, "EXPANSION SLOTS INTAKE"))
fct->ctrl.name = "slots-fan";
Signed-off by: Bolko Maass <bmaass@math.uni-bremen.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.6.31] windfarm: add detection for second cpu pump
2009-11-27 15:44 [PATCH 2.6.31] windfarm: add detection for second cpu pump Bolko Maass
@ 2009-11-27 21:36 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2009-11-27 21:36 UTC (permalink / raw)
To: bmaass; +Cc: linuxppc-dev
On Fri, 2009-11-27 at 16:44 +0100, Bolko Maass wrote:
> Windfarm SMU control is explicitly missing support for a second CPU pump in G5 PowerMacs.
> Such machines actually exist (specifically Quads with a second pump), so this patch adds detection for it.
>
Thanks.
BTW. The Signed-off-by: line normally goes -before- the patch :-) (And
after the description).
I'll get that upstream asap.
Cheers,
Ben.
>
> diff -uprN a/drivers/macintosh/windfarm_smu_controls.c b/drivers/macintosh/windfarm_smu_controls.c
> --- a/drivers/macintosh/windfarm_smu_controls.c 2009-11-27 16:24:55.000000000 +0100
> +++ b/drivers/macintosh/windfarm_smu_controls.c 2009-11-16 18:22:33.000000000 +0100
> @@ -202,6 +202,8 @@ static struct smu_fan_control *smu_fan_c
> fct->ctrl.name = "cpu-front-fan-1";
> else if (!strcmp(l, "CPU A PUMP"))
> fct->ctrl.name = "cpu-pump-0";
> + else if (!strcmp(l, "CPU B PUMP"))
> + fct->ctrl.name = "cpu-pump-1";
> else if (!strcmp(l, "Slots Fan") || !strcmp(l, "Slots fan") ||
> !strcmp(l, "EXPANSION SLOTS INTAKE"))
> fct->ctrl.name = "slots-fan";
>
>
>
> Signed-off by: Bolko Maass <bmaass@math.uni-bremen.de>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-27 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27 15:44 [PATCH 2.6.31] windfarm: add detection for second cpu pump Bolko Maass
2009-11-27 21:36 ` Benjamin Herrenschmidt
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).