Message-Id: In-Reply-To: References: <20000321112355.A5368@rogue.genunix.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 21 Mar 2000 15:06:39 -0500 To: Kostas Gewrgiou , anthony tong From: "Kevin B. Hendricks" Subject: Re: Patches to fix aty128fb and xf400 r128 to work with both Rage128 and Rage128Pros Cc: Benjamin Herrenschmidt , linuxppc-dev@lists.linuxppc.org Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: Hi, Whoops I am off by a factor of 10 in conmstraints 2 and 3 below >REF >= 625 * M / min(Nx,Nm) (from 125MHZ <= PLLCLK <= 250MHZ Should be REF >= 6250 * M / min(Nx,Nm) >REF <= 1250 * M / max(Nx,Nm) (ditto) Should be REF <= 12500 * M / max(Nx,Nm). Using the values from my Rage128Pro X_MPLL_REF_FB_DIV = 0xe88a3a so Nm = 0xe8 = 232 Nx = 0x8a = 138 M = 0x3a = 58 So REF >= (40 * 58) = 2320 (so this rules out the 14.32 MHZ version) REF >= 6250 * 58 / min(232,138) = 2626 REF <= 12500 * 58 / max(232,138) = 3125 So unfortunately, we still need another constraint to select between the 29.50 MHZ REF value and the 28.63 MHZ REF value. They may be so close that we won't be able to ever tell them apart. I will keep looking. Kevin ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/