summaryrefslogtreecommitdiff
path: root/src/nv30_exa.c
diff options
context:
space:
mode:
authorStuart Bennett <sb476@cam.ac.uk>2008-01-30 14:38:59 +0000
committerStuart Bennett <sb476@cam.ac.uk>2008-03-14 23:53:27 +0000
commit97b074889feef7b4a3b6401825a46d53321d1c7e (patch)
tree11f6fc48bd009e3fab0b8de86a5199761e5f03c1 /src/nv30_exa.c
parentee11c6abe875a758bdfa4469ae6326ac25732178 (diff)
downloadxorg-driver-xf86-video-nouveau-97b074889feef7b4a3b6401825a46d53321d1c7e.tar.gz
Use PMC defines
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r--src/nv30_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv30_exa.c b/src/nv30_exa.c
index 21b656d..98b4813 100644
--- a/src/nv30_exa.c
+++ b/src/nv30_exa.c
@@ -612,7 +612,7 @@ NVAccelInitNV30TCL(ScrnInfoPtr pScrn)
#define NV35TCL_CHIPSET_3X_MASK 0x000001e0
#define NV34TCL_CHIPSET_3X_MASK 0x00000010
- chipset = (nvReadMC(pNv, 0) >> 20) & 0xff;
+ chipset = (nvReadMC(pNv, NV_PMC_BOOT_0) >> 20) & 0xff;
if ((chipset & 0xf0) != NV_ARCH_30)
return TRUE;
chipset &= 0xf;