summaryrefslogtreecommitdiff
path: root/src/atividmem.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2006-11-20 15:09:41 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-01-28 01:24:21 +0200
commitc9a9ea5ebd1c27881c1fac19842cfa3af55c126e (patch)
tree932242627308bbefcf8ee59cde16a512eecd5f97 /src/atividmem.c
parent383e963e275d351ea3631c352f5795340162d69f (diff)
Banked memory is no longer needed.
- (pATI->BankInfo.BankSize = 0) in all cases, cull pATI->BankInfo - only keep the minimal pATIHW.SetBank interface for save/restore - clean ATISwap() a little, (NewHW.crtc != ATI_CRTC_VGA) - (UseSmallApertures == TRUE) <=> pATI->VGAAdapter
Diffstat (limited to 'src/atividmem.c')
-rw-r--r--src/atividmem.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/atividmem.c b/src/atividmem.c
index 89e164d..99560f5 100644
--- a/src/atividmem.c
+++ b/src/atividmem.c
@@ -86,7 +86,7 @@ ATIUnmapVGA
xf86UnMapVidMem(iScreen, pATI->pBank, 0x00010000U);
- pATI->pBank = pATI->BankInfo.pBankA = pATI->BankInfo.pBankB = NULL;
+ pATI->pBank = NULL;
}
#endif /* AVOID_CPIO */
@@ -193,9 +193,6 @@ ATIMapApertures
if (!pATI->pBank)
return FALSE;
- pATI->BankInfo.pBankA =
- pATI->BankInfo.pBankB = pATI->pBank;
-
pATI->Mapped = TRUE;
}