diff options
author | Pekka Paalanen <pq@iki.fi> | 2007-07-06 12:47:53 +0300 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2007-07-18 13:52:39 +0300 |
commit | 14ecf8d6c2ccecbe9841ad4a7eb3b301685f2351 (patch) | |
tree | 4031f34a5449722acf1d73f8104f8143b4c27b19 /shared-core/nouveau_reg.h | |
parent | 1ff858fe3a6b632c879a9f99a67227db7df70b62 (diff) |
nouveau: Replace 0x00400104 and 0x00400108 with names.
NV03_PGRAPH_NSTATUS and NV03_PGRAPH_NSOURCE.
The prefix NV03 is chosen because nv10reg.h had no versioned prefix,
and the code using these registers does not check card_type.
Diffstat (limited to 'shared-core/nouveau_reg.h')
-rw-r--r-- | shared-core/nouveau_reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/nouveau_reg.h b/shared-core/nouveau_reg.h index a66d2d34..bcdb1a9f 100644 --- a/shared-core/nouveau_reg.h +++ b/shared-core/nouveau_reg.h @@ -110,6 +110,8 @@ #define NV04_PGRAPH_DEBUG_3 0x0040008c #define NV10_PGRAPH_DEBUG_4 0x00400090 #define NV03_PGRAPH_INTR 0x00400100 +#define NV03_PGRAPH_NSTATUS 0x00400104 +#define NV03_PGRAPH_NSOURCE 0x00400108 #define NV03_PGRAPH_INTR_EN 0x00400140 #define NV40_PGRAPH_INTR_EN 0x0040013C # define NV_PGRAPH_INTR_NOTIFY (1<< 0) |