Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27454
b: refs/heads/master
c: 6ccf58a
h: refs/heads/master
v: v3
  • Loading branch information
Dave Jones committed Jun 5, 2006
1 parent 1d9e193 commit 62f89b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 436fe7b8b4a5016ef1fcb32bff77bde84003e15d
refs/heads/master: 6ccf58ab22499139bacc683493c9fd70af55adbb
4 changes: 2 additions & 2 deletions trunk/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) 2004 Sebastian Witt <se.witt@gmx.net>
* (C) 2004-2006 Sebastian Witt <se.witt@gmx.net>
*
* Licensed under the terms of the GNU GPL License version 2.
* Based upon reverse engineered information
Expand Down Expand Up @@ -90,7 +90,7 @@ static int nforce2_calc_pll(unsigned int fsb)

/* Try to calculate multiplier and divider up to 4 times */
while (((mul == 0) || (div == 0)) && (tried <= 3)) {
for (xdiv = 1; xdiv <= 0x80; xdiv++)
for (xdiv = 2; xdiv <= 0x80; xdiv++)
for (xmul = 1; xmul <= 0xfe; xmul++)
if (nforce2_calc_fsb(NFORCE2_PLL(xmul, xdiv)) ==
fsb + tried) {
Expand Down

0 comments on commit 62f89b4

Please sign in to comment.