summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-04-15 10:16:22 +0000
committerEgbert Eich <eich@suse.de>2004-04-15 10:16:22 +0000
commit9efb72209c8c9e0b7d6fafbc0650cd48c3aa5b25 (patch)
tree9b74e1bc450726c2cb7c2abadec6d2662b7f406c /src/i830_driver.c
parent6f82d06eea99eb607020076d0923994d76a56113 (diff)
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c3
1 files changed, 2 insertions, 1 deletions
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;