summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz <qboosh@pld-linux.org>2008-10-17 17:25:39 -0400
committerAdam Jackson <ajax@redhat.com>2008-10-17 17:25:39 -0400
commit6379b129119ed77b9a45cb0207dedd68c32f73a1 (patch)
tree10bc45419d14d6d9b5a046f794feadfa64fbd0e1
parentfe77fea533068f5698cf4d8e9bc076a6e06d2cd2 (diff)
Bug #17557: Fix device initialization.
-rw-r--r--src/tdfx_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tdfx_driver.c b/src/tdfx_driver.c
index 83f147a..ee4b919 100644
--- a/src/tdfx_driver.c
+++ b/src/tdfx_driver.c
@@ -956,6 +956,7 @@ TDFXPreInit(ScrnInfoPtr pScrn, int flags)
#ifdef XSERVER_LIBPCIACCESS
match = pTDFX->PciInfo[0];
+ pTDFX->ChipType = DEVICE_ID(match);
#else
match=pTDFX->PciInfo=xf86GetPciInfoForEntity(pTDFX->pEnt->index);
TDFXFindChips(pScrn, match);