aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/pm2fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/pm2fb.c b/drivers/video/pm2fb.c
index 33f17a96a569..539541946b25 100644
--- a/drivers/video/pm2fb.c
+++ b/drivers/video/pm2fb.c
@@ -1141,10 +1141,10 @@ static int __devinit pm2fb_probe(struct pci_dev *pdev,
1141 default_par->mem_control, default_par->boot_address, 1141 default_par->mem_control, default_par->boot_address,
1142 default_par->mem_config); 1142 default_par->mem_config);
1143 1143
1144 default_par->memclock = CVPPC_MEMCLOCK;
1145 if(default_par->mem_control == 0 && 1144 if(default_par->mem_control == 0 &&
1146 default_par->boot_address == 0x31 && 1145 default_par->boot_address == 0x31 &&
1147 default_par->mem_config == 0x259fffff) { 1146 default_par->mem_config == 0x259fffff) {
1147 default_par->memclock = CVPPC_MEMCLOCK;
1148 default_par->mem_control=0; 1148 default_par->mem_control=0;
1149 default_par->boot_address=0x20; 1149 default_par->boot_address=0x20;
1150 default_par->mem_config=0xe6002021; 1150 default_par->mem_config=0xe6002021;
@@ -1164,7 +1164,7 @@ static int __devinit pm2fb_probe(struct pci_dev *pdev,
1164 DPRINTK("We have not been initialized by VGA BIOS " 1164 DPRINTK("We have not been initialized by VGA BIOS "
1165 "and are running on an 3dlabs reference board\n"); 1165 "and are running on an 3dlabs reference board\n");
1166 DPRINTK("Initializing card timings manually...\n"); 1166 DPRINTK("Initializing card timings manually...\n");
1167 default_par->memclock=70000; 1167 default_par->memclock=74894;
1168 } 1168 }
1169 } 1169 }
1170 1170