mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
powerpc/windfarm: Add detection for second cpu pump
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. Signed-off by: Bolko Maass <bmaass@math.uni-bremen.de> CC: <stable@kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
9d2f7342d0
commit
529586dc39
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ static struct smu_fan_control *smu_fan_create(struct device_node *node,
|
||||||
fct->ctrl.name = "cpu-front-fan-1";
|
fct->ctrl.name = "cpu-front-fan-1";
|
||||||
else if (!strcmp(l, "CPU A PUMP"))
|
else if (!strcmp(l, "CPU A PUMP"))
|
||||||
fct->ctrl.name = "cpu-pump-0";
|
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") ||
|
else if (!strcmp(l, "Slots Fan") || !strcmp(l, "Slots fan") ||
|
||||||
!strcmp(l, "EXPANSION SLOTS INTAKE"))
|
!strcmp(l, "EXPANSION SLOTS INTAKE"))
|
||||||
fct->ctrl.name = "slots-fan";
|
fct->ctrl.name = "slots-fan";
|
||||||
|
|
Loading…
Reference in a new issue