summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-05-17 14:46:37 +1000
committerDave Airlie <airlied@linux.ie>2006-05-17 14:46:37 +1000
commitf97895efd5532cca145b6f224f9615739b1e8f26 (patch)
treebeee4bdbf6da43fcb68f86752c624420f62692e5
parentf2967a2f5f47b636b2445fa69dbc3ec79e065c90 (diff)
fixup chipid override
This makes the ChipID override work so that we actually override the pci id that gets used everywhere in the driver.
-rw-r--r--src/i830_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 053ccd1d..5462d6cf 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2293,6 +2293,7 @@ I830BIOSPreInit(ScrnInfoPtr pScrn, int flags)
from = X_CONFIG;
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "ChipID override: 0x%04X\n",
pI830->pEnt->device->chipID);
+ pI830->PciInfo->chipType = pI830->pEnt->device->chipID;
} else {
from = X_PROBED;
pScrn->chipset = (char *)xf86TokenToString(I830BIOSChipsets,