summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/i810_driver.c2
-rw-r--r--src/i830_driver.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c
index 73ddd1b3..0d07f296 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -347,7 +347,7 @@ static XF86ModuleVersionInfo i810VersRec = {
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
- XF86_VERSION_CURRENT,
+ XORG_VERSION_CURRENT,
I810_MAJOR_VERSION, I810_MINOR_VERSION, I810_PATCHLEVEL,
ABI_CLASS_VIDEODRV,
ABI_VIDEODRV_VERSION,
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 3552fbc3..a96ada52 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1095,7 +1095,8 @@ TweakMemorySize(ScrnInfoPtr pScrn, CARD32 newsize, Bool preinit)
int reg = IS_845G(pI830) ? _845_DRAM_RW_CONTROL : _855_DRAM_RW_CONTROL;
if(!pI830->PciInfo
- || !(pI830->PciInfo->chipType == PCI_CHIP_I855_GM
+ || !(pI830->PciInfo->chipType == PCI_CHIP_845_G
+ || pI830->PciInfo->chipType == PCI_CHIP_I855_GM
|| pI830->PciInfo->chipType == PCI_CHIP_I865_G))
return 0;