and fix the PLL setting dumping code for extended PLL's. BIOS settings now make sense on extended PLL's. This fix does not change the drivers behaviour.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31362 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4bc3f15ce3
commit
dd92605394
@ -1,6 +1,6 @@
|
||||
/* program the DAC */
|
||||
/* Author:
|
||||
Rudolf Cornelissen 12/2003-6/2009
|
||||
Rudolf Cornelissen 12/2003-7/2009
|
||||
*/
|
||||
|
||||
#define MODULE_BIT 0x00010000
|
||||
@ -222,7 +222,7 @@ static void nv_dac_dump_pix_pll(void)
|
||||
|
||||
if (si->ps.ext_pll) {
|
||||
dividers2 = DACR(PIXPLLC2);
|
||||
if (dividers2 & 0x8000000) {
|
||||
if (dividers2 & 0x80000000) {
|
||||
/* the extended PLL part is enabled */
|
||||
m2 = (dividers2 & 0x000000ff);
|
||||
n2 = (dividers2 & 0x0000ff00) >> 8;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* program the secondary DAC */
|
||||
/* Author:
|
||||
Rudolf Cornelissen 12/2003-6/2009
|
||||
Rudolf Cornelissen 12/2003-7/2009
|
||||
*/
|
||||
|
||||
#define MODULE_BIT 0x00001000
|
||||
@ -225,7 +225,7 @@ static void nv_dac2_dump_pix_pll(void)
|
||||
|
||||
if (si->ps.ext_pll) {
|
||||
dividers2 = DAC2R(PIXPLLC2);
|
||||
if (dividers2 & 0x8000000) {
|
||||
if (dividers2 & 0x80000000) {
|
||||
/* the extended PLL part is enabled */
|
||||
m2 = (dividers2 & 0x000000ff);
|
||||
n2 = (dividers2 & 0x0000ff00) >> 8;
|
||||
|
Loading…
Reference in New Issue
Block a user