[MPlayer-cvslog] CVS: main/vidix/drivers mach64_vid.c,1.36,1.37

Sascha Sommer CVS syncmail at mplayerhq.hu
Thu Oct 20 20:03:45 CEST 2005


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var2/tmp/cvs-serv15810/vidix/drivers

Modified Files:
	mach64_vid.c 
Log Message:
mach64_mmio size fix from vidix.sf.net, possible bugfix for #59

Index: mach64_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/mach64_vid.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- mach64_vid.c	20 Oct 2005 17:56:28 -0000	1.36
+++ mach64_vid.c	20 Oct 2005 18:03:43 -0000	1.37
@@ -465,7 +465,7 @@
   }
   if(__verbose>0) printf("[mach64] version %s\n", VERSION);
   
-  if((mach64_mmio_base = map_phys_mem(pci_info.base2,0x4000))==(void *)-1) return ENOMEM;
+  if((mach64_mmio_base = map_phys_mem(pci_info.base2,0x1000))==(void *)-1) return ENOMEM;
   mach64_wait_for_idle();
   mach64_ram_size = INREG(MEM_CNTL) & CTL_MEM_SIZEB;
   if (mach64_ram_size < 8) mach64_ram_size = (mach64_ram_size + 1) * 512;
@@ -522,7 +522,7 @@
   OUTREG(OVERLAY_GRAPHICS_KEY_CLR,SAVED_OVERLAY_GRAPHICS_KEY_CLR);
   
   unmap_phys_mem(mach64_mem_base,mach64_ram_size);
-  unmap_phys_mem(mach64_mmio_base,0x4000);
+  unmap_phys_mem(mach64_mmio_base,0x1000);
 }
 
 int vixGetCapability(vidix_capability_t *to)




More information about the MPlayer-cvslog mailing list