summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-07-30 20:38:27 +0000
committerEgbert Eich <eich@suse.de>2004-07-30 20:38:27 +0000
commite0e01b7d6188a83c7539256ac1710ace04ce132a (patch)
treeaf5962177fdcd4fb0ea49cba274c0a5aea3c6ae2
parent199620cdc924e6aa98683e305843ea91c7e1771d (diff)
add i845 to the list of chips that allow memory size tweaking.
-rw-r--r--src/i830_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index ba7b4347..c0fed71f 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1191,8 +1191,7 @@ TweakMemorySize(ScrnInfoPtr pScrn, CARD32 newsize, Bool preinit)
PCITAG tag =pciTag(0,0,0);
if(!pI830->PciInfo
- || !(pI830->PciInfo->chipType == PCI_CHIP_I855_GM
- || pI830->PciInfo->chipType == PCI_CHIP_I865_G))
+ || !(IS_845G(pI830) || IS_I85X(pI830) || IS_I865G(pI830)))
return 0;
if (!pI830->pVbe)