public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: bmaass@math.uni-bremen.de
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 2.6.31] windfarm: add detection for second cpu pump
Date: Sat, 28 Nov 2009 08:36:21 +1100	[thread overview]
Message-ID: <1259357781.2076.8.camel@pasglop> (raw)
In-Reply-To: <20091127164433.0b5087de.krautilein@gmx.de>

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

      reply	other threads:[~2009-11-27 21:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1259357781.2076.8.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=bmaass@math.uni-bremen.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox