[PATCH] Fix windfarm model-id table.

Michal Ostrowski mostrows at watson.ibm.com
Thu Dec 8 10:14:43 EST 2005


.model_id fields of wf_smu_sys_all_params should match the model ID
they are supposed to represent (as commented).

Fixes windfarm on iMac 8,1.

Signed-off-by: Michal Ostrowski <mostrows at watson ibm com>

---

 drivers/macintosh/windfarm_pm81.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

645a833c9e40e76b56052af16c7ba96259a68163
diff --git a/drivers/macintosh/windfarm_pm81.c
b/drivers/macintosh/windfarm_pm81.c
index 322c74b..80ddf97 100644
--- a/drivers/macintosh/windfarm_pm81.c
+++ b/drivers/macintosh/windfarm_pm81.c
@@ -207,7 +207,7 @@ static struct wf_smu_sys_fans_param wf_s
 	},
 	/* Model ID 3 */
 	{
-		.model_id	= 2,
+		.model_id	= 3,
 		.itarget	= 0x350000,
 		.gd		= 0x08e00000,
 		.gp		= 0x00566666,
@@ -219,7 +219,7 @@ static struct wf_smu_sys_fans_param wf_s
 	},
 	/* Model ID 5 */
 	{
-		.model_id	= 2,
+		.model_id	= 5,
 		.itarget	= 0x3a0000,
 		.gd		= 0x15400000,
 		.gp		= 0x00233333,
-- 
0.99.9.GIT





More information about the Linuxppc64-dev mailing list