diff options
author | Stuart Bennett <sb476@cam.ac.uk> | 2008-01-30 14:38:59 +0000 |
---|---|---|
committer | Stuart Bennett <sb476@cam.ac.uk> | 2008-03-14 23:53:27 +0000 |
commit | 97b074889feef7b4a3b6401825a46d53321d1c7e (patch) | |
tree | 11f6fc48bd009e3fab0b8de86a5199761e5f03c1 /src/nv30_exa.c | |
parent | ee11c6abe875a758bdfa4469ae6326ac25732178 (diff) | |
download | xorg-driver-xf86-video-nouveau-97b074889feef7b4a3b6401825a46d53321d1c7e.tar.gz |
Use PMC defines
Diffstat (limited to 'src/nv30_exa.c')
-rw-r--r-- | src/nv30_exa.c | 2 |
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; |