Fix server regeneration problem mapping the aperture

This commit is contained in:
Alan Hourihane 2006-10-06 13:35:39 +01:00
parent 07cdc60be8
commit c7a23908a0
1 changed files with 1 additions and 2 deletions

View File

@ -1186,14 +1186,13 @@ I810MapMem(ScrnInfoPtr pScrn)
long i;
for (i = 2; i < pI810->FbMapSize; i <<= 1) ;
pI810->FbMapSize = i;
if (!I810MapMMIO(pScrn))
return FALSE;
pI810->FbBase = xf86MapPciMem(pScrn->scrnIndex, VIDMEM_FRAMEBUFFER,
pI810->PciTag,
pI810->LinearAddr, pI810->FbMapSize);
pI810->LinearAddr, i);
if (!pI810->FbBase)
return FALSE;