diff options
author | Michal Ostrowski <mostrows@watson.ibm.com> | 2005-12-08 00:56:17 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-12-08 23:42:17 -0500 |
commit | 326743ead7d0c08e0da715832386660ff3823170 (patch) | |
tree | 3733704d8dc8d458cd8a208b05be8b57372b4b50 | |
parent | 6184b723876cd1a374e2d1094b3c73765d4c31c1 (diff) |
[PATCH] Fix windfarm model-id table
model_id fields of wf_smu_sys_all_params should match the model ID
they are supposed to represent (as commented). Fixes windfarm on some
iMac 8,1 models.
Signed-off-by: Michal Ostrowski <mostrows at watson ibm com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | drivers/macintosh/windfarm_pm81.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/windfarm_pm81.c b/drivers/macintosh/windfarm_pm81.c index 322c74b2687f..80ddf9776bde 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_smu_sys_all_params[] = { | |||
207 | }, | 207 | }, |
208 | /* Model ID 3 */ | 208 | /* Model ID 3 */ |
209 | { | 209 | { |
210 | .model_id = 2, | 210 | .model_id = 3, |
211 | .itarget = 0x350000, | 211 | .itarget = 0x350000, |
212 | .gd = 0x08e00000, | 212 | .gd = 0x08e00000, |
213 | .gp = 0x00566666, | 213 | .gp = 0x00566666, |
@@ -219,7 +219,7 @@ static struct wf_smu_sys_fans_param wf_smu_sys_all_params[] = { | |||
219 | }, | 219 | }, |
220 | /* Model ID 5 */ | 220 | /* Model ID 5 */ |
221 | { | 221 | { |
222 | .model_id = 2, | 222 | .model_id = 5, |
223 | .itarget = 0x3a0000, | 223 | .itarget = 0x3a0000, |
224 | .gd = 0x15400000, | 224 | .gd = 0x15400000, |
225 | .gp = 0x00233333, | 225 | .gp = 0x00233333, |